This is an old revision of the document!


Kudell auf Debian

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

Hinzufügen des Benutzernamens in die Zeile sudo der Datei /etc/group

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.

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
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.

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

Download und installieren entsprechend Anweisungen entsprechend https://signal.org/download/linux/

Nightly NICHT EMPFOHLEN, kein Lua

AppImage von https://github.com/darktable-org/darktable/releases/tag/nightly herunterladen.
Starten mit

~/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/

/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"
~/.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;

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

Downloads in downloads verwandeln, damit Dokumente und downloads unterschiedlich beginnen und das autocomplete schon nach 2 Buchstaben funktioniert.

bash
# 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"

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

from: https://unix.stackexchange.com/questions/3505/how-to-install-adobe-acrobat-reader-in-debian

NOTE: The 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.

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)
cd /usr/share/applications
sudo chmod 600 emacsclient.desktop emacs-term.desktop

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 -B_build -H.
cmake --build _build/
./install.sh

Drucker in CUPS einrichten als socket://192.168.2.3:9100 und den Treiber aus dem Build-Verzeichnis (Kyocera FS-1060DN) angeben.

Sound funktioniert über die XONAR SE Soundkarte, Subwoofer läuft nicht am Subwoofer-Ausgang :(
Abhilfe: Subwoofer an den Rear-Port anschließen

mit “tweak”






  • computer/debian/kudell_auf_debian.1716322222.txt.gz
  • Last modified: 2024/05/21 20:10
  • by spring