Author: Ryan

I ran into a problem using the insync service which synchronizes your files in Ubuntu and your Google Drive account. For some reason the Gnome Shell extension, which shows the insync’s status, was not showing up. When I looked at the Gnome Tweak Tool it showed an error had occured. It turns out that the extension name was the same as another extension I had installed. Here is the error from .xsession-errors. $ cat .xsession-errors | grep brett JS LOG: /usr/share/gnome-shell/extensions/brett@insynchq.com JS LOG: Extension “brett@insynchq.com” had error: Error: Extension point conflict: there is already a status indicator for role places-menu…

Read More

Previously the only way to run Netflix on Linux was to install a Windows VM on VirtualBox. Now it is running seamlessly (although not natively) on Ubuntu 12.04 and 12.10 using Firefox and Microsoft Silverlight under WINE. A special ppa has been setup to make the entire process easy. Simply run the following commands: $ sudo apt-add-repository ppa:ehoover/compholio $ sudo apt-get update && sudo apt-get install netflix-desktop After the PPA and netflix-desktop is installed simply run it like any other app. It is running beautifully on my Ubuntu 12.10 laptop with Gnome 3. By default it runs full screen but…

Read More

It can be tricky to change the target of a symlink in a production environment where that symlink is accessed often and unpredictably. The normal method is to remove the old symlink, then create the new one. If you have a symlink that is accessed often or unpredictably there is a chance that something will try to access it between these operations and have bad results. The easiest method for changing a symlink is to use “ln -f” which will unlink the old symlink then create a new one. Again this is not atomic but will work in most traditional…

Read More

If you are setting up a new server or configuring a new account it can be a pain to setup ssh public key authentication so you don’t have to use passwords. The most difficult part is transferring your private key to the remote machines. Fortuneatly there is an easy way to accomplish this task. The first step is to generate a rsa public and private keypair on your local machine. $ ssh-keygen Now you will need to transfer your local public key to each remote machine that you would like access. There are a couple ways to do this. 1)…

Read More

In SketchUp 7 and 8 there is a problem that when run on Linux with WINE with the refresh of the screen. Whatever you are working with on the screen it will always one mouse event behind. For example if you are deleting an object, you will need to scroll the view in or out to see the change take effect in SketchUp. This can be a real pain and can get in the way quickly. Here is my setup but I have seen the issue on another system with Nvidia and an older version of Ubuntu/Wine as well. Sketchup…

Read More

While trying to run SketchUp under WINE in Ubuntu I was greated with the following error message before it crashed. OpenGL: ChoosePixelFormat failed Sketchup was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphics card. I am currently running Ubuntu 12.10, WINE version 1.4.1, and using Intel HD 4000 graphics. I have heard of this issue occurring on other versions of wine as well as SketchUp 7, so this problem appears to be much wider in scope than my setup alone. Here is how I was able to fix it. Locate and execute…

Read More

I installed Virtualbox on a new 12.10 Ubuntu from the repository when I ran across a problem $ sudo apt-get install virtualbox At the end of the installation I was greeted with the following error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. It…

Read More

Debugging programs is not fun or easy but knowing how to create and analyze a core file dump from a dying program makes your life a bit easier. First off check the system core dump size limit. $ ulimit -c 0 Set the maximum size of core files created to unlimited. This must be done each time you start a new login session as it will only change this limit for the current shell. $ ulimit -c unlimited $ ulimit -c unlimited Here is the source code for a simple C program that will produce a segfault and a coredump.…

Read More

If you are like me one of the only reasons to keep a windows partition is to be able to play the occasional PC game. Well starting today Valve has opened registration for their Steam for Linux beta, which will hopefully bring the end to our dependence on Microsoft gaming. Valve is primarily looking for experienced Linux users and have spots for 1000 in this limited beta. We’re looking for Linux gamers to install and test our new Steam for Linux client. We are primarily interested in experienced Linux users. In order to take the survey, you need to first…

Read More