You are not logged in.

#1 2019-12-14 11:10:29

WithQuietEyes
Member
Registered: 2019-12-13
Posts: 3

Removing a desktop environment to build your own?

Hi everyone! I'm still preparing to install (I'm trying to properly understand each step instead of just following a guide this time, so it's taking a while). I wanted to know how hard it is to take a desktop environment/file manager/window manager/etc. back off once it's been installed, to put in your own? I want to try building my own, but I also want to get Arch installed and working sometime this decade, and it'll probably take me a while to figure the whole thing out.
So for example, I'll run the install and use XFCE desktop, then do my research and building to work out what I'm doing and strip the installation back to this stage of the installation and build my own. Are there any pitfalls that make this a stupid idea?

Offline

#2 2019-12-14 11:12:08

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Removing a desktop environment to build your own?

You don't even have to uninstall XFCE if you don't want to. You can have as many different WM/DE's installed as you want.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2019-12-14 11:47:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: Removing a desktop environment to build your own?

WithQuietEyes wrote:

I also want to get Arch installed and working sometime this decade

Well, you've got two weeks or so before the next decade arrives, but if you're reading the documentation thoroughly then that's not an unrealistic target. wink


Depending on how you install a DE, you can remove it in different ways.

If you installed a package, which brought in the rest of the DE as dependencies, you can (usually) just (-R)emove that package with pacman using the --recursive flag to remove the dependencies.

If you installed using a group, you can (-Q)uery which packages belong to that group on your system with pacman using the --group option. Then just remove those packages as usual.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2019-12-14 15:56:34

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

Re: Removing a desktop environment to build your own?

Case in point.  On my system, I choose at runtime between i3wm, xfce4, Openbox, sway, an experimental use of emacs as a WM, or a spice viewer.

If I want to use sway, I merely use:  WM=sway startx

Using the following .xinitrc

#!/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

setxkbmap -option ctrl:nocaps
autocutsel -fork &
autocutsel -selection PRIMARY -fork &


case $WM in
    openbox)
	exec  openbox-session
	;;
    emacs)
	exec dbus-launch --exit-with-session emacs -l "~/.emacswm"
	;;
    vnc)
	exec vncviewer :1 -fullscreen
	;;
    i3)
	exec i3 >~/i3log-$(date +'%F-%k-%M-%S') 2>&1
	;;
    xfce4)
	exec xfce4-session
	;;
    spice)
	exec remote-viewer spice+unix:///tmp/vm_spice.socket -f
		
	;;
    sway)
	exec sway
	;;
    *)
	exec i3
	;;
esac

Last edited by ewaller (2019-12-14 15:57:55)


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

Board footer

Powered by FluxBB