====== Kudell auf Debian ====== ===== Installierte Pakete ===== ==== /etc/apt/sources.list ==== ==== Installation ==== apt install \ vim gimp ffmpeg default-jdk git wget nano vim \ htop locate zip p7zip p7zip-full unzip \ gnome-shell-extension-manager nvidia-driver libavcodec-extra \ vlc nvidia-detect nvidia-driver keepass2 emacs rsync curl \ nvidia-opencl-icd imagemagick exiftool dcraw sqlitebrowser \ smartmontools lshw inxi restic abcde lame easytag brasero \ remmina needrestart scribus net-tools mono-complete mc pv \ ntpsec ttf-mscorefonts-installer sudo apt purge fonts-noto-color-emoji ==== user-account in sudoers ==== Hinzufügen des Benutzernamens in die Zeile ''sudo'' der Datei ''/etc/group'' ==== Swappiness senken ==== Swappiness is 60 by default which is fine in most cases. But if you decrease this number, your system will use RAM more and start writing to Swap much later. Swap is an actual disk space and it is much slower than RAM. If you have 8G or more of RAM, you can force your system to use it at maximum. First, check your swappiness value: cat /proc/sys/vm/swappiness Open the /etc/sysctl.conf file with Vim and add ''vm.swappiness = 10'' at the very end. ==== Einschub: Verbindung zu hermes und den backups herstellen ==== ssh springm@hermes sudo su echo "restic --no-lock -p /root/resticpw -r /backupdisk/restic-repo mount /resticrestore" | at now cd /resticrestore/hosts/kudell/latest tar cjf /tmp/kudellroot.tg2 root tar cjf /tmp/kudelletc.tg2 etc tar cjf /tmp/kudellspringmssh.tg2 home/springm/.ssh Auf kudell: scp springm@hermes:/tmp/kudell*2 /tmp mv ~springm/.ssh ~springm/.ssh.old cd /tmp tar xjf kudellroot.tg2 mv /root /root.old mv root / Damit sind die alten ssh-keys wieder intakt. ==== Nvidia-Suspend ==== Ohne diese Maßnahmen funktioniert OpenCL nach Suspend-Resume nicht mehr in darktable. Von: https://askubuntu.com/questions/1228423/how-do-i-fix-cuda-breaking-after-suspend options nvidia NVreg_PreserveVideoMemoryAllocations=1 options nvidia NVreg_TemporaryFilePath=/tmp anlegen und systemctl enable nvidia-suspend.service ausführen. root@kudell:/home/springm# systemctl status nvidia-suspend.service ○ nvidia-suspend.service - NVIDIA system suspend actions Loaded: loaded (/lib/systemd/system/nvidia-suspend.service; enabled; prese> Active: inactive (dead) Mai 29 10:23:59 kudell systemd[1]: Starting nvidia-suspend.service - NVIDIA sys> Mai 29 10:23:59 kudell suspend[4896]: nvidia-suspend.service Mai 29 10:23:59 kudell logger[4896]: <13>May 29 10:23:59 suspend: nvidia-suspen> Mai 29 10:24:00 kudell systemd[1]: nvidia-suspend.service: Deactivated successf> Mai 29 10:24:00 kudell systemd[1]: Finished nvidia-suspend.service - NVIDIA sys> ==== Wake-on-Lan ==== 1.Install ethtool : sudo apt install ethtool 2.Checking the Interface : ip a 3.Select the interface you want to use. For Example : ''enp4s0'' 4.Turn wake on lan On Temporarily : sudo ethtool --change enp4s0 wol g 5.Check the WOL status of the interface with the following command : sudo ethtool enp4s0 6.find the bellow section : Wake-on: g Making wake on lan Permanent 7.find ethtool directory : which ethtool in my os : /usr/sbin/ethtool 8.Create wol.service in /etc/systemd/system/ with the following content. [Unit] Description=Enable Wake On Lan [Service] Type=oneshot ExecStart = /usr/sbin/ethtool --change enp4s0 wol g [Install] WantedBy=basic.target 9.Enable The Service : sudo systemctl daemon-reload sudo systemctl enable wol.service ==== Signal ==== Download und installieren entsprechend Anweisungen entsprechend https://signal.org/download/linux/ ==== Darktable ==== siehe [[computer:debian:darktable|Darktable]] ==== Raw-Previews ==== siehe [[computer:debian:raw-previews|Raw Previews in Debian/Ubuntu]] ===== atuin ===== bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh) Konfiguration für atuin in ''~/.config/atuin/config.toml'', wichtig hier die Zeile sync_address = "http://192.168.2.252:8888" damit der Atuin-Server auf hermes angesprochen wird ==== Webex ==== Download von https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb Installieren mit ''dpkg -i Webex.deb''. Dependencies nachinstallieren mit ''apt-get -f install'' ==== user.dirs verändern ==== Downloads in downloads verwandeln, damit Dokumente und downloads unterschiedlich beginnen und das autocomplete schon nach 2 Buchstaben funktioniert. # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Schreibtisch" XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_TEMPLATES_DIR="$HOME/Vorlagen" XDG_PUBLICSHARE_DIR="$HOME/Öffentlich" XDG_DOCUMENTS_DIR="$HOME/Dokumente" XDG_MUSIC_DIR="$HOME/Musik" XDG_PICTURES_DIR="$HOME/Bilder" XDG_VIDEOS_DIR="$HOME/Videos" ==== keepass2 ==== Installieren als normales Debian-Paket. Kee-Plugin holen und installieren mit sudo su exit curl -s https://api.github.com/repos/kee-org/keepassrpc/releases/latest | jq -r ".assets[] | select(.name | test(\"KeePassRPC.plgx\")) | .browser_download_url" | xargs sudo curl -s -L -o "/usr/lib/keepass2/Plugins/KeePassRPC.plgx" ls -l /usr/lib/keepass2/Plugins/KeePassRPC.plgx ==== Adobe Reader ==== siehe [[computer:debian:Adobe Reader unter Linux]] ==== Restic Backup ==== siehe [[computer:ubuntu:restic-backup-docker-hermes]] ===== Einstellungen ===== ==== Alt-Tab Verhalten ändern ==== For anyone who is using Ubuntu 18 (to give you the same behavior as e.g. on Windows10): * go to settings > devices > keyboard * look for the keyboard shortcut for "Switch windows" * set this to the shortcut Alt+Tab (this will overwrite the old shortcut) ==== Zusätzliche emacs-Desktop-Einträge verhindern ==== cd /usr/share/applications sudo chmod 600 emacsclient.desktop emacs-term.desktop ==== Mac-Theme ==== Von https://www.debugpoint.com/gnome-40-macos-look-1/ ===== Drucken auf Kyocera 1061 ===== Wird nicht vom Standard-Debian unterstützt cd ~/projekte mkdir kyocera cd kyocera git clone https://github.com/Fe-Ti/rastertokpsl-re/ cd rastertokpsl-re/ sudo apt install libcupsimage2-dev libcups2-dev cmake cmake -B_build -H. cmake --build _build/ sudo ./install.sh Drucker in CUPS einrichten als %%socket://192.168.2.3:9100%% und den neu gebauten Treiber ''Kyocera FS-1060DN-KPDSL angeben. ===== Sound und Subwoofer ===== Sound funktioniert über die XONAR SE Soundkarte, Subwoofer läuft nicht am Subwoofer-Ausgang :( Abhilfe: Subwoofer an den Rear-Port anschließen {{:computer:debian:pasted:20231004-073418.png}} ==== Gnome Einstellungen ==== mit "tweak" {{:computer:debian:pasted:20231115-073529.png}} {{:computer:debian:pasted:20231115-073545.png}} {{:computer:debian:pasted:20231115-073558.png}} {{:computer:debian:pasted:20231115-073611.png}} {{:computer:debian:pasted:20231115-073621.png}} {{:computer:debian:pasted:20231115-073639.png}} {{:computer:debian:pasted:20231115-073652.png}}