You are not logged in.
Pages: 1
Switch from gnome3 on a Fedora19 system. But startx starts gnome3 and I (instinctively) make the mistake of running startx rather than startxfce4. I guess I would like a startgnome3 and a startxfce4 script but I would really like startx to start xfce. Any advice?
Offline
Have a look at the .xinitrc file in your home directory. You should be able to specify there which desktop environment you want as default (via startx).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
So there was no ~/.xinitrc so I went looking for the default which seems to be /etc/X11/xinit/xinitrc which calls /etc/X11/xinit/Xclients where desktops gnome and kde are shown set to be exec'ed using /etc/sysconfig/desktop file (which doesn't exist either so it defaults to gnome) and a $PREFERRED variable.
So I created a ~/.xinitrc file with just "exec startxfce4" in it and although this works I'm wondering if this is the standard way?
Offline
So I created a ~/.xinitrc file with just "exec startxfce4" in it and although this works I'm wondering if this is the standard way?
I've always known this to be the standard way. There is also this document which seems to support this.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Great!
Offline
Two comments. First, you could always use startxfce4 directly, which is what I do on the rare occasions I have to start (or, more likely, try to start) X from a CLI. Second, add this to ~/.bashrc:
alias startx=startxfce4
Of course, if you use a different shell, put it in the appropriate file. Then, log out, log back in and Bjorn Stronginthearm's your uncle!
Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 535.66 KiB (Peak: 536.51 KiB) ]