You are currently browsing the FeradZ Blog blog archives for February, 2009

Add Line Length Marker in Visual Studio

To add a guiding verical line for the length of the lines in Visual Studio do as follows:

  1. Open registry editor
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\*.0\Text Editor (* depends on your version of VS, 8.0 = VS 2005 and 9.0 = VS 2008)
  3. On the right pane add a new string value and name it "Guides"
  4. Double click on the newly created string value "Guides" and put the following as its value "RGB(255, 20, 147) 80" including the apostrophes. The string specifies two properties – RGB(255, 20, 147) – the color of the line and 80 the line length. You can adjust them to suite your needs.
  5. Close registry editor and restart the Visual Studio.


Using DropBox in Eee PC with Xandros and KDE

DropBox is very convenient online back-up and synchronization service. It has a free version with storage capacity of 2GB.I started using it recently and liked it pretty much. I have the client application installed in one Windows, one Ubuntu and now Eee PC Xandros machines. Using it on Eee PC Xandros was a little bit tricky. DropBox consists of two components daemon and Nautilus plugin. The functionality of the serivce is in the daemon that runs at the background and monitors for changes in the Dropbox directory. The Nautilus plugin is a convenient front-end to the DropBox daemon that provides interactive GUI. The problem of using DropBox in Eee PC Xandros and in general KDE is that Nautilus which is a Genome application. And to install the available binary packages you need to install all the required Nautilus/Genome dependencies (packages). I don’t recommend trying to install these dependent packages because this may lead to uninstalling existing packages thus creating critical dependencies that may cause your system to not run at all.

So how I use DropBox in Eee PC with Xandros. I install only the daemon and don’t have the fancy file annotations and other features that comes with the Nautilus file manager:

  • Download the binary of the DropBox daemon from (this is 32bit version of the binary but should work also on 64bit architectures)
  • Then unpack the tar file ($tar -xzvf <file name>) a hidden directory with name .dropbox-dist will be created
  • move this directory to your home directory ($mv .dropbox-dist $HOME) 
  • now you have to run the DropBox daemon – this is the executable named dropboxd inside .dropbox-dist ($ ~/.dropbox-dist/dropboxd). A login dialog box will appear. Type in your credentials. The default DropBox directory is /home/user/Dropbox. If you get errors you have to upgrade some packages. Better apply all possible upgrades otherwise you can get broken packages (from CTRL+ALT+T, sudo synaptic, choolse "Mark all upgrades", Apply)
  • DropBox daemon will start synchronizing your files (downloading your files from the web storage)
  • The DropBox daemon will run in background and take care of keeping your directory in sync.

However these steps are not sufficient to make DropBox run automatically every time when you boot your computer. To make DropBox daemon run at startup you have to add the following line

/home/user/.dropbox-dist/dropboxd &

Any comments on improving this post are welcome.


Eee PC 901 – Thinking of Switching to Ubuntu (Easy Peasy)? Don’t!

I use Ubunut in my other more powerful laptop and I am very satisfied with it. After the clean install, I configured it very well and now it runs perfectly. So I decided to try Ubuntu Easy Peasy (I think the version was 8.04.1) on Eee PC 901. I had reinstalled Xandros in my Eee 901 which worked very well, I didn’t have any complaint’s but with installing some packages (dependencies). However installing Ubuntu Easy Peasy was completely waste of time.

Things that didn’t work out of the box are:

  • Webcam
  • Bluetooth (I am not able to connect with my mobile phone to the Internet)
  • Wireless with WPA encrypted networks
  • Function key (Fn)
  • Microphone
  • The video files (movies).

Though there are known solutions to make all these working I didn’t want to waste my time with and restored back the Xandros which I had backed up.

And one more thing that I was not satisfied with is the noticeably slow boot time of Ubuntu Easy Peasy compared to Xandros Easy Mode.

For other Eee PC models probably these probably do not exist. If you want to try Ubuntu on your Eee PC there is very nice how to article “How to install Easy Peasy (formerly Ubuntu-EEE) on an EEE PC”. But in case that you may also not like it, I would recommend you first to back up your system.