View Full Version : [all variants] [SOLVED] How can I switch to jwm as window manager+desktop environment?
September 14th, 2008, 04:41 PM
I tested puppy linux recently and was amazed by how light it was, while remaining very user-friendly.
However, I don't want to switch distros completely.
So I'm trying to run jwm with Ubuntu.
I installed openbox and jwm and can now select openbox as session at login time and then launch jwm (and ratpoison which I'm using right now. Horrible. ^^) by doing right-click->Desktop->Window managers->jwm.
But how can I add "jwm" to the session options at login?
I already tried "sudo dpkg-reconfigure gdm", but I still only get the choice between gdm and kdm.
edit: I think I found something:
September 14th, 2008, 07:31 PM
You'll have to create a new session. As root, create a new text file in /usr/share/xsessions:
sudo text_editor_of your_choice /usr/share/xsessions/jwm.desktop
Add the following to it:
Comment=Log in using Jwm
Make sure the Exec line points to the correct location. Jwm is most likely either installed in /usr/bin/ or in /usr/local/bin. To find out type "whereis jwm" in a terminal and adjust the above line appropriately.
Save the file, and make it executable:
sudo chmod +x /usr/share/xsessions/jwm.desktop
Logout and log back in, and when GDM appears you should see the JWM session. If it doesn't try and restart X (press Ctrl+Alt+Backspace).
September 14th, 2008, 10:01 PM
Thanks, it's working.
The "chmod +x" isn't even necessary.
All I had to do was add the .desktop entry in /usr/share/xsessions.
Actually, I went a little crazy today and installed a whole bunch of window managers:
aewm++.desktop Fvwm.desktop openbox-kde.desktop
blackbox.desktop gnome.desktop pekwm.desktop
e-gnome.desktop IceWM.desktop ratpoison.desktop
e-kde.desktop jwm.desktop ssh.desktop
enlightenment.desktop kde.desktop twm.desktop
fluxbox.desktop openbox.desktop xfce4.desktop
I'm not sure which one I'll keep by default yet.
JWM and the *box ones are really light on the RAM, but I miss the easy shortcut creation from Gnome.
How can I get JWM easily configured like in puppy linux with desktop icons?
When not using Gnome or KDE, my wifi doesn't work. I solved this by simply running "nm-applet" from command-line. ;)
September 14th, 2008, 10:07 PM
For having a desktop like the traditional sense where you can place things such as shortcuts on it you can try installing idesk
September 16th, 2008, 08:41 AM
Thanks for the tip about idesk. However, it doesn't seem to be straightforward to use since it requires writing .lnk files to get more icons. I was looking more for something where I can just click around to get a new launcher.
But it might still come in handy some day. :roll:
I still haven't chosen a new default WM, but I'm marking the thread as solved since I'm now able to add any kind of WM session I want. :)
In the meanwhile, I started hunting down RAM eaters a bit more with a self-made script (top and system monitor are a bit too dynamic for me).
Just in case somebody else might find this useful:
echo "size in kB,%mem,pid,user"
if [ $# -eq 0 ]
ps -eo rss,%mem,pid,user -o comm= | sort -k1 -n -r
for prog in $@;
ps -eo rss,%mem,pid,user -o comm= | grep $prog
RAMuse.sh : list all processes by RAM use
RAMuse.sh prog1 prog2 ... : list RAM use of prog1,prog2...
Perhaps I'll be able to use gnome again if I can eliminate nautilus from it... ^^
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.