# Software Installs

# XFCE Shortcut problems

After installing XFCE i had multiple Problems with my hotkeys.

I installed XFCE on Ubuntu with  
`sudo apt-get install xubuntu-desktop`

Every step can be added at  
`Open Menu -> Settings -> Keyboard -> Tab Application Shortcuts.`


# Media Keys

## Next Track
Command: 
`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2  org.mpris.MediaPlayer2.Player.Next`
Key:  
Press the `Next Track` Media key. 

## Previous Track
Command: 
`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2  org.mpris.MediaPlayer2.Player.Previous`
Key:  
Press the `Next Track` Media key. 

## Play/Pause Track
Command: 
`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause`  
Key:  
Press the `Play/Pause` Media key.

## Stop Track
Command: 
`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop`  
Key:  
Press the `Stop` Media key.

Source : [man42.net Blogpost](https://www.man42.net/blog/2014/04/debian-xfce4-spotify/)

# Lockscreen and WhiskerMenu

## Lockscreen

Command:  
`xflock4`  
Key:  
Press the `Super + L` Combo for Windows Like Lock

## WhiskerMenu open on Super

Command:  
`xfce4-popup-whiskermenu`  
Key:  
Press the `Super` Key    

Note: `Super L` will be displayed as Key, works still as intended.

# ElasticSearch Tips

On error  
```[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]```  
you need to increase the value not on the guest, but on the host server, as the guest has no access to kernel variables.

Append  
```vm.max_map_count = 262144```  
in /etc/sysctl.conf


### too many open files:

    Increase ulimits -Hn and ulimits -Sn to more than 200000
    and restart elasticearch

# Programs for QOL [WIP]

Following page will list programs i use on a daily base.  

##### ZSH

##### OhMyZSH

##### Powerlevel9k

##### Guake

##### WorkRave

##### MysqlWorkbench

##### ConEmu (Windows)
Listed cause it's the next best thing to guake on windows.  
Supports Bash for Windows, cmd, powershell and more.  
[ConEmu on GitHub](https://conemu.github.io/)

# Arch

# Basic Setup

Missing japanese / non ascii characters: 
```
yay -S noto-fonts-cjk noto-fonts-emoji noto-fonts
```



# nextcloud-client

To get nextcloud-client working with the keychain you need to install following packages:

* libgnome-keyring
* qtkeychain
* gnome-keyring

Otherwise nextcloud-client will ask every login for credentials. 

# Splash Screen

Using plymouth & plymouth-encrypt  
Src: [Archwiki](https://wiki.archlinux.org/index.php/Plymouth)