computer:debian:kudell_auf_debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:debian:kudell_auf_debian [2024/05/21 20:10] – [Signal] springcomputer:debian:kudell_auf_debian [2024/11/14 16:48] (current) spring
Line 15: Line 15:
     nvidia-opencl-icd imagemagick exiftool dcraw sqlitebrowser \     nvidia-opencl-icd imagemagick exiftool dcraw sqlitebrowser \
     smartmontools lshw inxi restic abcde lame easytag brasero \     smartmontools lshw inxi restic abcde lame easytag brasero \
-    remmina needrestart scribus net-tools mono-complete mc pv+    remmina needrestart scribus net-tools mono-complete mc pv 
 +    ntpsec ttf-mscorefonts-installer 
 +     
 +  sudo apt purge fonts-noto-color-emoji
  
 ==== user-account in sudoers ==== ==== user-account in sudoers ====
Line 36: Line 39:
   cd /resticrestore/hosts/kudell/latest   cd /resticrestore/hosts/kudell/latest
   tar cjf /tmp/kudellroot.tg2 root   tar cjf /tmp/kudellroot.tg2 root
-  tar cjf /tmp/kudelletc.tg2+  tar cjf /tmp/kudelletc.tg2 etc
   tar cjf /tmp/kudellspringmssh.tg2 home/springm/.ssh   tar cjf /tmp/kudellspringmssh.tg2 home/springm/.ssh
  
Line 48: Line 51:
  
 Damit sind die alten ssh-keys wieder intakt. 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
 +
 +<file etc/modprobe.d/nvidia-power-management.conf>
 +options nvidia NVreg_PreserveVideoMemoryAllocations=1
 +options nvidia NVreg_TemporaryFilePath=/tmp
 +</file>
 +
 +anlegen und 
 +
 +  systemctl enable nvidia-suspend.service
 +ausführen.
 +
 +<file>
 +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>
 +</file>
 +
 +
  
 ==== Wake-on-Lan ==== ==== Wake-on-Lan ====
Line 97: Line 129:
 ==== Signal ==== ==== Signal ====
 Download und installieren entsprechend Anweisungen entsprechend https://signal.org/download/linux/ Download und installieren entsprechend Anweisungen entsprechend https://signal.org/download/linux/
-==== darktable ====+==== Darktable ==== 
 +siehe [[computer:debian:darktable|Darktable]] 
 +==== Raw-Previews ==== 
 +siehe [[computer:debian:raw-previews|Raw Previews in Debian/Ubuntu]]
  
-Paket von https://software.opensuse.org//download.html?project=graphics%3Adarktable%3Amaster&package=darktable herunterladen und mit ''dpkg -i'' installieren +===== atuin ===== 
- +  bash <(curl --proto '=https' --tlsv1.-sSf https://setup.atuin.sh) 
-=== Nightly NICHT EMPFOHLEN, kein Lua === +Konfiguration für atuin in ''~/.config/atuin/config.toml'', wichtig hier die Zeile 
-AppImage von ''https://github.com/darktable-org/darktable/releases/tag/nightly'' herunterladen.  +  sync_address = "http://192.168.2.252:8888" 
-Starten mit  +damit der Atuin-Server auf hermes angesprochen wird
-  ~/downloads/Darktable-4.7.0+227.g420bc453d7-x86_64.AppImage  --configdir "~/.config/darktable-master" --cachedir "~/.cache/darktable-master" +
- +
-=== raw-Previews === +
-siehe https://ocroquette.wordpress.com/2021/03/30/thumbnails-for-raw-images-in-gnome-nautilus/ +
- +
-<file bash /usr/local/bin/dcraw-thumbnailer> +
-#!/bin/bash +
-  +
-# Usage: +
-#   dcraw-thumbnailer [size] [source] [destination] +
-  +
-# Exit with error on any error +
-set -e +
-  +
-size=$1 +
-source=`echo "$2" | sed 's/file:\/\///'` +
-destination=$3 +
-  +
-# Conversion table from EXIF orientation code to degrees (Bash 4 and newer) +
-declare -A conv=( ["1"]="0" ["3"]="180" ["6"]="90" ["8"]="270"+
-  +
-# Read orientation with exiftool +
-# Triple -s output only the value +
-# -n        : output numerical value, do not convert to human readable form +
-rotation_code=`exiftool -Orientation -s -s -s -n "$source"+
-rotation_deg="${conv[$rotation_code]}" +
-  +
-# Extract the thumbnail (usually stored as JPEG) with dcraw, resize, rotate  and convert it. +
-# The target format will be inferred from the destination file name (usually PNG). +
-dcraw -c -e -w "$source" | convert -resize ${size}x${size} -rotate "${rotation_deg}" - "$destination" +
-</file> +
- +
-<file bash ~/.local/share/thumbnailers/dcraw.thumbnailer> +
-[Thumbnailer Entry] +
-TryExec=/usr/bin/dcraw-thumbnailer +
-Exec=/usr/bin/dcraw-thumbnailer %s %i %o +
-MimeType=image/x-sony-arw;image/x-canon-cr2;image/x-canon-crw;image/x-kodak-dcr;image/x-adobe-dng;image/x-epson-erf;image/x-kodak-k25;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-olympus-orf;image/x-pentax-pef;image/x-fuji-raf;image/x-panasonic-raw;image/x-sony-sr2;image/x-sony-srf;image/x-sigma-x3f; +
-</file>+
  
 ==== Webex ==== ==== Webex ====
Line 177: Line 174:
  
 ==== Adobe Reader ==== ==== Adobe Reader ====
-fromhttps://unix.stackexchange.com/questions/3505/how-to-install-adobe-acrobat-reader-in-debian +siehe [[computer:debian:Adobe Reader unter Linux]]
- +
-NOTEThe 9.x branch of reader has been EOL'd as of June 26, 2013. If you need native Adobe Reader support on Linux, 9.x is your only option! 10 doesn't list Linux as being supported, and likely never will. More on it too here: Adobe abandons Linux. +
- +
-  wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb +
- +
-After doing this we should have the file, AdbeRdr9.5.5-1_i386linux_enu.deb. Now we're ready to install it. +
- +
-The file we just downloaded is the 32-bit version of Adobe Reader. Adobe only provides Reader as a 32-bit binary, there is no 64-bit variant, but this is perfectly fine, we just need to install it a bit differently than most .deb packages. +
- +
-First we need to add the 32-bit architecture to our system (multiarch), then update. +
- +
-  sudo dpkg --add-architecture i386 +
-  sudo apt-get update +
- +
-Now attempt to install Adobe Reader with either dpkg and apt-get OR gdebi. If you pick the first option, it will require you to tell apt-get to fix any broken installed packages. This would seem to be a hack, but it basically gets apt to do the heavy lifting for us and install/fix any missing or broken packages with relatively little fuss. Alternatively, using the second method, gdebi will automatically resolve the dependencies. +
- +
-  sudo dpkg -i AdbeRdr9.5.5-1_i386linux_enu.deb +
-  sudo apt-get install -f +
- +
-Now, attempting to launch acroread with +
- +
-  acroread +
- +
-gives +
- +
-  /opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory +
- +
-Adobe forgot a dependency. We can figure out which package to install using apt-file. +
- +
-  apt-file search libxml2.so.2 +
- +
-which gives libxml2. So we do +
- +
-  apt-get install libxml2:i386+
  
-to install the i386 version of libxml2.+==== Restic Backup ==== 
 +siehe [[computer:ubuntu:restic-backup-docker-hermes]]
 ===== Einstellungen ===== ===== Einstellungen =====
 ==== Alt-Tab Verhalten ändern ==== ==== Alt-Tab Verhalten ändern ====
Line 231: Line 195:
 Wird nicht vom Standard-Debian unterstützt Wird nicht vom Standard-Debian unterstützt
 <file bash> <file bash>
-cd projekte+cd ~/projekte
 mkdir kyocera mkdir kyocera
 cd kyocera cd kyocera
 git clone https://github.com/Fe-Ti/rastertokpsl-re/ git clone https://github.com/Fe-Ti/rastertokpsl-re/
 cd rastertokpsl-re/ cd rastertokpsl-re/
-sudo apt install libcupsimage2-dev libcups2-dev+sudo apt install libcupsimage2-dev libcups2-dev cmake
 cmake -B_build -H. cmake -B_build -H.
 cmake --build _build/ cmake --build _build/
-./install.sh+sudo ./install.sh
 </file> </file>
  
-Drucker in CUPS einrichten als %%socket://192.168.2.3:9100%% und den Treiber aus dem Build-Verzeichnis (Kyocera FS-1060DNangeben.+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 und Subwoofer =====
  • computer/debian/kudell_auf_debian.1716322222.txt.gz
  • Last modified: 2024/05/21 20:10
  • by spring