LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   xfce to gnome (https://www.linuxquestions.org/questions/debian-26/xfce-to-gnome-329280/)

Ipolit 06-01-2005 02:58 PM

xfce to gnome
 
How can I choose GNOME to strart when I type startx
My default environment is xfce, I copied /etc/X11/xinitrc in my home dir and named it to .xinitrc and changed startxfce4 to gnome-session, but again xfce. I installed gdm, but I don't want to use it.

Dead Parrot 06-01-2005 03:07 PM

$ rm .xinitrc
$ echo "exec gnome-session" > .xinitrc
$ startx

Ipolit 06-01-2005 03:25 PM

thanks
It works, but could you tell me which is exactly the file which shows to run xfce before me to create this .xinitrc

Dead Parrot 06-01-2005 03:47 PM

I'm not quite sure I understood your question correctly but if you ask how to tell "startx" to choose between gnome and xfce when you want to change from one to the other, then you can do (as normal user) "nano .xinitrc" and make it look like this (and then exit nano saving changes: Ctrl-x, y, Enter):
Code:

#exec startxfce4
exec gnome-session

This will tell "startx" to start gnome. When you want to start xfce, do "nano .xinitrc" again and make it look like this:
Code:

exec startxfce4
#exec gnome-session


Ipolit 06-01-2005 03:55 PM

this way I'm loosing my locale settings and some cyrillic fonts. I can't type cyrillic letters in terminal windows.
with the xfce it works perfect for me, so I just want to change startxfce4 to gnome-session and to keep all other stuff.
with gdm happens the same thing.
All these things are happening because I'm using non-debian package, but it's the easyest way to setup bulgarian environment

Dead Parrot 06-01-2005 04:08 PM

Hmm... I don't know what non-debian package you're talking about. Why don't you use the usual Debian way to set locales: "dpkg-reconfigure console-data" and "dpkg-reconfigure locales"?


All times are GMT -5. The time now is 05:52 AM.