BLAG Forums
It is currently Sat Nov 28, 2015 2:50 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon May 09, 2005 7:48 am 

Joined: Thu Sep 30, 2004 3:30 am
Posts: 40
Hello EveryBlaggers

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 -
[root@localhost ~]#

then cd to /usr/share/xsessions
[root@localhost ~]# cd /usr/share/xsessions/
[root@localhost 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
blackbox.desktop       windowmaker.desktop
gnome.desktop          xfce4.desktop
[root@localhost xsessions]#

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

nano enlightenment.desktop

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

6. type the following

[Desktop Entry]

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.


 Post subject:
PostPosted: Tue May 10, 2005 2:27 am 
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Good! Wiki this, man 8)

BLAG 'em up!

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group