replaced Gnome with Xfce

This commit is contained in:
paul-loedige
2024-02-20 22:11:45 +01:00
parent badfefb0ce
commit 1c7b642fe5
+80 -79
View File
@@ -30,7 +30,7 @@
- [[#keyboard-layout][Keyboard Layout]]
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
- [[#lightdm][LightDM]]
- [[#gnome][GNOME]]
- [[#xfce][Xfce]]
- [[#qtile][Qtile]]
- [[#text-editors][Text Editors]]
- [[#doom-emacs-1][Doom Emacs]]
@@ -68,6 +68,7 @@
- [[#enable-synctex][enable synctex]]
- [[#nextcloud][Nextcloud]]
- [[#add-to-autostart][add to autostart]]
- [[#add-keyring][add keyring]]
- [[#bitwarden][Bitwarden]]
- [[#installation-4][Installation]]
- [[#configuration-1][Configuration]]
@@ -89,11 +90,12 @@
- [[#automatic-location-configuration][Automatic Location Configuration]]
- [[#frpint][frpint]]
- [[#installation-9][Installation]]
- [[#enable-systemd-service][Enable systemd Service]]
- [[#add-user-to-input-group][Add User to input Group]]
- [[#authentication-agent][Authentication Agent]]
- [[#enroll-both-hands-if-no-fingers-are-enrolled][enroll both hands if no fingers are enrolled]]
- [[#add-authentication-to-pam][Add authentication to PAM]]
- [[#misc][Misc]]
- [[#cbatticon][cbatticon]]
- [[#manual-tasks-after-tangling][Manual Tasks after tangling]]
* Prerequisites
@@ -531,70 +533,28 @@ if ! systemctl is-enabled --quiet "$systemd_service"; then
fi
#+end_src
** GNOME
[[https://wiki.archlinux.org/title/GNOME][GNOME]] is installed as a fallback in case the main Window Manager breaks
#+begin_src conf :tangle pkg-list.txt
gnome
#+end_src
*** TODO GNOME programs
#+begin_src conf :tangle pkg-list.txt
baobab
epiphany
evince
gdm
gnome-backgrounds
gnome-calculator
gnome-calendar
gnome-characters
gnome-clocks
gnome-color-manager
gnome-connections
gnome-console
gnome-contacts
gnome-control-center
gnome-disk-utility
gnome-font-viewer
gnome-keyring
gnome-logs
gnome-maps
gnome-menus
gnome-music
gnome-remote-desktop
gnome-session
gnome-settings-daemon
gnome-shell
gnome-shell-extensions
gnome-software
gnome-system-monitor
gnome-text-editor
gnome-tour
gnome-user-docs
gnome-user-share
gnome-weather
grilo-plugins
** [[https://www.xfce.org/][Xfce]]
*** Installation
#+begin_src shell :tangle pkg-list.txt
xfce4-appfinder
xfce4-panel
xfce4-power-manager
xfce4-session
xfce4-settings
xfce4-terminal
xfconf
xfdesktop
xfwm4
xfwm4-themes
exo
garcon
#file manager
thunar
#external media connection handling
gvfs
gvfs-afc
gvfs-goa
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
loupe
malcontent
nautilus
orca
ripgrep
rygel
simple-scan
snapshot
sushi
tecla
totem
tracker3-miners
xdg-desktop-portal-gnome
xdg-user-dirs-gtk
yelp
thunar-volman
#thumbnail generator
tumbler
#+end_src
** [[https://qtile.org/][Qtile]]
(Almost) all configuration is done via the ~config.py~ file
@@ -2954,6 +2914,10 @@ nextcloud-client
#+begin_src shell :tangle ~/.autostart.sh
nextcloud &
#+end_src
** add keyring
#+begin_src shell :tangle pkg-list.txt
gnome-keyring
#+end_src
* Bitwarden
** Installation
#+begin_src conf :tangle pkg-list.txt
@@ -3047,6 +3011,15 @@ fi
#+begin_src shell :tangle pkg-list.txt
fprintd
#+end_src
** Enable systemd Service
#+begin_src shell :tangle update.sh
systemd_service="fprintd"
if ! systemctl is-enabled --quiet "$systemd_service"; then
echo "Enabling $systemd_service"
sudo systemctl enable "$systemd_service"
sudo systemctl start "$systemd_service"
fi
#+end_src
** Add User to input Group
#+begin_src shell :tangle update.sh
groupname="input"
@@ -3077,22 +3050,50 @@ if fprintd-list $USER | grep -q "no fingers enrolled"; then
done
fi
#+end_src
** Add authentication to [[https://en.wikipedia.org/wiki/Pluggable_authentication_module][PAM]]
*** system-login
#+begin_src conf :tangle "/sudo::/etc/pam.d/system-login"
# DO NOT EDIT THIS FILE DIRECTLY
# This is a file generated from a literate programing source file
# You should make any changes there and regenerate it from Emacs org-mode
# using org-babel-tangle (C-c C-v t)
#%PAM-1.0
auth sufficient pam_fprintd.so
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-auth
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_loginuid.so
session optional pam_keyinit.so force revoke
session include system-auth
session optional pam_motd.so
session optional pam_mail.so dir=/var/spool/mail standard quiet
session optional pam_umask.so
-session optional pam_systemd.so
session required pam_env.so
#+end_src
*** sudo
#+begin_src conf :tangle "/sudo::/etc/pam.d/sudo"
# DO NOT EDIT THIS FILE DIRECTLY
# This is a file generated from a literate programing source file
# You should make any changes there and regenerate it from Emacs org-mode
# using org-babel-tangle (C-c C-v t)
#%PAM-1.0
auth sufficient pam_fprintd.so
auth include system-auth
account include system-auth
session include system-auth
#+end_src
* Misc
** cbatticon
*** Installation
#+begin_src shell :tangle pkg-list.txt
cbatticon
#+end_src
*** Autostart on Laptop
#+begin_src shell :tangle ~/.autostart.sh
# Use hostnamectl to get system information
chassis_type=$(hostnamectl status | grep "Chassis:" | awk '{print $2}')
# Check if the chassis type is "laptop"
if [ "$chassis_type" == "laptop" ]; then
cbatticon &
fi
#+end_src
* Manual Tasks after tangling
1. run ~update.sh~
2. log out and back in to update group permissions