diary - schmynth/hydotfiles GitHub Wiki
- Diary
Fullscreen hotkey terminal:
ddterm gnome extension
tool um Platz zu schaffen:
ncdu
Ordner synchronisieren:
rsync
rsync -az source destination
cpupower-gui Programm um Performance governor zu steuern
cpufrequtils Programm um CPU Frequenz zu printen
cpufreq-info
Um FN+Fx als F Key zu benutzen:
sudo bash -c "echo 0 > /sys/module/hid_apple/parameters/fnmode"
(Schreibt eine 0 in die angegebene Datei. Danach funktionieren die Fn+F Kombinationen und es kann sogar mit Fn+Tab+f umgeschaltet werden.)
Um das permanent zu machen:
Datei erstellen:
sudo nano /etc/modprobe.d/hid_apple.conf
Und darein schreiben:
options hid_apple fnmode=0options
und anschließend
mkinitcpio -P
To change projection of Wacom tablet issue:
xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput HEAD-1
xrandr --listactivemonitors
HEAD-1-> Monitor 1
HEAD-0-> Monitor 0
yay -S x11-keyboard-flags
sudo x11-keyboard-flags
then log off and on
sudo pacman -S ddcutil i2c-tools
sudo modprobe i2c-dev
Gnome erweiterung installieren.
Alternativ in cli:
ddcutil setvcp 10 + 10
zum Erhöhen der Helligkeit. Sonst am Ende - 10.
eigene .desktop files in ~/.local/share/applications Beispiel matlab.desktop
extract to ~/.icons
auch für Flatpak ändern:
flatpak --user override --filesystem=/home/$USER/.icons/:ro
erst:
echo "[Desktop Entry] Hidden=true" > /tmp/1
dann:
find /usr -name "*lsp_plug*desktop" 2>/dev/null | cut -f 5 -d '/' | xargs -I {} cp /tmp/1 ~/.local/share/applications/{}
alsamixer nicht gefunden, obwohl alsa-utils installiert ist? Das bedeutet nur, dass die Soundkarte nicht gefunden wurde.
Also eine andere ausprobieren:
alsamixer -c 1 (card no. 1)
Jack midi driver -> none
In Bitwig mpk mini als generic keyboard+knobs (nicht mpk mini) konfigurieren. Beim neueren mpk plus allerdings nicht nötig.
-
pipewire installieren (alles aus den repos)
-
config ändern (deutsches tutorial für ubuntu yt)
-
realtime-privileges installieren
-
user zu audio und realtime groups hinzufügen
-
Bitwig aus aur installieren
-
threadirqs kernel parameter hinzufügen in grub, dann:
grub-mkconfig -o /boot/grub/grub.cfg
-
mit cpupower-gui auf performance stellen
yabridge wine vst gui aktualisiert nicht?
winetricks dxvk
plugins alle individuell sandboxen
Bitwig findet plugins nicht? -> Lösche vst meta data in /home/sebastian/.BitwigStudio/cache
Arch grub config aktualisieren:
nano /etc/default/grub
dann
grub-mkconfig -o /boot/grub/grub.cfg
map count!
Wine prefixes erstellen in Terminal:
WINEPREFIX=~/.newPrefix WINEARCH="win32" winecfg
WINEARCH ist optional, winecfg startet einfach winecfg für das neue Prefix.
newPrefix ist der Name des neuen Prefix, kann frei gewählt werden.
Um das Prefix später zu verwenden:
WINEPREFIX=~/.newPrefix app.exe
oder um es zu verändern:
WINEPREFIX=~/.newPrefix winecfg oder winetricks
Environment variables setzen: in .zshrc:
export VARNAME="variable" # (ohne space geht auch ohne "")
oder in .zshenv
.zshrc aktualisiert? Mach:
source .zshrc
Um den Zustand von nvme drives zu prüfen: sudo pacman -S nvme-cli
Dann nvme smart-log /dev/nvme0
je nach device name.
The structure of fstab is the following:
<device>
<dir>
<type>
<options>
<dump>
<fsck>
<device>:
Path to the device (network or local /dev path)
<dir>:
Directory to mount the device into
<type>:
for local devices: file system, for remote devices: share type (nfs, samba etc.)
<options>:
comma-separated list.
-
nofail
: continue booting when mounting of device fails -
_netdev
: ensures mounting is not attempted before network is up and running
<dump>:
typically 0
<fsck>:
sets the order for file system checks at boot time. For the root device it should be 1. For other partitions it should be 2, or 0 to disable checking.\
nas mounten: (fstab) (Manjaro)
192.168.178.35:/nas /home/sebastian/NAS nfs defaults,_netdev 0 0
Arch: 192.168.178.35:/nas /home/sebastian/NAS nfs defaults,timeo=900,retrans=5,_netdev 0 0 server-address:/folder mountpoint
hidden files (no dot):
hide files without renaming them:
echo Folder Name >> ~/.hidden
scp file1.txt file2.txt [email protected]:folder1/
kopiert file1.txt und file2.txt in /home/pi/folder1. Absolute Pfade gehen auch. Das Passwort von pi (user) auf dem Server (RPi) muss eingegeben werden.
Software von Drittanbietern in /opt installieren
Wenn yay nicht updaten kann, weil keine git-Repositories gefunden werden:
rm -rf ~/.cache/yay/*
Arch pacman mirrorlists:
-
https://archlinux.org/mirrorlist/ Mirrorlist für DE erstellen und zb als ~/full-mirrorlist speichern
- alle in der liste unkommentieren: sed -i 's/#Server/Server/g' ~/full-mirrorlist
- Nach Geschwindigkeit sortieren: rankmirrors ~/full-mirrorlist > ~/ranked-mirrors
- /etc/pacman.d/mirrorlist durch ranked-mirros Inhalt ersetzen
oder einfach reflector benutzen:
reflector --country France,Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
show installed aur packages:
pacman -Qm
Um Plugins zu installieren:\
mkdir ~/.vim
mkdir ~/.vim/bundle
Für Plugin-Management wird vundle verwendet.\
Vundle installieren:
cd ~/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Nach Installation eines Plugins in vim folgenden Befehl ausführen:
:PluginInstall
ale ist ein Plugin für Syntax-Highlighting (Farben etc.). Zum Installieren:
cd ~/.vim/bundle
git clone https://github.com/dense-analysis/ale
To list all open windows (to find out the name or class):
hyprctl clients
sudo pacman -S hyprpaper
yay -S waypaper
Dabei ist hyprpaper das backend und waypaper der GUI wallpaper selector.
If gtk apps are not respecting dark theme:
https://wiki.hyprland.org/Configuring/Environment-variables/#xdg-specifications
rofi ist ein App-Launcher.
You can learn how to set Rofi shortcuts and more here.
- Clone this repository and change to its directory:
git clone https://github.com/lr-tech/rofi-themes-collection.git
cd rofi-themes-collection
- If you don't have the directories needed for the install create them with:
mkdir -p ~/.local/share/rofi/themes/
cp themes/<your-selected-theme> ~/.local/share/rofi/themes/
-
Run Rofi in
run
mode, then runrofi-theme-selector
. -
Search for your desired theme, press
enter
to preview, thenAlt+a
to accept the new theme. -
Enjoy your new Rofi theme!
yay -S hyprshade
hyprshade on blue-light-filter
To login over ssh:
ssh username@serverip
If you get the error mount.nfs: Stale file handle
:
unexport every share with:
exportfs -ua
then reexport every share with:
exportfs -a