Home
Tech Thoughts
Cancel

Get the amount of remaining ink of your Epson printer

This is how to get the amount of remaining ink as reported by your Epson printer. # For KDE: $ kdialog --title "Ink levels" --msgbox "$(LANG=C escputil -qir /dev/usb/lp0 2>&1 | \ sed -re ...

/dev/shm is better than /tmp

One often has to use temporary files to store temporary data, and this is often done under UNIX using the /tmp directory (or /var/tmp directory). Well, it works, but the /tmp directory is a real di...

How to efficiently use Yum offline

I use Fedora on my laptop, and at first I had a couple of problems with yum, which seems to always believe you’re connected to the Internet. There a special switch: -C, but it didn’t work all the t...

Sound problems with games using OSS

Some Linux games (in fact, most) are still using OSS, namely Enemy Territory or Quake III Arena for example. Even if your sound subsystem is well configured (either with real OSS or with ALSA’s OSS...

How to make graphical applications work with sudo?

If you use sudo, you may have noticed that, with Fedora Core 5, you just can’t exec a graphical application as root (for example) if you haven’t actually logged in as root in your X environment (yo...