Re: Adding Xfce4 to the GDM sessions menu
On Monday 12 April 2004 11:40, Simon Huggins wrote: >> While sorting this problem out, I noticed that >> /etc/gdm/Sessions/Xfce4 contains the following: > >> #!/bin/sh >> exec /etc/X11/Xsession /usr/bin/xfce4-session > >> What's the practical difference between running >> /usr/bin/xfce4-session >> and >> exec /etc/X11/Xsession /usr/bin/xfce4-session >> ? > > It'll run all the bits in /etc/X11/Xsession.d/ first too so for > instance it'll run ssh-agent if you have use-ssh-agent in > /etc/X11/Xsession.options > > Basically it means it should fit in better with what everything else > does (startx, other session managers). I think something else in the new gdm must be running that stuff. My *.desktop files just contain Exec=/usr/bin/xfce4-session for example, but the numlock is now coming on automatically (which it never did before). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu
On Sunday 11 April 2004 18:30, Jaap Haitsma wrote: > I think that new version of gdm don't look at these scripts anymore > but just the .desktop file. BTW for Gnome Exec should > /usr/bin/gnome-session Why does the old /etc/gdm/Sessions/Gnome script have so much extra stuff around that? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu
On Sun, Apr 11, 2004 at 04:49:04PM +, Adam Funk wrote: > On Saturday 10 April 2004 18:30, Bob Schlärmann wrote: > > GDM recently switched to a new session file format based on .desktop > > files. There's a bug tracking this as well 241080. It'll be fixed in the next upload. (well if I ever get gdm to work given #237615). Upstream have been promising 4.0.5 since 21st March but it hasn't happened yet and I was waiting for that before fixing the other bits up. > While sorting this problem out, I noticed that /etc/gdm/Sessions/Xfce4 > contains the following: > #!/bin/sh > exec /etc/X11/Xsession /usr/bin/xfce4-session > What's the practical difference between running > /usr/bin/xfce4-session > and > exec /etc/X11/Xsession /usr/bin/xfce4-session > ? It'll run all the bits in /etc/X11/Xsession.d/ first too so for instance it'll run ssh-agent if you have use-ssh-agent in /etc/X11/Xsession.options Basically it means it should fit in better with what everything else does (startx, other session managers). Simon. -- Black Cat Networks-( "Fast, fat computers breed slow, )- UK domain, email and web hosting -( lazy programmers." )- http://www.blackcatnetworks.co.uk -( )- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu
Adam Funk wrote: On Saturday 10 April 2004 18:30, Bob Schlärmann wrote: GDM recently switched to a new session file format based on .desktop files. Look in /usr/share/xsessions for some example .desktop files, i've got the following in xfce.desktop: [Desktop Entry] Name=Xfce4 Comment=Xfce4 Exec=/usr/bin/xfce4-session # no icon yet, only the top three are currently used Icon= Type=Application While sorting this problem out, I noticed that /etc/gdm/Sessions/Xfce4 contains the following: #!/bin/sh exec /etc/X11/Xsession /usr/bin/xfce4-session What's the practical difference between running /usr/bin/xfce4-session and exec /etc/X11/Xsession /usr/bin/xfce4-session ? Also, for the more complicated scripts (e.g., /etc/gdm/Sessions/Gnome), should I just use Exec=/etc/gdm/Sessions/Gnome in gnome.desktop? I think that new version of gdm don't look at these scripts anymore but just the .desktop file. BTW for Gnome Exec should /usr/bin/gnome-session Jaap -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu
On Saturday 10 April 2004 18:30, Bob Schlärmann wrote: > GDM recently switched to a new session file format based on .desktop > files. Look in /usr/share/xsessions for some example .desktop files, > i've got the following in xfce.desktop: > > [Desktop Entry] > Name=Xfce4 > Comment=Xfce4 > Exec=/usr/bin/xfce4-session > # no icon yet, only the top three are currently used > Icon= > Type=Application While sorting this problem out, I noticed that /etc/gdm/Sessions/Xfce4 contains the following: #!/bin/sh exec /etc/X11/Xsession /usr/bin/xfce4-session What's the practical difference between running /usr/bin/xfce4-session and exec /etc/X11/Xsession /usr/bin/xfce4-session ? Also, for the more complicated scripts (e.g., /etc/gdm/Sessions/Gnome), should I just use Exec=/etc/gdm/Sessions/Gnome in gnome.desktop?
Re: Adding Xfce4 to the GDM sessions menu
Bob Schlärmann wrote: On Sat, 10 Apr 2004 15:07:41 +0200 Jaap Haitsma <[EMAIL PROTECTED]> wrote: ... What I cannot find out where gdm gets the info about the available sessions. For example I first had also KDE installed and it was in the GDM recently switched to a new session file format based on .desktop files. Look in /usr/share/xsessions for some example .desktop files, i've got the following in xfce.desktop: [Desktop Entry] Name=Xfce4 Comment=Xfce4 Exec=/usr/bin/xfce4-session # no icon yet, only the top three are currently used Icon= Type=Application btw the i thought the same question was asked some days ago. Thanks, this made it work :-) Sorry to have missed the other post. Didn't show up in my google searches :-( -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu
On Sat, 10 Apr 2004 15:07:41 +0200 Jaap Haitsma <[EMAIL PROTECTED]> wrote: > ... > What I cannot find out where gdm gets the info about the available > sessions. For example I first had also KDE installed and it was in the GDM recently switched to a new session file format based on .desktop files. Look in /usr/share/xsessions for some example .desktop files, i've got the following in xfce.desktop: [Desktop Entry] Name=Xfce4 Comment=Xfce4 Exec=/usr/bin/xfce4-session # no icon yet, only the top three are currently used Icon= Type=Application btw the i thought the same question was asked some days ago. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding Xfce4 to the GDM sessions menu#
On Sat, 10 Apr 2004 the mental interface of Jaap Haitsma told: [...] > So how can I get a session and in particular Xfce4 added to GDM? Put your Xfrce startscript executable to /etc/gdm/Sessions. The filename will appear in your sessionlist. You can also try to put the following in an executable file /etc/gdm/Sessions/Xfce4: #!/bin/sh # # Make Xfce4 selectable in the GDM menu # exec /etc/X11/Xsession /usr/bin/xfce4-session #EOF Ciao Elimar -- Learned men are the cisterns of knowledge, not the fountainheads ;-) signature.asc Description: Digital signature