Desktop not being picked up [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I wanted to configure a Cinnamon desktop that used optirun so I created a new .desktop file in /usr/share/xsessions.



However, this option is not being shown as a desktop on the login screen. I've tried killall lightdm and also restarting the computer.



What do I need to do to get my new desktop to come up as an option?










share|improve this question













closed as off-topic by Jeff Schaller, Anthon, Stephen Rauch, GAD3R, Satō Katsura Oct 1 '17 at 18:08


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Anthon, GAD3R, Satō Katsura
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of What is the TryExec field in .desktop files?
    – Stephen Rauch
    Oct 1 '17 at 15:18














up vote
0
down vote

favorite












I wanted to configure a Cinnamon desktop that used optirun so I created a new .desktop file in /usr/share/xsessions.



However, this option is not being shown as a desktop on the login screen. I've tried killall lightdm and also restarting the computer.



What do I need to do to get my new desktop to come up as an option?










share|improve this question













closed as off-topic by Jeff Schaller, Anthon, Stephen Rauch, GAD3R, Satō Katsura Oct 1 '17 at 18:08


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Anthon, GAD3R, Satō Katsura
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of What is the TryExec field in .desktop files?
    – Stephen Rauch
    Oct 1 '17 at 15:18












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I wanted to configure a Cinnamon desktop that used optirun so I created a new .desktop file in /usr/share/xsessions.



However, this option is not being shown as a desktop on the login screen. I've tried killall lightdm and also restarting the computer.



What do I need to do to get my new desktop to come up as an option?










share|improve this question













I wanted to configure a Cinnamon desktop that used optirun so I created a new .desktop file in /usr/share/xsessions.



However, this option is not being shown as a desktop on the login screen. I've tried killall lightdm and also restarting the computer.



What do I need to do to get my new desktop to come up as an option?







fedora cinnamon session lightdm optimus






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 25 '17 at 16:19









SilverlightFox

2011413




2011413




closed as off-topic by Jeff Schaller, Anthon, Stephen Rauch, GAD3R, Satō Katsura Oct 1 '17 at 18:08


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Anthon, GAD3R, Satō Katsura
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Jeff Schaller, Anthon, Stephen Rauch, GAD3R, Satō Katsura Oct 1 '17 at 18:08


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Anthon, GAD3R, Satō Katsura
If this question can be reworded to fit the rules in the help center, please edit the question.











  • Possible duplicate of What is the TryExec field in .desktop files?
    – Stephen Rauch
    Oct 1 '17 at 15:18
















  • Possible duplicate of What is the TryExec field in .desktop files?
    – Stephen Rauch
    Oct 1 '17 at 15:18















Possible duplicate of What is the TryExec field in .desktop files?
– Stephen Rauch
Oct 1 '17 at 15:18




Possible duplicate of What is the TryExec field in .desktop files?
– Stephen Rauch
Oct 1 '17 at 15:18










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










The reason was because I had a command with args in Exec and TryExec rather than the path to a script.



Reading this post shows that TryExec isn't actually executed and it is just used to decide whether to offer this desktop, so that could be the reason it didn't work for me to start with.



Solution: Ensure TryExec and possibly Exec point to actual script file paths rather than stating an executable with args.






share|improve this answer



























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    The reason was because I had a command with args in Exec and TryExec rather than the path to a script.



    Reading this post shows that TryExec isn't actually executed and it is just used to decide whether to offer this desktop, so that could be the reason it didn't work for me to start with.



    Solution: Ensure TryExec and possibly Exec point to actual script file paths rather than stating an executable with args.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      The reason was because I had a command with args in Exec and TryExec rather than the path to a script.



      Reading this post shows that TryExec isn't actually executed and it is just used to decide whether to offer this desktop, so that could be the reason it didn't work for me to start with.



      Solution: Ensure TryExec and possibly Exec point to actual script file paths rather than stating an executable with args.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        The reason was because I had a command with args in Exec and TryExec rather than the path to a script.



        Reading this post shows that TryExec isn't actually executed and it is just used to decide whether to offer this desktop, so that could be the reason it didn't work for me to start with.



        Solution: Ensure TryExec and possibly Exec point to actual script file paths rather than stating an executable with args.






        share|improve this answer












        The reason was because I had a command with args in Exec and TryExec rather than the path to a script.



        Reading this post shows that TryExec isn't actually executed and it is just used to decide whether to offer this desktop, so that could be the reason it didn't work for me to start with.



        Solution: Ensure TryExec and possibly Exec point to actual script file paths rather than stating an executable with args.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 26 '17 at 10:59









        SilverlightFox

        2011413




        2011413












            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?