All entries tagged »howto«
This is my go at the instructions from here.
Image (c) Ludger Sandig, licensed cc by-sa.Tags: howto xyzzy
This is how you can set suckless surf as your default browser.Tags: howto linux www
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.Tags: howto linux
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.
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?
Fixing this needs a Live-CD unless you are logged in into another terminal as root.
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
- Respect the privacy of others.
- Think before you type.
- With great power comes great responsibility.
(emphasis mine)Tags: doh howto linux
For years I could not figure out how to tell emacs »No, I do not want evince as my pdf viewer, use something else« -- except by editing the default command line by hand each time.
But, mark your calendars, today is the day where I found it.
These are the magic lines to add to your
(custom-set-variables ;; Your other configuration here ;; ... '(TeX-view-program-list (quote (("Zathura" "zathura %o")))) ;  '(TeX-view-program-selection (quote (((output-dvi style-pstricks) "dvips and gv") (output-dvi "xdvi") (output-pdf "Zathura") ;  (output-html "xdg-open")))))
Of course the same thing can be configured via
[RET] auctex [RET] and then choosing TeX Command > TeX View.
The trick is: First  you tell emacs about your new viewer by
adding a list of its name and the command to execute to
Then  you have to tell emacs to actually use your newly defined
program by setting the given name as the second part of the
output-pdf predicate in the
This works for emacs version 24.4 with auctex version 11.88, next version might be different, who knows.Tags: emacs howto