~/bin of Nico Schottelius
Find a file
Nico Schottelius dffc965ac8 ++stva
2021-08-27 18:32:22 +02:00
ancient ++ cleanup 2018-03-30 14:31:55 +02:00
cron init 2017-07-19 17:15:41 +02:00
DIR_aendern Initial commit 2006-07-20 09:54:37 +02:00
eth init 2017-07-19 17:15:41 +02:00
fun cleanup 2020-08-11 16:22:02 +02:00
gfx graphix helper 2011-07-21 11:24:08 +02:00
historic_interest_only init 2017-07-19 17:15:41 +02:00
hsz-t add correct to for isg_order 2010-09-08 17:10:30 +02:00
linux init 2017-07-19 17:15:41 +02:00
network +script to mirror httrack 2011-07-21 11:57:43 +02:00
obsolete +obsolete 2011-07-21 14:56:31 +02:00
old add some headers to old files 2010-01-02 13:59:38 +01:00
ssa init 2017-07-19 17:15:41 +02:00
stats init 2017-07-19 17:15:41 +02:00
sys init 2017-07-19 17:15:41 +02:00
u2u add script to install software 2011-07-21 11:00:12 +02:00
update-notify init 2017-07-19 17:15:41 +02:00
.gitignore updated by /home/nico/bin/sync-all-repos on nb3 2021-07-02 10:48:22 +02:00
.rsync Transfer this directory to somewhere else 2006-07-20 09:57:02 +02:00
0toX add some headers to old files 2010-01-02 13:59:38 +01:00
2xterm auf x-terminal-emulator umgestellt 2006-10-09 10:50:05 +02:00
3pdflatex run pdflatex three time to have it generated everything correctly 2008-07-24 09:25:53 +02:00
3xterm update 2013-10-26 23:28:38 +02:00
4xterm auf x-terminal-emulator umgestellt 2006-10-09 10:50:05 +02:00
aalot init 2017-07-19 17:15:41 +02:00
acpi-lid-close update 2013-10-26 23:28:38 +02:00
acpi-no-wakeup disable the wrong acpi wakeup events 2015-03-27 22:38:46 +09:00
add-key-to-server.sh add script to add key to server 2020-09-10 14:27:54 +02:00
add-mutt+procmail-autosort add some headers to old files 2010-01-02 13:59:38 +01:00
apmcount Initial commit 2006-07-20 09:54:37 +02:00
archive_mails.sh init 2017-07-19 17:15:41 +02:00
archlinux-all-depending-packages.sh init 2017-07-19 17:15:41 +02:00
axfrs script to create new mailinglist 2010-07-12 22:47:21 +02:00
backtunnel.sh add tunnel to my notebook 2016-11-16 18:38:30 +01:00
backup-marker Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
battery-check.sh various updates 2019-12-08 19:28:42 +01:00
bilder_groesse_anpassen Initial commit 2006-07-20 09:54:37 +02:00
build-make+prefix.sh Adding new-old files. 2005-11-10 12:54:53 +01:00
burn-cd minor updates 2019-03-10 10:22:51 +01:00
cbacklight -- typos 2018-03-30 14:19:31 +02:00
chromium updated by /home/nico/bin/sync-all-repos 2020-05-21 00:35:50 +02:00
cleanup-latex fixup posix problems 2011-04-30 21:17:16 +02:00
console_dvd init 2017-07-19 17:15:41 +02:00
console_vcd init 2017-07-19 17:15:41 +02:00
copy-last-image-from-phone.sh add script to copy last taken image to my computer 2015-09-04 08:10:02 +02:00
copy-slash script to copy / elsewhere 2015-03-27 22:41:58 +09:00
create-logdir init 2017-07-19 17:15:41 +02:00
crypt-dev.rand.key Initial commit 2005-11-09 13:17:40 +01:00
darken_image.sh ++darken image 2021-02-28 16:32:44 +01:00
dcl-ip-converter.py init 2017-07-19 17:15:41 +02:00
dcl-rdns-generate.py update 2017-08-03 13:13:21 +02:00
debian-install.sh minimal script to install all needed debian packages 2008-11-28 12:43:10 +01:00
delete-mails Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
dhcp-abuse init 2017-07-19 17:15:41 +02:00
dhw2ps.pl init 2017-07-19 17:15:41 +02:00
dietcompile Initial commit 2006-07-20 09:54:37 +02:00
dietconfigure Initial commit 2006-07-20 09:54:37 +02:00
digital-uhr Initial commit 2006-07-20 09:54:37 +02:00
dnstunnel init 2017-07-19 17:15:41 +02:00
edit-server-text-aid-chromium Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
empty_trash add some old scripts 2015-03-27 22:53:09 +09:00
extcut Initial commit 2006-07-20 09:54:37 +02:00
extrac_ip_from_zonefile Initial commit 2006-07-20 09:54:37 +02:00
figlet_alle_fonts update? 2018-05-04 19:59:34 +02:00
firewall-masq init 2017-07-19 17:15:41 +02:00
first_to_upper Initial commit 2006-07-20 09:54:37 +02:00
fix_broken_2.5er init 2017-07-19 17:15:41 +02:00
freeciven Initial commit 2006-07-20 09:54:37 +02:00
ga.sh add ga launcher, add script to setup notebook 2020-01-20 12:07:52 +01:00
generate.rb init 2017-07-19 17:15:41 +02:00
generate_mutt_mailboxes update 2013-10-26 23:28:38 +02:00
generate_script_header Add description to header 2006-08-22 11:03:24 +02:00
get-ezmlm-mails Initial commit 2006-07-20 09:54:37 +02:00
get-latest-kernel update 2013-10-26 23:28:38 +02:00
get-sysinfo.sh add lsusb to get-sysinfo 2011-10-28 09:35:11 +02:00
get_absolute_path.sh Initial commit 2006-07-20 09:54:37 +02:00
get_decr-f-package Initial commit 2006-07-20 09:54:37 +02:00
get_latest_gnu_package Initial commit 2006-07-20 09:54:37 +02:00
get_news Initial commit 2006-07-20 09:54:37 +02:00
geturl init 2017-07-19 17:15:41 +02:00
git-fetch-merge-all.sh add files that are living in ~/bin for a while 2009-12-28 20:14:14 +01:00
git-mv.sh init 2017-07-19 17:15:41 +02:00
git-snapshot.sh Added minimal git-snapshot script 2005-12-07 21:42:09 +01:00
gpm init 2017-07-19 17:15:41 +02:00
greeting_intro_play Initial commit 2006-07-20 09:54:37 +02:00
gta.sh init 2017-07-19 17:15:41 +02:00
hole_mails disable logging 2020-08-16 17:52:54 +02:00
hole_mails2 init 2017-07-19 17:15:41 +02:00
http-auth.pl http-auth: add perldoc description 2009-03-09 11:43:01 +01:00
http_zeit.sh Initial commit 2006-07-20 09:54:37 +02:00
huebsch_drucken Drucken++ 2006-10-09 10:50:25 +02:00
i3-move-workspace add script to move workspace to a different monitor (thanks, steven!) 2014-02-26 14:26:02 +01:00
i3up +i3up, fix release_tmp 2019-04-12 18:18:39 +02:00
ical2org add script to convert ical to org modeb 2019-11-19 14:34:49 +01:00
ikiwikitest.sh update 2013-10-26 23:28:38 +02:00
ikn_init init 2017-07-19 17:15:41 +02:00
indent_script update the indent_script 2008-04-11 15:36:42 +02:00
install-k8s.sh minor updates 2019-03-10 10:22:51 +01:00
install-nicos-notebook add ga launcher, add script to setup notebook 2020-01-20 12:07:52 +01:00
install-packages Initial commit 2005-11-09 13:17:40 +01:00
install-qmail ++qmail script 2011-11-02 23:45:48 +01:00
install.add.links init 2017-07-19 17:15:41 +02:00
install_product.sh init 2017-07-19 17:15:41 +02:00
installpasswd init 2017-07-19 17:15:41 +02:00
ipg init 2017-07-19 17:15:41 +02:00
ips-dup init 2017-07-19 17:15:41 +02:00
ips-hinzu.sh init 2017-07-19 17:15:41 +02:00
irda_connect init 2017-07-19 17:15:41 +02:00
irkerd init 2017-07-19 17:15:41 +02:00
isonline +update description 2011-07-21 10:58:15 +02:00
jpeg2gifanim Initial commit 2006-07-20 09:54:37 +02:00
kamerasync update 2013-10-26 23:28:38 +02:00
kbd init 2017-07-19 17:15:41 +02:00
kbd.new init 2017-07-19 17:15:41 +02:00
kill_win Initial commit 2006-07-20 09:54:37 +02:00
latest-kernel init 2017-07-19 17:15:41 +02:00
latex_to_ae Initial commit 2006-07-20 09:54:37 +02:00
ldap-password.py create ldap password 2019-04-27 17:56:50 +02:00
lh Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
link-subdir Make it executable 2007-03-13 11:02:11 +01:00
link-subdir-hard Links hard, not symbolic 2007-03-13 11:10:25 +01:00
linkall init 2017-07-19 17:15:41 +02:00
lo-jfs-mount.sh add scripts to mount / umlstart and umount losetup files 2008-07-30 07:21:20 +02:00
lo-uml-start.sh add scripts to mount / umlstart and umount losetup files 2008-07-30 07:21:20 +02:00
lo-umount.sh add scripts to mount / umlstart and umount losetup files 2008-07-30 07:21:20 +02:00
loadipsec init 2017-07-19 17:15:41 +02:00
localscript update 2013-10-26 23:28:38 +02:00
localssh ja 2012-03-23 13:47:42 +01:00
localtrac.sh add script to start trac (locally) 2008-11-28 13:22:08 +01:00
loch2 init 2017-07-19 17:15:41 +02:00
lock-screen update? 2018-05-04 19:59:34 +02:00
logoff init 2017-07-19 17:15:41 +02:00
logon init 2017-07-19 17:15:41 +02:00
ls-fun comment for ls-fun 2009-12-28 20:15:35 +01:00
mac-adresses-csv-to-dhcpd.sh remove match, add ipstart 2009-01-30 12:29:21 +01:00
mail.add.wddb init 2017-07-19 17:15:41 +02:00
maildircommit quiet maildir commits 2014-11-24 10:20:31 +01:00
maildirmake Initial commit 2006-07-20 09:54:37 +02:00
maildirnotmuchdump init 2017-07-19 17:15:41 +02:00
mailer Add mailer and wireguard helper 2020-01-20 15:43:38 +01:00
mailnotify init 2017-07-19 17:15:41 +02:00
mailstats Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
mailsync run notmuch new after mailsync 2015-07-16 13:53:22 +02:00
mainemacs mainemacs can also use the client 2020-05-12 17:25:19 +02:00
manage init 2017-07-19 17:15:41 +02:00
map-touchscreen init 2017-07-19 17:15:41 +02:00
markus-connect.sh ssh in a new xterm with debug 2008-07-24 09:45:05 +02:00
mbox2maildir Initial commit 2006-07-20 09:54:37 +02:00
mbox2maildir-test Initial commit 2006-07-20 09:54:37 +02:00
mem_sorted.sh add script to display the memory usage of a specific program 2008-07-24 09:47:18 +02:00
mini-mua Initial commit 2006-07-20 09:54:37 +02:00
minifirewall init 2017-07-19 17:15:41 +02:00
mk-fensterschuss Initial commit 2006-07-20 09:54:37 +02:00
mk-screenshot Initial commit 2006-07-20 09:54:37 +02:00
mkcrypt.swap Initial commit 2005-11-09 13:17:40 +01:00
mmv Initial commit 2006-07-20 09:54:37 +02:00
monitor-office minor updates 2019-03-10 10:22:51 +01:00
monotone-snapshotting init 2017-07-19 17:15:41 +02:00
mount-loch ++fqdn for loch 2021-08-15 00:34:46 +02:00
mount-luchsingen init 2017-07-19 17:15:41 +02:00
mount-musik Initial commit 2006-07-20 09:54:37 +02:00
mp remove another unecessary permissions script 2010-01-02 13:52:46 +01:00
mp3ver2file Initial commit 2006-07-20 09:54:37 +02:00
mplayer-audio-hdmi init 2017-07-19 17:15:41 +02:00
my-status-bar Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
mympd Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
myremotegit update host for remotegit 2015-04-17 12:00:37 +09:00
mysql-db-dump.sh init 2017-07-19 17:15:41 +02:00
myssh.sh -e (not the shell option this time) 2020-01-19 11:08:09 +01:00
mytime mass update commit 2011-07-21 10:59:03 +02:00
myvym.sh add script for developing uncloud 2020-09-08 21:51:09 +02:00
neta-auswertung Initial commit 2006-07-20 09:54:37 +02:00
new.wddb.entry init 2017-07-19 17:15:41 +02:00
newnameserver init 2017-07-19 17:15:41 +02:00
nice_xclock Initial commit 2006-07-20 09:54:37 +02:00
nmapscan init 2017-07-19 17:15:41 +02:00
notebook-stats various updates 2019-12-08 19:28:42 +01:00
notebook.sh updated by /home/nico/bin/sync-all-repos on nb3 2021-05-31 22:39:02 +02:00
notmuch-emacs-mua init 2017-07-19 17:15:41 +02:00
nottoomuch-addresses.sh init 2017-07-19 17:15:41 +02:00
ns-suspend quiet maildir commits 2014-11-24 10:20:31 +01:00
ns_ldif_to_mutt_alias Initial commit 2006-07-20 09:54:37 +02:00
nsmail2maildir Initial commit 2006-07-20 09:54:37 +02:00
nsnat init 2017-07-19 17:15:41 +02:00
nsstart init 2017-07-19 17:15:41 +02:00
nz Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
offlinegehen Initial commit 2006-07-20 09:54:37 +02:00
oldterm Initial commit 2006-07-20 09:54:37 +02:00
oops init 2017-07-19 17:15:41 +02:00
permissions.group-work Changed permissions, twice ;-) 2005-12-07 15:52:36 +01:00
permissions.private add correct to for isg_order 2010-09-08 17:10:30 +02:00
permissions.public merged permissions.web+public 2010-01-02 13:51:41 +01:00
pgp-saug Initial commit 2006-07-20 09:54:37 +02:00
ping_alive Initial commit 2006-07-20 09:54:37 +02:00
ping_pong.sh Initial commit 2006-07-20 09:54:37 +02:00
placeholder.rb init 2017-07-19 17:15:41 +02:00
plan-of-week only 10 items from today 2014-06-10 10:34:23 +02:00
points.py Update securemail with full path to sendmail 2018-03-30 16:10:52 +02:00
post-commit init 2017-07-19 17:15:41 +02:00
postgres-pgpool-diff.sh add postgres table diff 2008-07-24 09:30:22 +02:00
postgresfixmailneu.sh init 2017-07-19 17:15:41 +02:00
pre_prefix Initial commit 2006-07-20 09:54:37 +02:00
preview init 2017-07-19 17:15:41 +02:00
price-vm-hosting.py init 2017-07-19 17:15:41 +02:00
pwhome init 2017-07-19 17:15:41 +02:00
python-bin-wrapper init 2017-07-19 17:15:41 +02:00
quiz.py remove webs 2018-10-15 16:33:26 +02:00
rdiff init 2017-07-19 17:15:41 +02:00
README.md -- typos 2018-03-30 14:19:31 +02:00
recover_all_vim_files init 2017-07-19 17:15:41 +02:00
redmine.sh init 2017-07-19 17:15:41 +02:00
rekursivperms init 2017-07-19 17:15:41 +02:00
release_dlna init 2017-07-19 17:15:41 +02:00
release_tmp updated by /home/nico/bin/sync-all-repos on nb2 2021-04-05 16:46:58 +02:00
remove-links init 2017-07-19 17:15:41 +02:00
remove-pcsystems init 2017-07-19 17:15:41 +02:00
remove.dead.links init 2017-07-19 17:15:41 +02:00
remove_first_lines Initial commit 2006-07-20 09:54:37 +02:00
remove_line add script: remove_line (by number) 2011-01-31 08:42:46 +01:00
remove_wrong_x init 2017-07-19 17:15:41 +02:00
rename init 2017-07-19 17:15:41 +02:00
replace_prefix Initial commit 2006-07-20 09:54:37 +02:00
reread-partition Initial commit 2005-11-09 13:17:40 +01:00
ressh.sh update 2013-10-26 23:28:38 +02:00
restart-x init 2017-07-19 17:15:41 +02:00
rip-wave2ogg Initial commit 2006-07-20 09:54:37 +02:00
rip-wave2ogg.doit Initial commit 2006-07-20 09:54:37 +02:00
rotate-display.sh add script to rotate display on ibm x41t 2013-12-14 23:05:44 +01:00
rrmdir Initial commit 2006-07-20 09:54:37 +02:00
rtorrent_mail.sh add files that are living in ~/bin for a while 2009-12-28 20:14:14 +01:00
ruagdesktop Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
rxvt_to_urxvt_hack.sh Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
save init 2017-07-19 17:15:41 +02:00
sbb_station_wifi_on +hints for sbb script 2015-03-27 22:36:43 +09:00
sc init 2017-07-19 17:15:41 +02:00
scan-luchsingen.sh init 2017-07-19 17:15:41 +02:00
scan_smb Initial commit 2006-07-20 09:54:37 +02:00
screen-login Initial commit 2006-07-20 09:54:37 +02:00
search init 2017-07-19 17:15:41 +02:00
securemail Host has to be smarthost!! 2018-04-03 09:51:16 +02:00
securemail.off update 2013-10-26 23:28:38 +02:00
sendmails init 2017-07-19 17:15:41 +02:00
set-background init 2017-07-19 17:15:41 +02:00
set-font init 2017-07-19 17:15:41 +02:00
set_correct_usr_permissions init 2017-07-19 17:15:41 +02:00
set_permissions Initial commit 2006-07-20 09:54:37 +02:00
seti init 2017-07-19 17:15:41 +02:00
setlib.cfg init 2017-07-19 17:15:41 +02:00
show_apache_logs init 2017-07-19 17:15:41 +02:00
show_calendar Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
smbd init 2017-07-19 17:15:41 +02:00
smbmessage init 2017-07-19 17:15:41 +02:00
smbmessage-classc Initial commit 2006-07-20 09:54:37 +02:00
smbscan Initial commit 2006-07-20 09:54:37 +02:00
smbscan-2 Initial commit 2006-07-20 09:54:37 +02:00
sniffen init 2017-07-19 17:15:41 +02:00
sort-backup Initial commit 2006-07-20 09:54:37 +02:00
sort-backup.dothejob Initial commit 2006-07-20 09:54:37 +02:00
sort-mails Initial commit 2006-07-20 09:54:37 +02:00
sound_2.5 init 2017-07-19 17:15:41 +02:00
soundaemon Initial commit 2006-07-20 09:54:37 +02:00
soundlaut Initial commit 2006-07-20 09:54:37 +02:00
ssh_remove_line add script to remove specific line in ~/.ssh/known_hosts 2012-01-23 08:54:42 +01:00
start-post-i3 do not create workspace 1 layout 2020-08-11 16:18:48 +02:00
startgpm init 2017-07-19 17:15:41 +02:00
startwdt init 2017-07-19 17:15:41 +02:00
stva.sh ++stva 2021-08-27 18:32:22 +02:00
suche_groesstes_dir need only one script to find the directory with most usage 2008-07-24 09:24:02 +02:00
suche_neue_mails_maildir.sh Suche neue maildirs, template 2007-06-06 11:41:46 +02:00
suche_vi_files Initial commit 2006-07-20 09:54:37 +02:00
synaptics-tuning init 2017-07-19 17:15:41 +02:00
sync-all-repos updated by /home/nico/bin/sync-all-repos on bridge 2021-05-26 11:45:35 +02:00
sync-from Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
sync-to Do not sync Downloads/ 2020-03-20 16:44:05 +01:00
tag-mails init 2017-07-19 17:15:41 +02:00
tcpdump-command init 2017-07-19 17:15:41 +02:00
telnrev Initial commit 2006-07-20 09:54:37 +02:00
testdisks.sh add files that are living in ~/bin for a while 2009-12-28 20:14:14 +01:00
testenv init 2017-07-19 17:15:41 +02:00
testscript init 2017-07-19 17:15:41 +02:00
textbased init 2017-07-19 17:15:41 +02:00
textmails init 2017-07-19 17:15:41 +02:00
traffic_view init 2017-07-19 17:15:41 +02:00
ttl-increment init 2017-07-19 17:15:41 +02:00
tune-ide-hd Initial commit 2005-11-09 13:17:40 +01:00
tune-mouse tune mouse adjustment 2020-08-01 20:32:16 +02:00
tux-memory-map.sh display memory map 2008-07-24 11:37:33 +02:00
txt2pdf init 2017-07-19 17:15:41 +02:00
umrechnung-nico.sh Initial commit 2006-07-20 09:54:37 +02:00
uncloud-dev updated by /home/nico/bin/sync-all-repos 2021-01-13 10:25:40 +01:00
ungleichconfig init 2017-07-19 17:15:41 +02:00
until-event ++updates 2020-07-23 15:37:52 +02:00
update-wddb init 2017-07-19 17:15:41 +02:00
update_time init 2017-07-19 17:15:41 +02:00
upload init 2017-07-19 17:15:41 +02:00
urxvt-font-change +example 2015-03-27 22:35:05 +09:00
usemodwiki-convert-to-html.sh add template for the usemodwiki script 2009-11-12 19:30:40 +01:00
video.sh init 2017-07-19 17:15:41 +02:00
viewfile init 2017-07-19 17:15:41 +02:00
wake-up update 2014-02-26 14:24:29 +01:00
webseite-saugen update 2013-10-26 23:28:38 +02:00
wechsele-profil.sh Initial commit 2006-07-20 09:54:37 +02:00
welcome_greeting commit pending changes 2009-12-28 20:13:41 +01:00
werbeosd.sh smaller updates 2009-01-06 10:49:58 +01:00
wireguard-fix-endpoint.sh Add mailer and wireguard helper 2020-01-20 15:43:38 +01:00
wireless init 2017-07-19 17:15:41 +02:00
x-at-home Cleanups 2017-08-01 13:01:57 +02:00
x-auto Detect primary automatically 2018-04-03 09:49:00 +02:00
x-gedreht update 2013-10-26 23:28:38 +02:00
x-gleich update 2013-10-26 23:28:38 +02:00
x-monitors.sh correct subject 2010-12-01 14:26:27 +01:00
x-oben Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
x-off Disconnect all known outputs 2018-04-03 14:02:09 +02:00
x-rechts update 2014-02-26 14:24:29 +01:00
x-terminal-emulator Major update (yes, longtimenocommit message) 2017-03-08 07:37:05 +01:00
x-vga update 2013-10-26 23:28:38 +02:00
x20x-sync mass update commit 2011-07-21 10:59:03 +02:00
xoutput Derive primary 2018-04-03 12:42:39 +02:00
xrandr-update.sh add files that are living in ~/bin for a while 2009-12-28 20:14:14 +01:00
xtightvncviewer.local Initial commit 2006-07-20 09:54:37 +02:00

Miscellaneous scripts used by Nico Schottelius

Notable things usable for others:

cbacklight

Sets/controls backlight using /sys/class/backlight/*/brightness directly. Usable for systems that use modesetting instead of intel driver.

Also: supports multiple backlight outputs at the same time.

[14:12] line:~% cbacklight --help
usage: cbacklight [-h] [--inc INC | --dec DEC | --set SET] [--get]

cbacklight

optional arguments:
  -h, --help  show this help message and exit
  --inc INC   Increment by percentage (points)
  --dec DEC   Decrement by percentage (points)
  --set SET   Set to percentage
  --get       Get percentage (default)
[14:12] line:~% cbacklight --inc 5
[14:12] line:~% cbacklight --get
intel_backlight: 72.17%
[14:13] line:~% cbacklight --dec 7 --get
intel_backlight: 65.19%

It is basically a smarter / lighter xbacklight replacement