Commands

Posted on Fr 08 August 2014 in Notebook

permissions

find /home/user -type d -print0 | xargs -0 chmod 0775
find /home/user -type f -print0 | xargs -0 chmod 0664

clean up dconf

For a single key:

dconf reset "/path/to/the/key"

Must not end with a /. For a whole path:

dconf reset -f "/path/to/the/path/"

Must end with a /. If you do this while having dconf-editor opened, it will likely crash.

nvidia metamode

nvidia-settings --assign CurrentMetaMode="DFP-2: 1920x1080 { ViewPortIn=1024x768, ViewPortOut=1440x1080+240+0}"