Arch- Multiple DEs- switch without editing ~/.xinitrc?
Hi!
I just installed Arch Linux on an Eee PC this weekend. So far, it's gone good! I had one question that I haven't quite found an answer to. I have LXDE and Xfce4 installed, and I switch between the two a lot. As of now, I have to commennt/uncomment lines in my ~/.xinitrc file to switch between the two.. I was hoping that there would be something like Slackware's "xwm-config" but that command doesn't exist. Is there something I'm missing, or should I look into writing my first seme-useful shell script? Thanks! |
This is something you would configure in your display manager. Which one do you use?
Anyway it's supposed to launch X with the right DE parameter. This gets picked up by the xinitrc. E.g. mine looks like this: Code:
#!/bin/bash In case you are using slim (which is the default of crunchbang, which I am using, quite nice btw), you can configure this in /etc/slim.conf See below the relevant sections of my slim.conf Code:
Commands executed when starting and exiting a session. |
Quote:
I have XFCE4 and LXDE as desktop environments. I think LXDE uses Openbox, not sure about XFCE4. I think I installed XFCe first, but again I'm not sure. Here's my .xinitrc, I just comment/uncomment the last 2 lines where appropriate: Code:
[anthony@anthony-eee ~]$ cat .xinitrc |
How do you start your X session? Do you boot into cli and type startx? That would mean you are using no display manager at all...
Otherwise it's probably stated in Code:
/etc/X11/default-display-manager |
Just tried startx with an argument, which works, too.
So in case you are not using a display manager you could use an xinitrc similar to mine and do Code:
startx xfce4 Code:
startx lxde |
Quote:
Quote:
Code:
startx --help |
Have you modified your xinitrc to interpret the first command line argument ($1) similar to the one I posted?
|
No...:redface:...that's probably why.
I'll try to look into that tomorrow, but I can't guarantee it, I have a lot going on at school right now (the robotics team that I'm a member of is going to St. Louis for world championships in a week!...and oh, yeah, there's that pesky homework too) |
All times are GMT -5. The time now is 05:13 PM. |