Arch install

loadkeys de-latin1 cfdisk /dev/sda1 512M /dev/sda2 25G /dev/sda3 XXX mkfs.fat -F32 /dev/sda1 mkfs.btrfs /dev/sda2 mkfs.btrfs /dev/sda3 mounting mount /dev/sda2 /mnt basic packages pacstrap /mnt base linux-lts linux-firmware fstab genfstab -U /mnt » /mnt/etc/fstab arch-chroot /mnt ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime hwclock –systohc install editor pacman -S vim networkmanager grub efibootmgr sudo systemctl enable NetworkManager Edit /etc/locale.gen and uncomment en_US.UTF-8 UTF-8 and other needed locales. vim /etc/locale.gen de_DE.UTF-8 and en_US.UTF-8 locale-gen vim /etc/locale.
Read more →

chromium profile dir

Read more →

pavucontrol - set default audio - keybinding

Read more →

yaml front matter

template for markdown
Read more →

firefox download action

Firefox download action change pop-up menu when you download something on some downloads, you cant choose which behavior firefox shoul remember, for example on RAR files To change the default behavior on firefox regards to ‘rar, zip, mkv, avi, and so on you can edit the ‘handlers.json’ file in your firefox profile folder the quote font sign is displayed mostly wrong, so dont copy-and-paste the default handlers.json {"defaultHandlersVersion":{"en-US":4},"mimeTypes":{},"schemes":{"irc":{"stubEntry":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"https://www.mibbit.com/?url=%s"}]},"ircs":{"stubEntry":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"https://www.mibbit.com/?url=%s"}]},"mailto":{"stubEntry":true,"handlers":[null,{"name":"Yahoo! Mail","uriTemplate":"https://compose.mail.yahoo.com/?To=%s"},{"name":"Gmail","uriTemplate":"https://mail.google.com/mail/?extsrc=mailto&url=%s"}]}}} edit the part "mimeTypes":{} add in the brakets "application/pdf":{"action":0,"extensions":["pdf"]},"application/octet-stream":{"action":0,"extensions":["mkv"]},"application/octet-stream":{"action":0,"extensions":["mp4"]},"application/octet-stream":{"action":0,"extensions":["avi"]},"application/octet-stream":{"action":0,"extensions":["rar"]},"application/octet-stream":{"action":0,"extensions":["zip"]},"application/octet-stream":{"action":0,"extensions":["7zip"]},"application/octet-stream":{"action":0,"extensions":["mp3"]}
Read more →

2020 09 23 Using Vim Plugins

Read more →

2020 09 23 ffmpeg Copy Just Video and Audio Stream

just select first video and first audio stream… no subtitle ffmpeg -i input.mkv -map 0:v -c:v copy -map 0:a -c:a copy outputfile.mkv cutting time, you have to set an time marker at which point it will be cut. Example at 0 hour 12 min 16 sec. ffmpeg -i input.mkv -t 00:12:16 -map 0:v -c:v copy -map 0:a -c:a copy outputfile.mkv if you have to select all audio and all video streams map flag will be drop and just do
Read more →

2020 09 26 QEMU und Virt-Manager

Read more →

2020 09 20 virt-manager shared folder

How to set up shared folders in virt-manager the host is the physical machine and the guest machine is the virtual-machine create a folder root@host# mkdir /share root@host# chmod 777 /share Afterwards shut down the guest if it’s running and attach the new filesystem in virt-manager: Switch the view to detail hardware view: View > Details Add a device (Gerät hinzufügen) select filesystem (Dateisystem auswählen) source path (/share in our case) and virtual target path (anything you like, I will go with /sharepoint) Driver (Treiber) = default Switch mode to Mapped if you need to have write access from the guest Confirm and start the VM again Now you can mount your shared folder from the VM:
Read more →

2020 09 20 hplip

install cups packages start and enable sudo systemctl enable cups.service download package && extract sudo pacman -Ss hplip gunzip hplip cd into /usr/share/ppd/HP/ && cp it cp /usr/share/ppd/HP/hp-laserjet_professional_p_1102w.ppd.gz /home/$USER/Downloads/ && tar -xzf /home/$USER/Downloads/hp-laserjet_professional_p_1102w.ppd.gz adding printer goto localhost:631 cups verwaltung drucker hinzufügen kein drucker, vielleicht fehlt avahi sudo systemctl status avahi-daemon.service drucker auswählen und installieren. printer teilen auswählen ppd einfügen reboot hplip downloaden && installieren auf Version achten https://developers.hp.com/hp-linux-imaging-and-printing/plugins hplip-plugin installieren hp-plugin -i
Read more →

2020 09 15 arch update grub

Read more →

2020 09 15 automount an android device

found a sh script from youtuber Brodie Robertson it’s automounting an android device it’s need dmenu mtpfs and it’s based on Arch Wiki MTP #!/bin/sh Dir=$HOME/cell/ # Make the cell directory if it doesn't exist if [ ! -d "$Dir" ]; then mkdir "$Dir" fi # Select device Devices=$(simple-mtpfs -l) if [ ! -n "$Devices" ]; then notify-send "No devices found" exit else Device=$(echo "$Devices" | dmenu -p "Select device:" || notify-send "No device selected") Id=${Device%%:*} Name=${Device##*: } if [ !
Read more →

2020 09 15 Creating a Post

Read more →

2020 09 15 git commands

Read more →

gitlab unfork project

Read more →

Start with Blogging

Basic Sctructure Hugo is the static site generator Atom is an editor (optional) pacman -Ss atom GitLab is the hosting platform Markdown is the language to type Hugo Commands as a terminal app, it uses commands in the folder of the site hugo server generates the site and ca be viewed on localhost:1313 Markdown Front Matter is the header of a post and is to use Metadata yaml uses --- (3 dashes) and no "" (quotes)
Read more →

Debloat Samsung Mobile

Read more →

awk search

Read more →

set default audio

Read more →