Posted: Mon May 09, 2005 7:48 am Post subject: mini HOW-TO add an entry in the sessions list
This mini How-to will guide you on adding an entry in the sessions list (that thing that come up when you click Session in the GDM prompt). Thou I have used these steps on my machine without fail I´m not saying it is perfect (I have tried it with WindowMaker and Enlightenment). So if you find a flaw pls post a reply stating it and the possble fix
1. Most important install the window manager of your fancy (there are so many to choose from, this guide will focus on Enlightenment). The topic on how to install the window manager is not covered here but can be easily done via synaptic or apt
2. Know the name of the executable that is needed to run your WM (window manager) in E17 case it is simply
3. Fire up a terminal and su to root
[jbarry@localhost ~]$ su -
then cd to /usr/share/xsessions
[root@localhost ~]# cd /usr/share/xsessions/
this directory stores all the session files that is already in your current setup so in my case I´ll do an ls to see the curently available sessions
[root@localhost xsessions]# ls
as you can see they are files with desktop as the file extension, what we needed to do is either copy one of these and make modifications or simply start from an empty file We´ll start from zero so that it more fullfilling???
5. open up an editor (in this case I´ll use nano
what that command basically says is open nano and open up the file enlightenment, now since we still dont have that file nano will create a new one for us
Now press ctrl - o to save and ctrl-x to exit. We have just created a new sessions file. I would like to point out for those curious the insides of the other desktop files are very different from the one weve just made ours is the bare minimun while theirs understands other languages. Also on step two I ask you to know the executable name of the WM because you put it in the exec line and the TryExec line (see above) So lets say that you want WindowMaker you should instead put
Are we clear?
Now the Name line is what the user will see when they click on the session thingy
6. Setup the proper permissions of the file so that users can access them
chmod 755 enlightenment.desktop
7. YOUR DONE, logoff and try to see your handiwork, then laugh out loud (now seriously this is the most IMPORTANT part) then shout I´m the KING OF THE WORLD
_________________ There is a reason for everything, just look closer.