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]] - [[#keyboard-layout][Keyboard Layout]]
- [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]] - [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]]
- [[#lightdm][LightDM]] - [[#lightdm][LightDM]]
- [[#gnome][GNOME]] - [[#xfce][Xfce]]
- [[#qtile][Qtile]] - [[#qtile][Qtile]]
- [[#text-editors][Text Editors]] - [[#text-editors][Text Editors]]
- [[#doom-emacs-1][Doom Emacs]] - [[#doom-emacs-1][Doom Emacs]]
@@ -68,6 +68,7 @@
- [[#enable-synctex][enable synctex]] - [[#enable-synctex][enable synctex]]
- [[#nextcloud][Nextcloud]] - [[#nextcloud][Nextcloud]]
- [[#add-to-autostart][add to autostart]] - [[#add-to-autostart][add to autostart]]
- [[#add-keyring][add keyring]]
- [[#bitwarden][Bitwarden]] - [[#bitwarden][Bitwarden]]
- [[#installation-4][Installation]] - [[#installation-4][Installation]]
- [[#configuration-1][Configuration]] - [[#configuration-1][Configuration]]
@@ -89,11 +90,12 @@
- [[#automatic-location-configuration][Automatic Location Configuration]] - [[#automatic-location-configuration][Automatic Location Configuration]]
- [[#frpint][frpint]] - [[#frpint][frpint]]
- [[#installation-9][Installation]] - [[#installation-9][Installation]]
- [[#enable-systemd-service][Enable systemd Service]]
- [[#add-user-to-input-group][Add User to input Group]] - [[#add-user-to-input-group][Add User to input Group]]
- [[#authentication-agent][Authentication Agent]] - [[#authentication-agent][Authentication Agent]]
- [[#enroll-both-hands-if-no-fingers-are-enrolled][enroll both hands if no fingers are enrolled]] - [[#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]] - [[#misc][Misc]]
- [[#cbatticon][cbatticon]]
- [[#manual-tasks-after-tangling][Manual Tasks after tangling]] - [[#manual-tasks-after-tangling][Manual Tasks after tangling]]
* Prerequisites * Prerequisites
@@ -531,70 +533,28 @@ if ! systemctl is-enabled --quiet "$systemd_service"; then
fi fi
#+end_src #+end_src
** GNOME ** [[https://www.xfce.org/][Xfce]]
[[https://wiki.archlinux.org/title/GNOME][GNOME]] is installed as a fallback in case the main Window Manager breaks *** Installation
#+begin_src conf :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
gnome xfce4-appfinder
#+end_src xfce4-panel
*** TODO GNOME programs xfce4-power-manager
#+begin_src conf :tangle pkg-list.txt xfce4-session
baobab xfce4-settings
epiphany xfce4-terminal
evince xfconf
gdm xfdesktop
gnome-backgrounds xfwm4
gnome-calculator xfwm4-themes
gnome-calendar exo
gnome-characters garcon
gnome-clocks #file manager
gnome-color-manager thunar
gnome-connections #external media connection handling
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
gvfs gvfs
gvfs-afc thunar-volman
gvfs-goa #thumbnail generator
gvfs-google tumbler
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
#+end_src #+end_src
** [[https://qtile.org/][Qtile]] ** [[https://qtile.org/][Qtile]]
(Almost) all configuration is done via the ~config.py~ file (Almost) all configuration is done via the ~config.py~ file
@@ -2954,6 +2914,10 @@ nextcloud-client
#+begin_src shell :tangle ~/.autostart.sh #+begin_src shell :tangle ~/.autostart.sh
nextcloud & nextcloud &
#+end_src #+end_src
** add keyring
#+begin_src shell :tangle pkg-list.txt
gnome-keyring
#+end_src
* Bitwarden * Bitwarden
** Installation ** Installation
#+begin_src conf :tangle pkg-list.txt #+begin_src conf :tangle pkg-list.txt
@@ -3047,6 +3011,15 @@ fi
#+begin_src shell :tangle pkg-list.txt #+begin_src shell :tangle pkg-list.txt
fprintd fprintd
#+end_src #+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 ** Add User to input Group
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
groupname="input" groupname="input"
@@ -3077,22 +3050,50 @@ if fprintd-list $USER | grep -q "no fingers enrolled"; then
done done
fi fi
#+end_src #+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 * 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 * Manual Tasks after tangling
1. run ~update.sh~ 1. run ~update.sh~
2. log out and back in to update group permissions 2. log out and back in to update group permissions