Reputation
25,785
Next tag badge:
92/100 score
22/20 answers
Badges
3 70 111
Newest
 Enlightened
Impact
~2.8m people reached

26s
revised How can I tell if the virtualbox guest additions were installed on an ubuntu vm
there are plenty of files that don't indicate anything about the guest additions
May
15
accepted Increase the disk spindown timeout
Apr
29
revised Why don't applications respect a printer's default options?
.lpoptions isn't read by CUPS anymore since version 1.5
Apr
29
answered Why don't applications respect a printer's default options?
Apr
15
awarded  Enlightened
Apr
15
awarded  Nice Answer
Apr
12
comment Does the /dev/null file actually have a fixed size?
@kos You're confusing disk space with memory usage here, and you're also confusing the directory entry with the driver code that implements it. Florian's answer contains no incorrect or misleading statement.
Apr
12
comment Does the /dev/null file actually have a fixed size?
@kos The statement that a character device occupies the space of an inode entry is correct, but slightly incomplete: there's also the space occupied by the directory entry (the part that maps the name of the file in the directory to the inode). The “implementation as character devices” is not something that takes disk space. The inode and the directory entry do occupy disk space if the device is on a disk filesystem — which is not the case for /dev in Ubuntu (and most Linux distributions) but that's another story.
Apr
11
comment How can I type the symbol ^ in emacs?
What version of Ubuntu are you using? Don't you see anything in the bottom like when you press F1 then c? What happens if you press AltGr+} then a?
Apr
11
comment How can I type the symbol ^ in emacs?
What is your keyboard layout, and what operating system do you use? What version of Emacs are you running and where did you get the binary? What does Emacs say when you press F1 then c then AltGr+} ?
Apr
8
comment apt-get error for git, but not other packages
Run apt-get update; apt-get upgrade first, then try again. If that fails, post the output from running apt-get install liberror-perl.
Apr
8
answered How to list files older than a day with “2015” in filename?
Apr
1
comment How can I get a notification using Notify-OSD when the charger is inserted/removed?
Not everybody runs Ubuntu as a single-user system. Cron isn't useful here. I know you needed the extra step of finding the location of the X cookie file older versions of Gdm, I don't know about recent versions but I think this hasn't changed. Same problem with KDM. @joshumax You can get the information from other sources, and even via dbus, you can do it from the shell with dbus-monitor. See my answer.
Apr
1
answered How can I get a notification using Notify-OSD when the charger is inserted/removed?
Apr
1
comment How can I get a notification using Notify-OSD when the charger is inserted/removed?
That works, but it requires root access, and complex machinery to get the notification to the desktop, or hard-coding the user as you did. I think you'll also need to set XAUTHORITY with some display managers such as gdm.
Mar
17
awarded  Nice Answer
Mar
13
comment Case sensitivity in shell scripting
More precisely, you need to set LC_COLLATE to C, it's ok for other locale settings to be different. Setting LC_COLLATE to anything but C is rarely a good idea but sadly Ubuntu does it (it isn't the only culprit by far).
Mar
10
awarded  Nice Answer
Mar
5
awarded  Good Answer
Feb
17
awarded  Guru