fixed config on laptop
This commit is contained in:
+166
-22
@@ -17,6 +17,7 @@
|
|||||||
- [[#arch-linux][Arch Linux]]
|
- [[#arch-linux][Arch Linux]]
|
||||||
- [[#networking][Networking]]
|
- [[#networking][Networking]]
|
||||||
- [[#man-pages-and-texinfo][Man Pages and Texinfo]]
|
- [[#man-pages-and-texinfo][Man Pages and Texinfo]]
|
||||||
|
- [[#build-tools][Build Tools]]
|
||||||
- [[#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]]
|
- [[#gnome][GNOME]]
|
||||||
@@ -30,8 +31,12 @@
|
|||||||
- [[#bash][Bash]]
|
- [[#bash][Bash]]
|
||||||
- [[#themeing][Themeing]]
|
- [[#themeing][Themeing]]
|
||||||
- [[#doom-emacs-2][Doom Emacs]]
|
- [[#doom-emacs-2][Doom Emacs]]
|
||||||
|
- [[#git][Git]]
|
||||||
|
- [[#installation][Installation]]
|
||||||
|
- [[#configuration][Configuration]]
|
||||||
- [[#misc-programs][Misc Programs]]
|
- [[#misc-programs][Misc Programs]]
|
||||||
- [[#zathura][Zathura]]
|
- [[#zathura][Zathura]]
|
||||||
|
- [[#nextcloud][Nextcloud]]
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
- Completed Arch Linux Installation
|
- Completed Arch Linux Installation
|
||||||
@@ -60,7 +65,7 @@ contains all Arch and AUR packages
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** alias.sh
|
** alias.sh
|
||||||
#+begin_src shell :tangle alias.sh
|
#+begin_src shell :tangle ~/alias.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
# This is a file generated from a literate programing source file
|
# This is a file generated from a literate programing source file
|
||||||
@@ -71,7 +76,7 @@ contains all Arch and AUR packages
|
|||||||
|
|
||||||
** path.sh
|
** path.sh
|
||||||
contains all modifications to the path variables
|
contains all modifications to the path variables
|
||||||
#+begin_src shell :tangle path.sh
|
#+begin_src shell :tangle ~/path.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
# This is a file generated from a literate programing source file
|
# This is a file generated from a literate programing source file
|
||||||
@@ -276,7 +281,7 @@ yay
|
|||||||
remove all packages not in ~pkg-list.txt~
|
remove all packages not in ~pkg-list.txt~
|
||||||
#+begin_src shell :tangle update.sh
|
#+begin_src shell :tangle update.sh
|
||||||
# Get list of installed packages
|
# Get list of installed packages
|
||||||
INSTALLED_PACKAGES=$(yay -Qqe)
|
INSTALLED_PACKAGES=$(pacman -Qqe)
|
||||||
|
|
||||||
# Read the list of packages to keep from the file
|
# Read the list of packages to keep from the file
|
||||||
KEEP_LIST=$(cat "pkg-list.txt")
|
KEEP_LIST=$(cat "pkg-list.txt")
|
||||||
@@ -332,7 +337,11 @@ man-db
|
|||||||
man-pages
|
man-pages
|
||||||
texinfo
|
texinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Build Tools
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
cmake
|
||||||
|
make
|
||||||
|
#+end_src
|
||||||
* Desktop Environments and Window Manager
|
* Desktop Environments and Window Manager
|
||||||
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
** [[https://wiki.archlinux.org/title/LightDM][LightDM]]
|
||||||
install the required packages
|
install the required packages
|
||||||
@@ -356,21 +365,62 @@ gnome
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** TODO GNOME programs
|
*** TODO GNOME programs
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
baobab
|
||||||
|
epiphany
|
||||||
evince
|
evince
|
||||||
|
gdm
|
||||||
|
gnome-backgrounds
|
||||||
|
gnome-calculator
|
||||||
|
gnome-calendar
|
||||||
|
gnome-characters
|
||||||
|
gnome-clocks
|
||||||
gnome-color-manager
|
gnome-color-manager
|
||||||
|
gnome-connections
|
||||||
|
gnome-console
|
||||||
|
gnome-contacts
|
||||||
|
gnome-control-center
|
||||||
|
gnome-disk-utility
|
||||||
|
gnome-font-viewer
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
gnome-logs
|
||||||
|
gnome-maps
|
||||||
|
gnome-menus
|
||||||
|
gnome-music
|
||||||
|
gnome-remote-desktop
|
||||||
gnome-session
|
gnome-session
|
||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
gnome-shell
|
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
|
||||||
gvfs-goa
|
gvfs-goa
|
||||||
|
gvfs-google
|
||||||
|
gvfs-gphoto2
|
||||||
|
gvfs-mtp
|
||||||
|
gvfs-nfs
|
||||||
|
gvfs-smb
|
||||||
|
loupe
|
||||||
|
malcontent
|
||||||
|
nautilus
|
||||||
|
orca
|
||||||
|
ripgrep
|
||||||
|
rygel
|
||||||
|
simple-scan
|
||||||
|
snapshot
|
||||||
sushi
|
sushi
|
||||||
tecla
|
tecla
|
||||||
totem
|
totem
|
||||||
tracker3-miners
|
tracker3-miners
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-user-dirs-gtk
|
xdg-user-dirs-gtk
|
||||||
yay-debug
|
|
||||||
yelp
|
yelp
|
||||||
#+end_src
|
#+end_src
|
||||||
* Text Editors
|
* Text Editors
|
||||||
@@ -394,7 +444,7 @@ if [ ! -d "/home/paul/.config/doom" ]; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
**** add to PATH
|
**** add to PATH
|
||||||
#+begin_src shell :tangle path.sh
|
#+begin_src shell :tangle ~/path.sh
|
||||||
export PATH=$PATH:~/.config/emacs/bin
|
export PATH=$PATH:~/.config/emacs/bin
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Doom Modules
|
*** Doom Modules
|
||||||
@@ -535,7 +585,7 @@ export PATH=$PATH:~/.config/emacs/bin
|
|||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
;; markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
@@ -589,6 +639,13 @@ export PATH=$PATH:~/.config/emacs/bin
|
|||||||
|
|
||||||
**** Visual Settings
|
**** Visual Settings
|
||||||
***** Font
|
***** Font
|
||||||
|
install Ubuntu Mono
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
ttf-ubuntu-font-family
|
||||||
|
ttf-ubuntu-mono-nerd
|
||||||
|
ttf-ubuntu-nerd
|
||||||
|
#+end_src
|
||||||
|
and activate it
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(setq doom-font (font-spec :family "Ubuntu Mono" :size 16)
|
(setq doom-font (font-spec :family "Ubuntu Mono" :size 16)
|
||||||
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 14))
|
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 14))
|
||||||
@@ -614,6 +671,12 @@ Authentication information will be stored in a encrypted file that is part of my
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** Multilanguage Spellcheck
|
*** Multilanguage Spellcheck
|
||||||
Enables use of multiple dictionaries. In my case German and English
|
Enables use of multiple dictionaries. In my case German and English
|
||||||
|
install dependencies
|
||||||
|
#+begin_src shell :tangle pgk-list.txt
|
||||||
|
hunspell-de
|
||||||
|
hunspell-en_us
|
||||||
|
#+end_src
|
||||||
|
and configure it
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(with-eval-after-load "ispell"
|
(with-eval-after-load "ispell"
|
||||||
(setq ispell-program-name "hunspell")
|
(setq ispell-program-name "hunspell")
|
||||||
@@ -623,6 +686,48 @@ Enables use of multiple dictionaries. In my case German and English
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** TODO LaTeX
|
*** TODO LaTeX
|
||||||
|
install texlive
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
texlive-basic
|
||||||
|
texlive-bibtexextra
|
||||||
|
texlive-binextra
|
||||||
|
texlive-context
|
||||||
|
texlive-fontsextra
|
||||||
|
texlive-fontsrecommended
|
||||||
|
texlive-fontutils
|
||||||
|
texlive-formatsextra
|
||||||
|
texlive-games
|
||||||
|
texlive-humanities
|
||||||
|
texlive-langarabic
|
||||||
|
texlive-langchinese
|
||||||
|
texlive-langcjk
|
||||||
|
texlive-langcyrillic
|
||||||
|
texlive-langczechslovak
|
||||||
|
texlive-langenglish
|
||||||
|
texlive-langeuropean
|
||||||
|
texlive-langfrench
|
||||||
|
texlive-langgerman
|
||||||
|
texlive-langgreek
|
||||||
|
texlive-langitalian
|
||||||
|
texlive-langjapanese
|
||||||
|
texlive-langkorean
|
||||||
|
texlive-langother
|
||||||
|
texlive-langpolish
|
||||||
|
texlive-langportuguese
|
||||||
|
texlive-langspanish
|
||||||
|
texlive-latex
|
||||||
|
texlive-latexextra
|
||||||
|
texlive-latexrecommended
|
||||||
|
texlive-luatex
|
||||||
|
texlive-mathscience
|
||||||
|
texlive-metapost
|
||||||
|
texlive-music
|
||||||
|
texlive-pictures
|
||||||
|
texlive-plaingeneric
|
||||||
|
texlive-pstricks
|
||||||
|
texlive-publishers
|
||||||
|
texlive-xetex
|
||||||
|
#+end_src
|
||||||
**** Set PDF Viewer
|
**** Set PDF Viewer
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(setq +latex-viewers '(zathura))
|
(setq +latex-viewers '(zathura))
|
||||||
@@ -641,6 +746,12 @@ This function could also become useful if we ever want to extend the compile com
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Org Mode
|
*** Org Mode
|
||||||
|
install dependencies
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
xclip
|
||||||
|
gnome-screenshot
|
||||||
|
graphviz
|
||||||
|
#+end_src
|
||||||
**** Default Location
|
**** Default Location
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
@@ -790,8 +901,20 @@ In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar]
|
|||||||
(add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external)))
|
(add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Python
|
*** TODO Python
|
||||||
**** TODO Set Debugger to debugpy
|
install dependencies
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
python-isort
|
||||||
|
python-pipenv
|
||||||
|
python-pytest
|
||||||
|
miniconda3
|
||||||
|
#+end_src
|
||||||
|
#+begin_src shell :tangle update.sh
|
||||||
|
if [ ! -e "/etc/profile.d/conda.sh" ]; then
|
||||||
|
sudo ln -s /opt/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh
|
||||||
|
fi
|
||||||
|
#+end_src
|
||||||
|
**** Set Debugger to debugpy
|
||||||
as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/debugger#dap-python][Doom Emacs Documentation]] it is recommended to set the debugger used for python debugging to debugpy
|
as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/debugger#dap-python][Doom Emacs Documentation]] it is recommended to set the debugger used for python debugging to debugpy
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(after! dap-mode
|
(after! dap-mode
|
||||||
@@ -814,12 +937,12 @@ neovim
|
|||||||
ZSH is used as the default shell
|
ZSH is used as the default shell
|
||||||
** Aliases
|
** Aliases
|
||||||
*** Shutdown and Reboot
|
*** Shutdown and Reboot
|
||||||
#+begin_src shell :tangle alias.sh
|
#+begin_src shell :tangle ~/alias.sh
|
||||||
alias sn='shutdown now'
|
alias sn='shutdown now'
|
||||||
alias rb='reboot'
|
alias rb='reboot'
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Confirm before overwriting
|
*** Confirm before overwriting
|
||||||
#+begin_src shell :tangle alias.sh
|
#+begin_src shell :tangle ~/alias.sh
|
||||||
alias cp="cp -i"
|
alias cp="cp -i"
|
||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
alias rm='rm -i'
|
alias rm='rm -i'
|
||||||
@@ -829,7 +952,7 @@ alias rm='rm -i'
|
|||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
#+end_src
|
#+end_src
|
||||||
#+begin_src shell :tangle alias.sh
|
#+begin_src shell :tangle ~/alias.sh
|
||||||
alias add='git add'
|
alias add='git add'
|
||||||
alias addup='git add -u'
|
alias addup='git add -u'
|
||||||
alias addall='git add .'
|
alias addall='git add .'
|
||||||
@@ -857,7 +980,7 @@ which
|
|||||||
*** Set as default shell
|
*** Set as default shell
|
||||||
#+begin_src shell :tangle update.sh
|
#+begin_src shell :tangle update.sh
|
||||||
if [ "$(basename "$SHELL")" != "zsh" ]; then
|
if [ "$(basename "$SHELL")" != "zsh" ]; then
|
||||||
chsh $(which zsh)
|
chsh -s $(which zsh)
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
*** [[https://ohmyz.sh/][Oh-My-Zsh]]
|
||||||
@@ -873,7 +996,7 @@ if [ ! -d "/home/paul/.oh-my-zsh" ]; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Basic Configuration
|
**** Basic Configuration
|
||||||
#+begin_src shell ~/.zshrc
|
#+begin_src shell :tangle ~/.zshrc
|
||||||
export ZSH="~/.oh-my-zsh"
|
export ZSH="~/.oh-my-zsh"
|
||||||
|
|
||||||
# Uncomment the following line to use case-sensitive completion.
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
@@ -895,7 +1018,7 @@ ENABLE_CORRECTION="true"
|
|||||||
COMPLETION_WAITING_DOTS="true"
|
COMPLETION_WAITING_DOTS="true"
|
||||||
#+end_src
|
#+end_src
|
||||||
**** TODO [[https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins][Plugins]]
|
**** TODO [[https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins][Plugins]]
|
||||||
#+begin_src shell ~/.zshrc
|
#+begin_src shell :tangle ~/.zshrc
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
# Standard plugins can be found in $ZSH/plugins/
|
# Standard plugins can be found in $ZSH/plugins/
|
||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
@@ -926,17 +1049,17 @@ if [ ! -d "/home/paul/.oh-my-zsh/custom/themes/powerlevel10k" ]; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
set as zsh theme
|
set as zsh theme
|
||||||
#+begin_src shell .zshrc
|
#+begin_src shell :tangle .zshrc
|
||||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Configuration
|
*** Configuration
|
||||||
**** Source Aliases
|
**** Source Aliases
|
||||||
#+begin_src shell ~/.zshrc
|
#+begin_src shell :tangle ~/.zshrc
|
||||||
source alias.sh
|
source alias.sh
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Modify PATH
|
**** Modify PATH
|
||||||
#+begin_src shell ~/.zshrc
|
#+begin_src shell :tangle ~/.zshrc
|
||||||
source path.sh
|
source path.sh
|
||||||
#+end_src
|
#+end_src
|
||||||
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
||||||
@@ -945,7 +1068,7 @@ install
|
|||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
and start
|
and start
|
||||||
#+begin_src shell ~/.zshrc
|
#+begin_src shell :tangle ~/.zshrc
|
||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
** [[https://www.gnu.org/software/bash/][Bash]]
|
** [[https://www.gnu.org/software/bash/][Bash]]
|
||||||
@@ -955,11 +1078,11 @@ bash
|
|||||||
#+end_src
|
#+end_src
|
||||||
*** Configuration
|
*** Configuration
|
||||||
**** Source Aliases
|
**** Source Aliases
|
||||||
#+begin_src shell ~/.bashrc
|
#+begin_src shell :tangle ~/.bashrc
|
||||||
source alias.sh
|
source alias.sh
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Modify PATH
|
**** Modify PATH
|
||||||
#+begin_src shell ~/.bashrc
|
#+begin_src shell :tangle ~/.bashrc
|
||||||
source path.sh
|
source path.sh
|
||||||
#+end_src
|
#+end_src
|
||||||
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
**** [[https://github.com/dylanaraps/neofetch][neofetch]]
|
||||||
@@ -968,7 +1091,7 @@ install
|
|||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
and start
|
and start
|
||||||
#+begin_src shell ~/.bashrc
|
#+begin_src shell :tangle ~/.bashrc
|
||||||
neofetch
|
neofetch
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -984,6 +1107,23 @@ and then set it
|
|||||||
(setq doom-theme 'gruvbox-dark-hard)
|
(setq doom-theme 'gruvbox-dark-hard)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Git
|
||||||
|
** Installation
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
git
|
||||||
|
#+end_src
|
||||||
|
** Configuration
|
||||||
|
set user
|
||||||
|
#+begin_src shell :tangle ~/.gitconfig
|
||||||
|
[user]
|
||||||
|
name = paul-loedige
|
||||||
|
email = paul@gve-loedige.de
|
||||||
|
#+end_src
|
||||||
|
set default branch to =main=
|
||||||
|
#+begin_src shell :tangle ~/.gitconfig
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
#+end_src
|
||||||
* Misc Programs
|
* Misc Programs
|
||||||
** Zathura
|
** Zathura
|
||||||
*** Installation
|
*** Installation
|
||||||
@@ -994,3 +1134,7 @@ zathura
|
|||||||
#+begin_src shell :tangle ~/.config/zathura/zathurarc :mkdirp yes
|
#+begin_src shell :tangle ~/.config/zathura/zathurarc :mkdirp yes
|
||||||
set synctex true
|
set synctex true
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Nextcloud
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
nextcloud-client
|
||||||
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user