avconv: Overlay one video next to another (parallel)
Dare I say this is somewhat unintuitive? $ avconv -y -i input_video_A.mp4 -vf 'movie=input_video_B.mp4[inputB] ; [in]pad=1280:0,[inputB] overlay=640:0[out]' -c:v libx264 output_video.mp4 This overlays...
View ArticleHow to prevent xscreensaver from starting in Lubuntu (or more precisely, how...
LXSession has system-wide configuration in /usr/share/lxsession/<Profile name>/ and optional per-user configuration in ~/.config/lxsession/<Profile Name>/. Unfortunately for autostart,...
View ArticleCannot find method (class)(class)getRange(number,number) nor...
Instead of just var sheet = SpreadsheetApp.getActiveSpreadsheet(); do this var spread = SpreadsheetApp.getActiveSpreadsheet(); var sheet = spread.getSheets()[0]; ’nuff said.
View ArticlePurge
sudo apt-get --purge remove unity-scope-audacious unity-scope-calculator unity-scope-chromiumbookmarks unity-scope-clementine unity-scope-colourlovers unity-scope-devhelp unity-scope-firefoxbookmarks...
View ArticleOwncloud Kapsin siilolle (ja kotona Ubuntu 12.04 -työpöydälle)
Kapsin UKK:ssa on ohjeet Owncloud-asennukselle. Niiden pitäisi periaatteessa päivittyä joukkoistetusti, ja sikäli tämä ohje tässä vanhenee todennäköisesti huonommaksi hyvin pian, mutta tässä kuitenkin...
View ArticleCyanogenmod 11 (based on 4.4 KitKat) for the Motorola Defy+, using Linux
This is not a how-to, just notes I’m putting down for myself, post-op. That’s why I also make note of the version numbers I used, and it could be not all of the steps were/are necessary (haven’t tried...
View Article[warn] http status 400 (“Fingerprint is marked rejected”) response from...
This error has been flooding my tor log probably since April, but I only picked it up now after reading about how few relays there are listed in the directory prompted me to check that mine was...
View ArticleCannot switch TTY with Ctrl + Alt + F1…Fn (Ubuntu)
Just copying what Lswest wrote more than two years ago: if your TTY switching is not working, and you have a custom ~/.Xmodmap, make sure your mappings for the function keys in it are as follows:...
View ArticleHow to open another shell (on another virtual terminal/console) in recovery mode
There might be a better/simpler way, but I just applied this Stack Exchange answer by wurtel (edited by Stéphane Chazelas): setsid sh -c 'exec /bin/bash /dev/tty2 >&0 2>&1' Like this...
View ArticleDisposabiliteetti
Jostain, varmaan Chris Siebenmannin blogin lukemisesta, on takaraivossani alkanut kutkutella ajatus kaiken selailun tekemisestä kertakäyttöikkunoissa (cks ei ole näin hardcore, mutta enemmän kuin minä...
View ArticleBlade Runner
Miksi joudun aina vain enemmän ja enemmän kompensoimaan julkaisijoiden tekemiä huononnuksia webselailussa? Web on nykyään pelkkä kuppainen horo, ei enää ollenkaan huvita pelehtiä sen kanssa kun riskit...
View ArticleFixing a Bluetooth headset to A2DP mode (Ubuntu 14.04)
I had a nice pair of Jabra Revo Wireless headphones to toy with, and getting them to work in A2DP (the quality mode better suited for music) on my desktop computer turned out to be a bit more than just...
View Articlegnome-session: Expression error: unknown function bitrate()
The problem: my syslog is full of these three lines repeating gnome-session[3926]: Expression error: unknown function gnome-session[3926]: Net: down $ ( bitrate ( net.down ) ) , up $ ( bitrate ( net.up...
View ArticleStrange problems with self-hosted Mattermost? It might be your router’s fault
I spent the last few days online trying to get Mattermost working on my home server. It looks like a promising replacement for Slack, very polished and professional and the installation process is well...
View ArticleApache 2.4 + Gitlab Omnibus (CE) with a relative URL: 404 (not found), 422...
It’s been a painful month battling with this and I’m too tired to document everything thoroughly, so I’ll just throw this out there: # "Note this config assumes unicorn is listening on default port...
View ArticleGet GIT_WORK_TREE from the post-checkout hook
I was crafting a post-checkout hook and wanted to do something depending on the absolute path of $GIT_WORK_TREE in the current environment. In git 2.7.4 (and up to 2.4.14) at least, that environment...
View ArticleRedirecting Signal Desktop’s log from syslog to a separate file
After switching from the old Chrome app to the new Signal Desktop app, my syslog began to get spammed with lines containing stuff like “Sending a keepalive message”. They seemingly come from...
View ArticleSwitching Redis from TCP port to UNIX socket in Ubuntu 16.04, with Nextcloud...
This presumes that Apache, Nextcloud and Redis have already been installed, with Redis running on the default TCP port 6379 and Nextcloud is configured to use that port. When switching from using a...
View ArticleRhythmbox podcast feed & episode download status codes
rhythmdb/rhythmdb.h#L182: enum { RHYTHMDB_PODCAST_FEED_STATUS_HIDDEN = 0, RHYTHMDB_PODCAST_FEED_STATUS_NORMAL = 1, RHYTHMDB_PODCAST_FEED_STATUS_UPDATING = 2, RHYTHMDB_PODCAST_STATUS_COMPLETE = 100,...
View ArticleNautilus keyboard shortcut to deselect all
Ctrl + Shift + A or, if that doesn’t work, Ctrl + A followed by Ctrl + Shift + I
View Article