Archive

Archive for February, 2009

Linpus doesn’t Automount USB

February 16, 2009 Leave a comment

For some reason my Linpus system stopped automounting usb hard drives. I could see them as root (sudo thunar) and even give priveleges to other users. So technacly it didnt stop automounting them, it just wouldnt show them to my user. I found the following answer by digging into the aspire one user forums(thx pibri) :

Open usr/bin/xfcepost
Add a row before “sleep 10”
Add in the empty row: “killall Thunar”
Automount works again….

When he says open he means edit it in your favorite editor. GL

References:

Categories: aspire one Tags: , ,

Sudoku in Emacs

February 13, 2009 Leave a comment

Emacs never ceases to amaze me. Today as i was reading an article about avid sudoku players i got the urge to play some sudoku. Since im such a geek i prefer playing sudoku in my computer or my cellphone rather than on paper, the idea poped in to my head : “it would be awesome to play some sudoku in emacs”.

So just for fun i decided to google it, and i found that someone already did a major mode to play sudoku in emacs and it even downloads new puzzles.

The following is taken from the website:

A major mode for playing sudoku puzzles on emacs. This allows you to download new puzzles from websudoku.com on the fly. In addition, roughly 200 puzzles are included. You can set four different levels: easy, medium, hard, and evil.

Thanks to the hard work of Lewis G. Creary, I am happy to announce a new and much improved version of sudoku.el, with numerous new features, bugfixes, and usability improvements. Please download it and let me know what you think.

Here is the link, enjoy your puzzles =D

Categories: Emacs Tags: ,

Change root password in Linpus

February 11, 2009 3 comments

Linpus asks you to input the root password on the first boot. in order to change this password open up a terminal (Alt-F2 and enter xterm into the dialog that appears) then run “sudo su” to change to root user and use the command “passwd” to change your password.

A note to people who dont use linux that often, after you run the command to change the password it will ask you to input the password twice, while you type the password nothing will change in the console, no dots or words appear as you type. This is standard procedure, just input your password normally.

VI + Firefox = Vimperator

February 9, 2009 Leave a comment

I accidentally stumbled onto this addon while cruising the web last Friday, and i decided to give it a try.

Vimperator

Vimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. It has similar key bindings and you could call it a modal web browser, as key bindings differ according to which mode you are in.

The addon tries to remove the need to use the mouse while your surfing the web and it succeeds at that with the occasional exception (on Firefox 2.0.x i have trouble with Gmail).
Unfortunately the help system is not that great and it fails to tell you from start how to select and open links, while it expects you to do so. So here are some quick notes:

  • f – hints mode for links, press f then enter the number (i get letters instead of numbers in my netbook) of the link you wish to open
  • F – hints mode for Links, opens in new tab
  • o – press o and enter url to open, enter disconnected words to search google, enter yahoo word to search word in yahoo or use tab to autocomplete and see history
  • t – the sames as o but opens in new window
  • :hist filter – allows you to search the history
  • y – copy the current tab url
  • Y – copy selected text
  • Ctrl-V – one command passthrough, bypasses vimperator to make sure your keys go directly to the browser. to past just Ctrl-V twice

I also found the mandatory cheat-sheet on a forum on the web. Check the reference links for more info.

Categories: firefox Tags: ,