Sound on highlight weechat when beep.pl doesnt work

Posted by: on Aug 10, 2014 | 2 Comments

So I use weechat as my main IRC client. It’s awesome and looks lovely with solarized theme. Running on ubuntu 14.04 and using gnome-terminal there is a problem somewhere that beep.pl doesn’t work. It seems to be some problem in gnome-terminal since the terminal bell isn’t working. I’ve spent countless of hours trying to figure this out. In the end I just thought, to hell with it. Let’s hack beep.pl.
So I looked around for sound files and found a not too long once that sounds pretty decent.

Awesome WM – move window to another screen

Posted by: on Aug 8, 2014 | No Comments

I’m a big fan of awesome window manager on Ubuntu. Got my config on github. Just got my second monitor today and browsing the internet it took some time to find how to move a window to another screen. Be active on the window you want to move and then:
modkey+o
If that doesn’t work look into your rc.lua and see if you find anything mentioning movetoscreen

Ubuntu + Huawei E398 LTE modem

Posted by: on Apr 16, 2014 | No Comments

Since I moved to Norway the internet I’m able to get at home is pretty shitty. So I decided to order a modem from Ebay. I ordered an unlocked Huawei E398 from Lithuania that has all possible bands used by different providers here in Norway.

However, it’s not plug and play for ubuntu. Even though it was stated from the seller. I tried loads and loads of different kinds of “solutions” (probably solutions to other peoples problem but not mine) online but they all failed. After a while I eventually found it.

LSUSB showed it as 12d1:1505 but network-manager/modem-manager wouldn’t want to recognize it. So it had to change to 12d1:1506. This was a bit weird to fix. I had to create a file named 12d1:1505 in /etc/usb_modeswitch.d/ As you see below.


$ cat /etc/usb_modeswitch.d/12d1\:1505
DefaultVendor= 0x12d1
DefaultProduct=0x1505

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

And then you had to call usb_modeswitch (I needed root).

usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1\:1505