View myscript
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
echo 200 | sudo tee /sys/class/backlight/intel_backlight/brightness | |
#pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 0 | |
syndaemon -i 1 -d | |
synclient touchpadoff=1 | |
#ibus exit | |
#echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | |
sudo service bluetooth stop | |
sudo service ssh stop |
View brightness
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
------------ | |
/usr/bin/br+ | |
------------ | |
#!/bin/bash | |
curval=`cat /sys/class/backlight/intel_backlight/brightness` | |
if [ $curval -ge 700 ]; then | |
echo already max | |
else |
View blacklist
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
#arun blacklist | |
blacklist btrfs | |
blacklist zlib_deflate | |
blacklist ufs | |
blacklist qnx4 | |
blacklist hfsplus | |
blacklist hfs | |
blacklist minix | |
blacklist vfat | |
blacklist msdos |
View vimrc
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
set nu | |
set ai | |
set incsearch | |
set hlsearch | |
set expandtab | |
set ts=4 | |
set shiftwidth=4 | |
set ic | |
set cindent | |
set cursorline |
View toggletouch
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 | |
#SYNSTATE=$(xinput list-props "SynPS/2 Synaptics TouchPad" | grep Enabled | grep -Eo '.$') | |
#if [ $SYNSTATE = 0 ]; then xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1 | |
#else xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 0 | |
#fi | |
SYNSTATE=$(synclient -l|grep TouchpadOff|cut -d = -f2) | |
if [ $SYNSTATE = 0 ]; then synclient touchpadoff=1 | |
else synclient touchpadoff=0 |
View fontconfig
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
FILE: /etc/fonts/conf.d/99-sharp-fonts.conf | |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="font"> | |
<edit name="antialias" mode="assign"><bool>true</bool></edit> | |
<edit name="hinting" mode="assign"><bool>true</bool></edit> | |
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit> | |
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit> |
View Backup
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
$ cat list.txt | |
/home/arun/.bashrc | |
/home/arun/.vimrc | |
/home/arun/.config/smplayer/smplayer.ini | |
/opt/tor-browser_en-US/Docs/ChangeLog.txt | |
$ take_backup.sh list.txt | |
$ tar -xvf backup-timestamp.tar.bz2 -C / |
View AltYo
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
[profile0] | |
custom_command= | |
profile_version=0;3;12; | |
distrib_id=ubuntu | |
reduce_memory_usage=false | |
window_allow_remote_control=false | |
debug=false | |
workaround_if_focuslost=true | |
keep_above_at_startup=true | |
start_hidden=true |
View blank
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
perl -e 'select(undef,undef,undef,.1)' && xset dpms force off | |
xtrlock -b |
View infinality settings
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
################################################################## | |
### INFINALITY ENVIRONMENT VARIABLES FOR EXTRA RUN-TIME OPTIONS ## | |
################################################################## | |
# | |
# These environment variables require that their respective patches | |
# from http://www.infinality.net have been applied to the Freetype | |
# installation you are using. They will do abolutely | |
# nothing otherwise! | |
# |
OlderNewer