Saturday, January 3, 2015

irssi

dccstat.pl
Move/copy the file to ~/.irssi/scripts/autorun. Create autorun folder if does not exist. It should automatically load next time you run irssi.
Once it's loaded, do (per comments in the script):
/statusbar dccstat add dccstat
/save

SSL
To simply connect to a secured port server:
/server -ssl irc.server.org 9999

Ignore
Joins and quits can be annoying on a big channel and would have to swim through to find wanted entries. You can do "/help ignore" for other examples, but I mostly need this:
/ignore #channel JOINS PARTS QUITS

Friday, January 2, 2015

Back to Arch

Ever since I upgraded to an AMD FX-6300 with a new motherboard, I have been using Windows 7 due to UEFI problem with Gigabit motherboard GA-970A-UD3, and that I have gotten into COD >.>; And this has been going on for like 2 years  now? Welp, it is 2015 and time to make changes!

I think am going to start jotting down notes here and make random remarks as well...

To make my motherboard play nice with Linux, enable IOMMU in BIOS!

To map the side buttons to PageUp and PageDown for my Corsair M65:
$ egrep "Name|Handlers" /proc/bus/input/devices
N: Name="Corsair Corsair M65 Gaming Mouse"
H: Handlers=mouse0 event0 
N: Name="Corsair Corsair M65 Gaming Mouse"
H: Handlers=sysrq kbd event1 
N: Name="Corsair Corsair M65 Gaming Mouse"
H: Handlers=kbd event2 
N: Name="Cypress USB Keyboard"
H: Handlers=sysrq kbd event3 
N: Name="Cypress USB Keyboard"
H: Handlers=kbd event4 

pacman -S xbindkey xvkbd
xbindkeys --defaults > /home/coolj08/.xbindkeysrc

Modify and add in the .xbindkeysrc:
# Page Up
"xvkbd -text "\[Prior]""
        m:0x0 + b:9
"xvkbd -text "\[Next]""
        m:0x0 + b:8

Then run xbindkeys...
$ xbindkeys
If you've already ran it and made changes aftwards, do the following to kill it...
$ pkill -f xbindkeys