- Copy
99-u2f_lock_screen.rules
to/etc/udev/rules.d
. - Copy
gnome_lock_all_sessions
to/usr/local/bin
. - Mark
gnome_lock_all_sessions
as executable:chmod +x /usr/local/bin/gnome_lock_all_sessions
- Reload udev:
udevadm control -R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "removeing evaluation key" | |
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key | |
echo "resetting evalsprt in options.xml" | |
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml | |
echo "resetting evalsprt in prefs.xml" | |
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; then | |
MB=1024 | |
else | |
MB="$1" | |
fi | |
if [ -z "$2" ]; then | |
browser="google-chrome-beta" |