You are not logged in.

#1 2013-12-29 18:42:41

joetemp
Member
Registered: 2013-12-16
Posts: 73

Do I need a clean Arch install to change DE or WM?

Hey all,
I'm new to Arch... well, I will be new to Arch. Still currently using Fedora. One of the things I'm doing right now is taking some time to read the wiki and fully embracing "The Arch Way."

Since I have the opportunity to build a system from the ground up, it's caused me to reconsider some of my pre-existing ideas. Like... do I need a full blown DE? The answer is probably not. All I do is listen to music, surf and code. Therefore, there's a lot I don't need.

I'm considering using these:

Gnome3
Openbox
Fluxbox
DWM
Xmonad

The problem is... I kind of want to try all of them. Well, except for Gnome3. I know what's up there.

Will it be relatively simple to just use pacman to change my DE or WM? Or do I need to cleanly install Arch? The answer will have some bearing on how long it takes me to move forward.

Offline

#2 2013-12-29 18:50:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Do I need a clean Arch install to change DE or WM?

You have to install and configure some packages.
If you don't want them anymore, you may need to change some configs and you can remove the unneeded packages.

Clean install isn't necessary.

Offline

#3 2013-12-29 18:51:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Do I need a clean Arch install to change DE or WM?

Start using Arch... this question will be answered once you get your feet wet.

Offline

#4 2013-12-29 18:56:13

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Do I need a clean Arch install to change DE or WM?

I swap between window managers all the time. You can use a couple of ways to choose which one you want to use at login, it's relitively simple. Either set up a desktop manager or use something like ~/.bash_profile to select the wm to use depending on the tty you log into.

HTH


You're just jealous because the voices only talk to me.

Offline

#5 2013-12-29 19:04:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: Do I need a clean Arch install to change DE or WM?

The answer is, no.  You can have multiple DE's installed at once.  This laptop has OpenBox, i3, Gnome, Xfce4, and even a Windows 7 VirtualBox appliance.  I just choose which one I want when I start X.

Here is my ~/.xixnitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

#xset b off
setxkbmap -option ctrl:nocaps
#autocutsel -fork &
#autocutsel -selection PRIMARY -fork &

case $WM in
openbox)
	exec  openbox-session
	;;
gnome)
	exec gnome-session
	;;
e17)
     enlightenment_start
    ;;
dwm)
     exec dwm
    ;;
vb)
    VirtualBox -startvm "Windows XP" -fullscreen
    ;;
xfce4)
    exec startxfce4
    ;;
i3)
    exec i3
    ;;
*)
    exec  openbox-session
    ;;
esac

To start, for example, Xfce4, I login to the console and perform WM=xfce4 startx


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2013-12-29 19:04:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Do I need a clean Arch install to change DE or WM?

moetunes wrote:

Either set up a desktop manager or use something like ~/.bash_profile to select the wm to use depending on the tty you log into.

Be sure to check the wiki:
https://wiki.archlinux.org/index.php/Xi … ng_started
https://wiki.archlinux.org/index.php/Xi … FWM_choice

Offline

#7 2013-12-29 19:14:13

xtraroot
Member
Registered: 2013-12-17
Posts: 59

Re: Do I need a clean Arch install to change DE or WM?

You can have multiple ones going no problem, the idea is super simple, you either install a display manager to graphically choose which environment you want, or you set up your .xinitrc like the previous poster mentioned to include the multiple environments. The Wiki usually covers near everything you could possibly need including things from the aur in depth.

I personally prefer the .xinitrc way because it's simpler. startx will start whichever you specified as your main de, and xinit gnome or xinit xfce, etc. will start the other enviroments.

My preference on a laptop is openbox and my preference on a desktop is kde. Make sure you follow the guide for openbox should you choose to use it, you need to copy a few default files to your .config folder. Also note that a fresh openbox install is pretty barebones and takes a while to configure. I like that stuff, but xfce might be a better choice if you don't.

https://wiki.archlinux.org/index.php/xinitrc explains how to set up your .xinitrc for multiple de's in detail, while configuring all the major display managers are explained in depth in their respective wikis.

Also note that its really easy to remove one if you don't like it, with just "pacman -Rs gnome" for example, which should remove it and all its standalone dependencies.

Last edited by xtraroot (2013-12-29 19:18:57)

Offline

Board footer

Powered by FluxBB