You are not logged in.

#1 2011-06-27 16:48:00

Nimbus
Member
From: Ivalice
Registered: 2011-03-30
Posts: 67

[SOLVED!]I'd like to add a dedicated Gnome-Shell session entry to GDM.

Edit:

Well, thanks for all your help guys, I really did appreciate it all.

However I've remembered something I used to use in Ubuntu.

I added a Gnome-Shell .desktop file into my /home/myname/.config/autostart folder like this


[Desktop Entry]
Type=Application
Exec=gnome-shell --replace &
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Gnome Shell
Name=Gnome Shell
Comment[en_US]=Start Gnome Shell!
Comment=Start Gnome Shell!
OnlyShowIn=GNOME

It starts only in Gnome and nothing else, just how I wanted it to. I'm aware that this is more of a bandaid fix than anything else, but it works!

Thanks again, now I can use KDE, Gnome-Shell, and Openbox.

Last edited by Nimbus (2011-07-02 02:55:37)


Genius may have its limitations, but stupidity is not thus handicapped.
        -- Elbert Hubbard
OpenBox3 + KDE4.6 + Xfce4.8 User

Offline

#2 2011-07-01 18:00:45

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [SOLVED!]I'd like to add a dedicated Gnome-Shell session entry to GDM.

Hello nimbus,
i don't have a gdm setup at hand, but i think you still need gnome-session. /usr/share/xsessions/gnome-shell.desktop should probably state

[GNOME Session]
Name=Gnome Shell Session
Exec=gnome-session --session gnome-with-shell
Type=Application

note gnome-sessions man page; sessions specified via the --session flag are looked for in /usr/share/gnome-sessions/sessions.

There you should have a file like gnome-with-shell.desktop

[GNOME Session]
Name=Gnome Shell Session
RequiredComponents=gnome-shell;gnome-settings-daemon;
IsRunnableHelper=/usr/lib/gnome-session/gnome-session-check-accelerated
FallbackSession=gnome-fallback

Offline

#3 2011-07-01 21:14:36

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: [SOLVED!]I'd like to add a dedicated Gnome-Shell session entry to GDM.

have got this line in you /etc/rc.conf just under modules.
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
nothing works without UDEV


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#4 2011-07-01 22:10:54

Nimbus
Member
From: Ivalice
Registered: 2011-03-30
Posts: 67

Re: [SOLVED!]I'd like to add a dedicated Gnome-Shell session entry to GDM.

Wey wrote:

Hello nimbus,
i don't have a gdm setup at hand, but i think you still need gnome-session. /usr/share/xsessions/gnome-shell.desktop should probably state

[GNOME Session]
Name=Gnome Shell Session
Exec=gnome-session --session gnome-with-shell
Type=Application

note gnome-sessions man page; sessions specified via the --session flag are looked for in /usr/share/gnome-sessions/sessions.

There you should have a file like gnome-with-shell.desktop

[GNOME Session]
Name=Gnome Shell Session
RequiredComponents=gnome-shell;gnome-settings-daemon;
IsRunnableHelper=/usr/lib/gnome-session/gnome-session-check-accelerated
FallbackSession=gnome-fallback

EDIT: Well....definately more progress this time....I think.

It still doesn't load gnome-shell and instead says

No EXEC Line in session file gnome-shell, loading fallback mode.

Here are my entries

/usr/share/xsessions/gnome-shell.desktop

[GNOME Session]
Name=Gnome Shell Session
Exec=gnome-session --session gnome-with-shell
Type=Application


/usr/share/gnome-sessions/gnome-with-shell.session
[GNOME Session]
Name=Gnome Shell Session
RequiredComponents=gnome-shell;gnome-settings-daemon;gnome-power-manager
IsRunnableHelper=/usr/lib/gnome-session/gnome-session-check-accelerated
Exec=gnome-shell (I added this in thinking it might be the issue
FallbackSession=gnome-fallback
OnlyShowIn=Gnome

I can still get it to load by using grun and typing gnome-shell --replace, but that's besides the point. Also it would seem that none of my startup applications load like they are suposed to, but I'm sure it's some sort of bug related to the issue.

Edit:

Adding even further to the oddness, it would appear that gnome.session already supposedly has these entries, further baffling me as to why it doesn't load gnome-shell to begin with unless it's in my /home/name/.config/autostart folder.

/usr/share/gnome-sessions/Gnome.session

RequiredComponents=gnome-shell;gnome-settings-daemon;
IsRunnableHelper=/usr/lib/gnome-session/gnome-session-check-accelerated
FallbackSession=gnome-fallback

Sigh...really confused now. I guess what I need help with is figuring out why old shell here isn't loading unless it's in my autostart directory.

Last edited by Nimbus (2011-07-01 23:46:03)


Genius may have its limitations, but stupidity is not thus handicapped.
        -- Elbert Hubbard
OpenBox3 + KDE4.6 + Xfce4.8 User

Offline

Board footer

Powered by FluxBB