LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-05-2005, 12:14 PM   #1
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Rep: Reputation: 15
How do you edit the Sessions menu?


I'm using gdm, and I have the regular options in the Session menu: gnome, kde, etc... I've installed afterstep. How to I edit the menu to include it?
 
Old 02-05-2005, 12:27 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you use a reasonably recent version of gdm, it's as easy as creating a new file in /usr/share/xsessions. Look at the other files there for reference, because it really is very easy.

This is just a guess - to try it save it to /usr/share/xsessions/afterstep:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Afterstep
Comment=This session logs you into Afterstep
Exec=afterstep
TryExec=afterstep
# no icon yet, only the top three are currently used
Icon=
Type=Application
I use an ~/.xsession file and choose the "Custom" session. Here is a very simple .xsession for use with Openbox and fbpanel:
Code:
#!/bin/bash
Esetroot ~/gfx/wallpaper/current &
fbpanel &
xrootconsole -fn *cure* -geometry 140x8+320+718 /var/log/messages &
exec openbox
Håkan
 
Old 02-05-2005, 01:01 PM   #3
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit K Menu not working! keithieopia Linux - Software 1 02-21-2005 03:00 AM
Cannot Edit Office Menu Mrrrr. Nice Guy Linux - Software 1 11-14-2004 07:47 AM
How do I edit the Gnome Menu? cgoerner Linux - Newbie 2 06-17-2004 05:58 AM
Which file controls what is shown under the sessions menu at startup (RehHat9)? caesius_01 Linux - General 1 03-27-2004 10:03 AM
How do I make IceWM appear in Sessions menu in GDM? rsamurti Slackware - Installation 7 01-19-2004 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration