You are not logged in.
Hi,
I've installed the Stumpwm with Synaptic and it is not in the list of sesssions of gdm. If I have to add it manually I need to know what file to edit. I've been looking at /usr/share/gdm/default configuration
also /usr/sbin/gdmsetup and this forum, but I don't find the solution.
Thank you.
Last edited by bastiano (2011-05-28 13:32:12)
Offline
Hi bastiano - I think you need to add a .desktop file to /usr/share/xsessions.
Have a look at what's there already and make a stumpwm.desktop file on similar lines. You'll need to know the command to start a Stumpwm session for the "Exec=..." bit.
When you reboot the option should be there in gdm.
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
It's as Karas-Man said.... you'll need to manually create an entry in your /usr/share/xsessions. I'll just add a bit more to what he mentioned.
Been a long while since I used GDM, but the stumpw.desktop in /usr/share/xsessions should contain something similar this;
[Desktop Entry]
Name=StumpWM
Encoding=UTF-8
Comment=Launch the Stump window manager
Exec=stumpwm
TryExec=stumpwm
Type=XSessionThis is assuming the stumpwm executable was installed in a folder in your $PATH (which is highly likely if you installed via apt-get). If the above doesn't work, try replacing the entry for "Exec" with /usr/bin/stumpwm. (it's best to check inside /usr/bin first)
Also,
You can create a startup script for your window manager and put it in your /home folder. This has the benefit of being able to include startup apps, daemons, wallpaper, etc (can't recall if StumpWM has it's own start rc file or not) before launching the wm, sorta like what .xinitrc would do on a GDM-less system. If you decide on this, you'll need to enter the path to the script for the "Exec" part in your stumpwm.desktop .... example: Exec=/home/bastiano/bin/stumpstart.sh
This is what the stumpstart.sh script might look like (assuming you're on a #! base and the stumpwm executable is in your $PATH;
#!/bin/bash
#Keyboard map
setxkbmap us &
#Wallpaper (requires feh to be installed)
feh --bg-scale /home/bastiano/images/wallpapers/wallpaper.png &
#If you use Thunar as your primary FM
thunar --daemon &
#Other daemons. This one is for Music Player Daemon and Urxvt Terminal
mpd &
urxvtd &
#Screensaver
xscreensaver -no-splash &
sleep .2
stumpwmImportant: Remember to make the script executable.
Hope this gives you a rough idea.
Cheers~
Last edited by gutterslob (2011-05-28 20:26:07)
Point & Squirt
Offline
^^Thanks a lot!!
I was getting dizzy looking for stumpwm in the file system. It is in /usr/bin only. I like the option of the script in the /home folder. Now I need to learn the command to make it executable, I know it isn't difficult.
I'm in #!, it has been my first distro. I've tried others in the last months, but I comeback always.
With so much help I can give this post as already solved.
Thank you.
Offline
@gutterslob: Thanks 
• Support #! • Waldorf • Debian sid • Xubuntu • siduction • Peppermint • OpenBox • Xfce • LXDE •
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.