LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   /usr/share/xsessions (https://www.linuxquestions.org/questions/linux-desktop-74/usr-share-xsessions-4175614506/)

TimewarpUK 09-25-2017 03:15 PM

/usr/share/xsessions
 
Hi,

I added a new .desktop file in /usr/share/xsessions , however Fedora 26 isn't showing it as an option on login.

I'm using Cinnamon and have tried killing lightdm.

Do I need to edit any configuration for it to show?

Ztcoracat 09-25-2017 06:56 PM

I'm not sure if you would have to edit a configuration file or not.
I've never played with it:-

Here's an Xsessions WiKi that might help.
https://wiki.ubuntu.com/CustomXSession

https://forums.fedoraforum.org/showthread.php?t=312701

Lightdm is part of the display mgr so killing it might not be good for the Cinnamon DE.
https://wiki.archlinux.org/index.php/LightDM

https://crunchbang.org/forums/viewtopic.php?id=38513

-::-Try looking in 'show hidden files' in your file manager under 'view'. Is the desktop file you created there?-::-

TimewarpUK 09-26-2017 02:14 PM

Thanks.

Sorted it in the end.

My .desktop file was referring to a command with args in Exec and TryExec fields.

Changed it to refer to a script instead and now working.

Ztcoracat 09-26-2017 05:32 PM

Quote:

Originally Posted by TimewarpUK (Post 5763252)
Thanks.

Sorted it in the end.

My .desktop file was referring to a command with args in Exec and TryExec fields.

Changed it to refer to a script instead and now working.

You're Welcome.

Glad to hear it's working.

Was the script fairly easy to write?


All times are GMT -5. The time now is 09:03 AM.