Skip to main content

Posts

Set Lubuntu to autologon

To set Lubuntu (tested using 13.04 minimal install) to auto-logon, change /etc/lightdm/lightdm.conf , see below for samle cofiguration. [SeatDefaults] autologin-user=timus autologin-timeout=0 user-session=Lubuntu greeter-session=lightdm-gtk-greeter References: http://ubuntuforums.org/showthread.php?t=1472113

Recording VNC session

Recording VNC session sudo apt-get install python-setuptools sudo apt-get install python-dev sudo easy_install vnc2flv sudo apt-get install vlc Create ~/vnc/passwd (text file) with the clear text password flvrec.py -P ~/vnc/passwd <IP> In Ubuntu, stop recording by sending SIGINT, like kill -s SIGINT 7705 . Where 7705 is the process ID of the python flvrec.py run.

The following packages have been kept back

In Ubuntu (or Debian and other derivatives), you might observe the following message when performing sudo apt-get upgrade . The following packages have been kept back To get rid of this one, do: $: sudo apt-get install <package name(s)> For example, below was one of the error messages I am getting: The following packages have been kept back     linux-generic linux-headers-generic linux-image-generic To fix this do: $: sudo apt-get linux-generic linux-headers-generic linux-image-generic

Using Coded UI library in VS2012 Express Windows Desktop

Pre-requisites: Visual Studio 2012 Express Windows Desktop Agents for Visual Studio 2012 Update 1 ( link ) Steps: Install VS2012 Express Windows Desktop Install Test Agent from "Agents for Visual Studio 2012 Update 1 Download a copy cuitemplate from https://apisamplecode.codeplex.com/. This link goes directly to the source location ( link ) Sample code below uses ApplicationUnderTest class. For it to work, you need to reference the following assemblies: C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.TestTools.UITest.Extension.IE.Communication.Interop.dll C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.TestTools.UITest.Framework.dll C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualS