Saturday, April 28, 2012

Restart X from command line in Ubuntu

To restart X from the console, open a terminal session (e.g., Ctrl+Alt+F1), then do:
$: sudo restart lightdm

Note that any child processes created by X will also be killed.

Tested on: Ubuntu 11.10


Friday, April 27, 2012

How to get SharpDevelop to start working with svn

SharpDevelop can take advantage of the installed SVN (TortoiseSVN) if it is installed. To get this to work need to ensure the following:
- TortoiseSVN is installed
- TortoiseSVN is in the system path. One way to test this is to install TortoiseSVN with the command line tools. After installation open up console and run svn.exe. If it responds with "Try 'svn help' for usage." then you are good.
- Create TortoiseSVN repo (if you don't have any).
- Checkout snv repo to a SharpDevelop project directory. At this point SharpDevelop should detect that solution is under source control and you should now be able to make commits/diffs/updates/etc.

SharpDevelop: 4.2.0 build 8649 (beta 2)
TortoiseSVN: 1.7.6