19 April 2015
I was messing around with swapping the Caps Lock key and the Escape key, and this
in combination with using the Colemak keyboard layout ended up causing some confusion.
Anyway it turns out to reset any options you may have set with
setxkbmap it’s not
as simple as just running
setxkbmap gb. Instead, the solution for me was to run
setxkbmap -option ''. Not very intuitive, but there you go.
18 April 2015
I tried to dance but lost my nerve
I cramped up in the learning curve
15 February 2015
Launched a simple project I did for college as a website.
Irish Tide Times
Get the tide times for Ireland by text.
It’s done with Django.
Might later expand it offer a JSON API.
7 January 2015
They now have my favourite water in the shop near college.
5 January 2015
cool new flask
3 January 2015
qutebrowser and newsbeuter
I have been playing around with a promising new browser called Qutebrowser since the demise of dwb
I had a problem with newsbeuter with opening links using qutebrowser (it was holding up newsbeuter). The workaround was the following script:
# wrapper for newsbeuter
exec ~/src/qutebrowser/qutebrowser.py "$*" > /dev/null 2>&1 &
(don’t forget to make it executable)
And then use this in ~/.newsbeuter.config:
browser "~/src/qutebrowser_wrapper :'open -t %u'"
30 December 2014
Wacom tablet scrolling in linux
I got a Wacom Intuos tablet and was having trouble using it for general scrolling - eg. using a web browser. Couldn’t figure out how to map the lower button to scrolling, the way it is with the middle mouse button on my thinkpad.
The solution, for anyone who has the same issue, was easystroke. I’d say the solution is similiar for Bamboo and Touch Wacom tablets.
Install easystroke (I’m using Ubuntu 14.04 and it’s in the repos).
Click the preferences tab and then the button labelled ‘Gesture button’. In the window check ‘instant gestures’ and in the grey box click the lower button on your stylus pen.
Then in the actions tab add an action and choose type ‘scroll’. Then click ‘Record stroke’ and click in the lower button on the stylus again.
Clicking in the lower button and moving the stylus should scroll now. YMMV. But if you’re having trouble making your Wacom tablet work the way you want, try easystroke. You may also wish to go to the Advanced tab turn off the annoying notifications on gesture activation.
27 December 2014
Got a Chromecast as a Christmas present and finding it really handy.
Especially so after the discovery of castnow which lets you stream anything to the chromecast from the command line.
What really won me over was the option –subtitles </local/path/to/subtitles.srt>
How cool is that?