• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

libami/H19-Jul-2010-2,9212,540

Amilogo.bmH A D12-Dec-199735.7 KiB479478

Amilogo.pmH A D12-Dec-1997113.9 KiB444443

BackgroundH A D09-Apr-2010127 75

INSTALLH A D17-Apr-20101.2 KiB4628

LICENSEH A D15-Mar-19981.8 KiB4531

Makefile.inH A D03-May-20226.7 KiB218167

READMEH A D19-Jul-20106 KiB175113

README.modulesH A D12-Dec-19972 KiB7651

Xinitrc.inH A D03-May-2022461 1912

Xresources.amiwm.inH A D12-Dec-1997471 1814

Xsession.inH A D03-May-2022397 2718

Xsession2.inH A D03-May-2022681 3523

alloc.hH A D12-Dec-199789 96

amiwm-initH A D12-Dec-199769 41

amiwm.1H A D19-Jul-20106 KiB177122

client.cH A D18-Jul-20108.7 KiB362321

client.hH A D13-Jul-20101.1 KiB4741

configureH A D13-Apr-2010179.5 KiB6,4275,325

configure.inH A D09-Apr-20103 KiB11697

diskobject.cH A D13-Jul-20104.6 KiB200178

executecmd.cH A D15-May-201014.6 KiB580545

frame.cH A D12-Jul-201019.3 KiB592557

gnome.cH A D09-Apr-20107 KiB18584

gram.yH A D13-Jul-20105.9 KiB206181

icc.cH A D09-Apr-20107 KiB287252

icc.hH A D15-Mar-1998629 2519

icon.cH A D13-Jul-201015.6 KiB638587

icon.hH A D13-Jul-2010919 4438

install-shH A D12-Dec-19974.7 KiB239152

joke_fs.cH A D13-Jul-20108.6 KiB391343

kbdlexer.lH A D15-Mar-19983.6 KiB146128

kbdmodule.yH A D15-Mar-19981.3 KiB7860

lex.lH A D09-Apr-20101.2 KiB7060

magicwb.mapH A D12-Dec-1997113 43

main.cH A D18-Jul-201041.5 KiB1,5831,476

menu.cH A D18-Jul-201026.2 KiB950904

module.cH A D13-Jul-201012.9 KiB574535

module.hH A D09-Apr-20101 KiB5953

ppmtoinfo.cH A D09-Apr-201013.1 KiB527471

prefs.hH A D17-Apr-2010686 3126

rc.cH A D13-Jul-20104.2 KiB192176

requestchoice.cH A D09-Apr-20108.5 KiB336308

schwartz.mapH A D12-Dec-1997215 65

scoptionsH A D12-Dec-1997204 1413

screen.cH A D13-Jul-20109.6 KiB387338

screen.hH A D13-Jul-2010750 3126

smakefileH A D12-Dec-1997866 4829

style.hH A D13-Jul-2010280 1712

system.amiwmrcH A D09-Jul-2010230 1110

system.mapH A D09-Apr-2010113 43

version.hH A D19-Jul-201026 21

README

1
2< amiwm >  by Marcus Comstedt (marcus@mc.pp.se)
3
4
50. Legal notices
6
7This program is distributed as FreeWare.  The copyright remains with
8the author.  See the file LICENSE for more information.
9
10Amiga and Workbench are registered trademarks of AMIGA International Inc.
11
121. Intro
13
14This is amiwm, an X window manager that tries to make your workstation
15look like an Amiga�.  "Why?" you ask.  Because I wanted it to.  So there!
16
172. Compiling etc.
18
19For instructions on building and installing, read the file INSTALL.
20
213. Configuration
22
23amiwm reads the file .amiwmrc in the directory pointed to by $HOME
24when starting.  If this file does not exist, it reads the file
25system.amiwmrc instead.
26
27The configuration file can contain any of the following statements:
28
29FastQuit {yes|no}
30
31Specifies whether amiwm should quit directly when the Quit menu item
32is selected, rather than popping up a requester.
33(on/off or true/false can be used instead of yes/no.)
34
35SizeBorder {right|bottom|both|none}
36
37Specifies which border should be enlarged when a sizegadget is present.
38
39ForceMove {manual|auto|always}
40
41Enables you to move windows outside the perimeter of the root window
42when pressing shift, when trying to drag at least 25% of the window
43ofscreen, or always, respectively.
44
45IconDir "path"
46
47Specifies a directory in which amiwm will look for icons.
48
49DefaultIcon "name"
50
51Gives the filename of the .info file to use as a default icon.
52It is relative to the IconDir.
53
54IconPalette {system|magicwb|schwartz|"filename"}
55
56Selects either the Workbench� default palette, or the MagicWorkbench
57standard palette for use with icons.  The third option is a 16 color
58palette used on the "Eric Schwartz Productions CD Archive".  Alternatively,
59the filename of a PPM file representing the palette to use can be used.
60
61ScreenFont "fontname"
62
63Selects a font to use for windowtitles etc.
64
65IconFont "fontname"
66
67Selects a font for icontitles.
68
69{detailpen|blockpen|textpen|shinepen|shadowpen|fillpen|filltextpen|
70	backgroundpen|highlighttextpen|bardetailpen|barblockpen|
71	bartrimpen} "colorname"
72
73Modifies the colour scheme for the window manager.
74
75CustomIconsOnly {yes|no}
76
77This prevent applications to display their own icons when in iconified state.
78Only icons defined in amiwmrc for each apps will be used.
79Because apps own icon are too different from one eachother.
80They comes in various sizes and themes. Some icons will be 32x32,
81while some other will be a 128x128 or even bigger .. By using this option,
82You have the possibility to decide which icon should be used for each app.
83If no custom icons are defined at all, the def_tool.info will be used for
84all iconified apps. Format is: style { class "myClass" icon "myIcon.info" }
85To find out a given program's class, use "xlsclients -l" to list all opened
86applications, and then use "xprop -id <0x0000000>" to list a
87given app's properties. Use either WM_CLASS or WM_ICON_NAME strings in amiwmrc.
88
89ShortLabelIcons {yes|no}
90
91This limit the length of the text for iconified programs. For example, if this
92option is activated, an iconified program text will be limited to 8 chars + ".."
93Use this option if you don't want iconified program text to be loong strings..
94
95TitleBarClock {yes|no}
96
97Enables a clock in the titlebar.  It displays the date and time.
98
99TitleClockFormat [<number>] "time string"
100
101This lets you choose a new format to display the Title Bar Clock.
102The time string is formatted with the standard strftime() parameters.
103The default is "%c".  It has been found that "%a %b %e %Y   %l:%M %p" works
104well too.  Number is the update interval in seconds.
105
106ToolItem "name" "command" ["hotkey"]
107
108Adds an item in the Tools menu with the specified name, which executes
109the command when selected.  A string containing a single uppercase letter
110may be specified as the third argument, making this letter a hotkey for the
111item.
112
113ToolItem Separator
114
115Inserts a separator bar in the Tools menu.
116
117ToolItem "name" { <tool item commands> }
118
119Create ToolItem:s in a submenu with the specified name.  It is not legal
120to create a submenu inside another submenu.
121
122Screen [<number>] "name"
123
124Create a new screen with the specified name.  It will be placed below all
125earlier created screens.  To move a window between two screens, iconify it
126and drag the icon over to the other screen.  If the second argument is given,
127this screen is placed on the corresponding X screen.
128
129ModulePath "path(:path...)"
130
131Sets one or more directories where amiwm will look for module binaries.
132The default is AMIWM_HOME.  Note that the module binaries cannot be
133shared amongst different architectures.
134
135Module "name" ["initstring"]
136
137Start a module with the specified name.  If initstring is specified, it
138is sent to the module.  There are currently two modules shipped with
139amiwm; Background and Keyboard.  These are documented in the file
140README.modules.  If a module is limited to a single screen, like the
141Background module, the screen that was created last is used.
142
143InterScreenGap number
144
145Sets the size in number of pixels of the "video DMA off" area that appears
146between screens when they are dragged.
147
148AutoRaise {yes|no}
149
150Selects wheteher windows will automatically be moved to the front when
151they are activated.
152
153Focus {followmouse|sloppy|clicktotype}
154
155Sets the policy by which windows are given focus.  Followmouse is the
156default and means that the window that contains the mouse pointer will
157have focus.  Sloppy means that the window that had focus last will keep
158it when the pointer is not over a window.  ClickToType is the original AmigaOS
159policy in which you have to explicitly give focus to windows by clicking
160in them.
161
162
1634. Troubleshooting
164
165The most likely reason for the windowmanager to crash is if it
166can't find its default icon, or if this is not accepted as an
167.info file.  If this happens, amiwm _will_ dump core.  So make
168sure that either 'make install' runs successfully (in which case
169amiwm will know where its icon is), or that the file .amiwmrc
170contains a correct specification of the icon's location.
171
172Don't mail me bug reports just because amiwm prints "Bad Window" on
173stderr once in a while.  Redirect it to /dev/null or live with it.  :)
174
175

README.modules

1
2Background module
3-----------------
4
5To get background images on your screens, use the Background module.
6The Module command should come after the Screen command, and the
7initstring should be the filename of the picture(*).  Example:
8
9Screen "My Screen"
10Module "Background" "/users/marcus/gfx/AMIGA.gif"
11
12The Background module is really a shell script that requires that the
13program 'xloadimage' is in the PATH of amiwm.
14
15(*) Because xloadimage is used, the initstring may also contain flags to
16    xloadimage, like -fullscreen, or -colors.  Like this:
17    Module "Background" "-colors 100 -fullscreen /users/marcus/gfx/Amy.gif"
18
19
20
21Keyboard module
22---------------
23
24With the Keyboard module, you can bind window manager functions to keys
25on the keyboard.  The initstring should consist of keybindings on the
26form
27
28modifiers<keysym>:where:func
29
30modifiers
31=========
32
33Modifiers is 0 or more of:
34  Shift Control Meta Lock
35  Mod1 Mod2 Mod3 Mod4 Mod5
36  Button1 Button2 Button3 Button4 Button5
37
38The modifiers listed must be pressed together with the key to activate
39the binding.
40
41keysym
42======
43
44Keysym is a standard X keysym name, like F1 or Prior.
45
46where
47=====
48
49where is either "all", or one or more of window, frame, icon, root
50separated with '|' (bar).  This controls in what areas of the screen
51that the key will be active.
52
53func
54====
55
56The function to perform when the key is pressed.
57Currently the following are defined:
58
59rotatescreens  -  Move the frontmost screen to the back
60front          -  Move the window in which the key is pressed to the front
61back           -  Move the window in which the key is pressed to the back
62iconify        - Iconify the window in which the key is pressed
63
64
65Example:
66
67Module "Keyboard" "\
68	Meta<F1>:window|frame:front\
69	Meta<F2>:window|frame:iconify\
70	Meta<F3>:window|frame:back"
71
72This binds the keys Meta-F1, Meta-F2 and Meta-F3 to front, back and
73iconify respectively.  The will only have effect inside windows and in
74window frames.  (These are the only places that front/iconfy/back has
75effect anyway.)
76