Sun, Jun 8, 2014

Multiple profiles in Firefox: tips and tricks

I have two different profiles for Firefox, one for work, and one for everything else.

To start Firefox with the correct profile, I have created two different application launchers (.desktop files) in ~/.local/share/applications, one called firefox-work.desktop and the other firefox-home.desktop


Tue, Jan 7, 2014

zsh prompt/window title: trim middle of path

I run zsh in tmux, and sometimes I end up in a deep directory where the path matches that of another window in tmux (for example in my local docker development environment and on the testing/production server). When this happens just seeing the last part of the path as the window title is not enough, like this: …/sites/all/modules/somemodule.


Sat, Jan 4, 2014

Docker and PHP xdebug

I have switched from using Vagrant to Docker as my local development environment, and I’m still mentally trying to switch :)







Sun, Feb 14, 2010

Xfce: auto rotate wallpaper without cron

Since Xfce 4.6 I’ve had the wallpaper autorotated on my Xfce desktop with the help of a small script and cron. But after an update of some component (probably libxfconf / xfconf) my script did not work anymore and I got this error if I tried to run the script from a console or via ssh: