Michael's cwm desktop (minimal): Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 38: Line 38:
with that test completed, exit cwm (cause I feel like it)
with that test completed, exit cwm (cause I feel like it)
{{cmd|ctrl-alt-shift-q}}
{{cmd|ctrl-alt-shift-q}}
uninstall firefox
{{cmd|apk del firefox}}
and install flatpak (necessary for ungoogled chromium)
...
add xterm so that we can do all this from inside cwm, because we need to make sure that d-bus is properly launched for this user, and that happens when we run startx, and to check, we need xterm.
{{cmd|apk add xterm}}

Revision as of 18:53, 24 May 2025

..continuing from basic install..

apk add mesa-dri-gallium

add the following lines to .xinitrc:

xrandr --output eDP-1 --brightness 0.3

# feh --bg-fill /home/legolas/wallpaper/valley_of_flowers.jpg

exec dbus-launch --exit-with-session cwm

note that last line. it is currently the only thing I do to start the d-bus session for my user. I think there is more I have to do.

(also, technically, the wallpaper will have to wait until I download the appropriate file..)

setup-xorg-base

apk add cwm

apk add xrandr feh

apk add firefox

(because it's easy, and allows you to test sound)

create .cwmrc in your users home folder and add the following line to it:

bind-key CM-e /usr/bin/firefox

--> leave root!:

return

launch cwm:

startx



with that test completed, exit cwm (cause I feel like it)

ctrl-alt-shift-q

uninstall firefox

apk del firefox

and install flatpak (necessary for ungoogled chromium) ... add xterm so that we can do all this from inside cwm, because we need to make sure that d-bus is properly launched for this user, and that happens when we run startx, and to check, we need xterm.

apk add xterm