Friday, September 21, 2018
Wednesday, September 19, 2018
Recursive chmod with sudo
For directories (which are usually not too many):
sudo chmod 755 $(sudo find path/to/dir -type d)
for files (which are numerous):
find path/to/dir -type f -print0 | sudo xargs -0 chmod 664
Sources:
https://superuser.com/questions/91935/how-to-recursively-chmod-all-directories-except-files
https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-execute-bin-chmod-argument-list-too-long-908143/
sudo chmod 755 $(sudo find path/to/dir -type d)
for files (which are numerous):
find path/to/dir -type f -print0 | sudo xargs -0 chmod 664
Sources:
https://superuser.com/questions/91935/how-to-recursively-chmod-all-directories-except-files
https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-execute-bin-chmod-argument-list-too-long-908143/
Monday, September 17, 2018
KDE disable super_L (windows key) key shortcut as menu launcher
In kde plasma 5.8 the super/win key is also used to trigger the
launcher, when pressed and released without combining it with another
key. To disable the feature, put
https://superuser.com/questions/1156130/kde-disable-super-l-windows-key-key-shortcut-as-menu-luncher
[ModifierOnlyShortcuts]
Meta=
in ~/.config/kwinrc.https://superuser.com/questions/1156130/kde-disable-super-l-windows-key-key-shortcut-as-menu-luncher
Subscribe to:
Posts (Atom)