All entries tagged »linux«

Strange Keyboard Problems

Wed 2016-01-06

Since about a month ago I noticed a strange behaviour of my usb keyboard: Replugging it or resuming my laptop after suspend unpredictably switched the layout to German about half of the times.

Read More

Tags:

Using surf-open.sh with xdg-open

Wed 2015-09-16

This is how you can set suckless surf as your default browser.

Read More

Tags:

Falsch zugeordnete Zitate, fortune edition

Thu 2015-06-11

  1. Falsch zugeordnete Zitate
  2. fortune-mod
  3. ???
  4. Profit!

Oder so.

 _____________________________________
/ Alle Tiere sind gleich, aber manche \
| sind gleicher.                      |
\         -- Schaf Dolly              /
 -------------------------------------
  \
   \
       __
      UooU\.'@@@@@@`.
      \__/(@@@@@@@@@@)
           (@@@@@@@@)
           `YY~~~~YY'
            ||    ||

Im Ernst. Hat schon mal jemand die falsch zugeordneten Zitate aus dem Känguru-Manifest für fortune zugänglich gemacht? Falls ja, dann gibt es das jetzt ein weiteres mal.

Herunterzuladen hier: fortune_fzz.tar.gz

Entpacken nach /usr/share/fortune/, explizit aufrufen mit

kaenguru@patmos ~ $ fortune fzz

Ergänzende Vorschläge sind gerne gehört.

Tags:

YATHTFBB - Yet another tutorial how to fix bad blocks

Tue 2015-06-09

There are already many good tutorials on fixing bad block in ext4 filesystems that can be found on the web, but last time I had to do it, did it a bit different. The method presented here does not require so much manual calculation of offsets, but may need more time where the computer with the damaged drive has to run unsupervised.

Read More

Tags:

CorrectHorseBatteryStaple in 30 seconds

Tue 2015-03-31

Ever needed to create CorrectHorseBatteryStaple style passwords but mistrust online password generators?

ludger@abulafia:~$ shuf -n 4 /usr/share/dict/words
violoncello
apotheosis
goddammit
mommy

shuf is part of GNU coreutils.

Tags:

sudo: who are you?

Wed 2015-03-25

Things not to do with your system #23

ludger@abulafia:/tmp%: sudo mv /etc/passwd /etc/passwd.backup
ludger@abulafia:/tmp%: sudo mv ./passwd /etc/passwd
sudo: unknown uid 1000: who are you?

D'oh.

Fixing this needs a Live-CD unless you are logged in into another terminal as root.

Also relevant:

We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:

  1. Respect the privacy of others.
  2. Think before you type.
  3. With great power comes great responsibility.

(emphasis mine)

Tags: