This is a fast and light window manager, perfect for me.
You cannot edit the global configuration file, so I copied it to my /home.
Code: Select all
$ cp /etc/jwm/sytem.jwmrc .jwmrc
Code: Select all
$ nano .jwmrc
Code: Select all
<JWM><!-- The root menu, if this is undefined you will not get a menu.
--><!-- Additional RootMenu attributes: onroot, labeled, label
--><RootMenu height="15" onroot="12"><Program icon="terminal.png" label="Terminal">x-terminal-emulator</Program><Program icon="www.png" label="Firefox">firefox</Program><!-- #DEBIAN
<Program icon="firefox.png" label="Www Browser">gnome-www-browser</Program>
<Menu icon="folder.png" label="Applications">
<Program icon="editor.png" label="Dia">dia</Program>
<Program icon="www.png" label="Firefox">firefox</Program>
<Program icon="gimp.png" label="Gimp">gimp</Program>
<Program icon="mail.png" label="Mutt">
xterm -e mutt
</Program>
<Program icon="word-processor.png" label="Open Office">
ooffice
</Program>
<Program icon="chat.png" label="Pidgin">pidgin</Program>
<Program icon="music.png" label="Rhythmbox">rhythmbox</Program>
<Program icon="development.png" label="Xilinx ISE">
/usr/local/xilinx/bin/ise
</Program>
<Program icon="video.png" label="Xine">gxine</Program>
</Menu>
<Menu icon="folder.png" label="Utilities">
<Program icon="calculator.png" label="Calculator">xcalc</Program>
<Program icon="font.png" label="Fonts">xfontsel</Program>
<Program icon="viewer.png" label="Magnify">xmag</Program>
<Program icon="programs.png" label="Synaptic">
gksudo synaptic
</Program>
<Program icon="window.png" label="Window Properties">
xprop | xmessage -file -
</Program>
</Menu>
--><Include>/etc/jwm/debian-menu</Include><Separator/><Program icon="lock.png" label="Lock">
xscreensaver-command -activate
</Program><Separator/>
<Restart label="Restart" icon="restart.png"/>
<Exit label="Exit" confirm="true" icon="quit.png"/>
</RootMenu>
(there is a list of them at:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://joewing.net/projects/jwm/config.shtml#groups"
linktext was:"http://joewing.net/projects/jwm/config.shtml#groups"
====================================
I'm only interested in maximizing my windows:
Code: Select all
<Group>
<Class>Firefox</Class>
<Option>maximized</Option>
</Group>
<Group>
<Name>xfe</Name>
<Option>maximized</Option>
</Group>
<Group>
<Name>roxterm</Name>
<Option>maximized</Option>
</Group>
Code: Select all
<!-- Additional tray attributes: autohide, width, border, layer, layout -->
<Tray x="0" y="-1" height="20" autohide="false">
Code: Select all
<!-- Virtual Desktops -->
<!-- Desktop tags can be contained within Desktops for desktop names. -->
<Desktops width="2" height="1">
Some miscelaneous keybinds:
Code: Select all
<Key mask="A" key="Tab">next</Key>
<Key mask="" key="F4">close</Key>
<Key mask="" key="F12">maximize</Key>
<Key mask="C" key="Right">rdesktop</Key>
<Key mask="C" key="Left">ldesktop</Key>
C=Ctrl
4=Windows key, Super
alt-tab as always
F4 - closes apps
F12 maximizes window
Ctrl+right arrow moves to virtual desktop to the right.
Ctrl+left arrow to the left.
Main keybindings:
Code: Select all
<Key mask="" key="F1">exec:roxterm</Key>
<Key mask="" key="F2">exec:xfe</Key>
<Key mask="C" key="f">exec:firefox</Key>
<Key mask="" key="F7">exec:mirage</Key>
<Key mask="" key="F8">exec:xchat</Key>
<Key mask="" key="F9">exec:libreoffice</Key>
<Key mask="" key="F10">exec:jwm -restart</Key>
<Key mask="" key="Print">exec:roxterm -e scrot -cd 10</Key>
<Key mask="" key="Super_L">root:1</Key>
<Key mask="C" key="space">exec:gmrun</Key>
<Key mask="CA" key="Delete">exec:sudo reboot</Key>
<Key mask="CA" key="Pause">exec:sudo halt</Key>
From the top, F1 launches the terminal, F2 launches the file manager, Ctrl+f launches the browser, F7 for
image viewer, F9 launches libreoffice, F10 to restart jwm, F12 to maximize app.
Press Print to take snapshot, press left windows key to get the global menu, Ctrl+spacebar gives
you gmrun to launch anything, ctrl+alt+delete reboots and ctrl+alt+Pause halts
the machine.
For sound,
Code: Select all
#Volume
<Key mask="C" key="Down">>exec:amixer set Master 9%- </Key>
<Key mask="C" key="Up">exec:amixer set Master 9%+ </Key>
<Key mask="C" key="0">exec:amixer sset Master,0 toggle </Key>
ctrl+up arrow increases the volume
ctrl+0 (zero) mutes the sound, do it again and the sound returns.
Note: launch alsamixer and unmute with the letter M.
After doing the configuration, RESTART JWM from the Menu the first time,
after that you can restart with F10.
Happy trails,
I am happy with JWM, it saves me a lot of time.