On 10/04/2014 03:55 PM, Frank Cox wrote:
When you click on the gear icon on the GDM login screen, it provides a list of the available desktop environments so you can pick between them. Since I exclusively use Mate on this computer, how can I remove the other options from that menu? Earlier today when I logged in the machine decided on its own that what I really wanted was Gnome Classic, so I had to log out to change it back to Mate, then log in again. I would like to tell it to use Mate exclusively, with no other options to select by mistake.
Well, I haven't tried it, but I believe the available session types are stored in desktop files in /usr/share/xsessions. You could move the ones you don't want to a different location and see how the picker in GDM behaves... a bit like swatting a fly with a hammer, but as long as you can move them back it should be OK. I found mention of this in an Ubuntu-oriented forum somewhere, don't recall where.
Here's what that directory on my C7 box, with MATE installed, looks like:
[root@megamind gdm]# ls /usr/share/xsessions gnome-classic.desktop gnome.desktop gnome-custom-session.desktop mate.desktop [root@megamind gdm]#
I would try moving all of the .desktop files elsewhere temporarily and see if that changes the available desktop list.
YMMV! -- Jay Leafey - jay.leafey@xxxxxxxxxxxx Memphis, TN _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos