Posts Tagged ‘gui’

“sudo gedit” must die!

Monday, July 26th, 2010

Why is it that so many Ubuntu guides tell you to do sudo gedit /path/to/somefile when there is a sudoedit command? An editor, like Gedit, doesn’t need to run as root, ever.

This is so much better and safer:

SUDO_EDITOR=gedit sudo -e /path/to/somefile

This will …

  1. Copy the file to /tmp/
  2. Invoke gedit as your user
  3. Update the original file if you changed the temporary file

It would of course be really useful if gksudo had this built in already, and could be used in a nice way by nautilus-gksu.

Liferea vs tiny screen

Monday, December 14th, 2009

I use Liferea for RSS-feeds. I also have a craptop with a tiny screen (1024×576px).

Liferea - Normal view

Liferea - Normal view

I think there is room for optimizing this, more spatial perhaps?

Liferea - wide view

Liferea - wide view

This could use some miller-columnification.

Optimally, I would like to have this:

  • Single pane
  • Oldest unread post first
  • Headlines which expand when clicked

Damn you Ctrl+W

Wednesday, November 4th, 2009

Don’t know how many times I accidentally pressed Ctrl+W when I wanted to delete a word in some non-terminal app, instead closing it and losing all the text I’ve written. Now I found out you can do this:

gconftool --set /desktop/gnome/interface/gtk_key_theme \
  --type string Emacs

Then Ctrl+W does what it should!