Archive

Posts Tagged ‘ubuntu’

Kubuntu 11.10: Mapping the Windows Key to Activate KMenu

January 7, 2012 13 comments

This post is an explanation of how to map the Windows key on a Dell Studio 17 running Kubuntu 11.10 to open the KMenu. If you, or your programs, rely on the Windows key as a Meta key for certain functionality this will break that. This is your only warning.

This is taken from the Mepis docs that can be found at http://www.mepis.org/docs/en/index.php?title=Extra_keys. I wandered around the world for a long time before I stumbled onto this wiki and it laid everything out step-by-step. I am simply listing the same steps from the Mepis Extra Keys documentation modified for Kubuntu running on my Studio 17 notebook.
Read more…

Help! My Eclipse 3.5 Plug-in Editor has Stopped Working!

September 26, 2009 Leave a comment

The other day I went back to work on a plug-in and found that the plug-in editor was misbehaving. I have multiple installs of Eclipse (3.4 and 3.5) installed on (K)ubuntu and I suspected that might be the problem even though I never had a problem with multiple installations of Eclipse before. Heavens! What’s a blogger to do?

In fact I did what most people would do: I went to Google. What I found was Saminda Wijeratne’s blog where the problem was the same, but the solution described was quite different than I eventually discovered. However, I discovered the solution because the blog encouraged me to go to the Eclipse Preferences window and look at the Plug-in Development –> Target Definitions.

At that point I realized that the ${eclipse_home} variable was pointing to my 3.4 installation instead of 3.5! A little bit more digging also led me to discover that I could not change ${eclipse_home} explicitly within Eclipse. The solution is probably specific to Kubuntu: when I added Eclipse 3.4 and 3.5 to KDE using the Menu Editor I did not set the Advanced –> Work Path. I thought Eclipse would be smart enough to get it right, but I turned out to be wrong (not a good habit to get into).

In the image below notice how the Work Path for the highlighted Eclipse 3.5 entry specifically references my 3.5 path.

kdw-menu-editor-eclipse-3.5.
Once that was done, saved and tested there was much joy in Wonderland.

The cat was alive (though it took a while to find it).

Help! I’ve Installed Kubuntu on my Notebook and the Sound Doesn’t Work!

April 26, 2009 Leave a comment

I just (well, a few weeks ago) installed an instance of Kubuntu on a Dell Studio 17 (the host OS is Vista Home Premium 64-bit) and the volume went from low, after the initial installation, to non-existent after rebooting. Was it possible that the volume on Amarok was down? Nope, it was at 100%. Was the volume setting located in the task bar set to mute? No again. Was the Mixer at fault? No.

After trolling the web and finding many possible reasons for the sudden onset of muteness (bad drivers, conflicting installations of software) I found a simple check that proved to be the most telling: I ran the command line alsamixer and made sure the volume is up!

This is what I saw after I opened a Konsole terminal window and typed alsamixer:
before-small
Notice the lack of color on the third bar; the one labelled PCM. After moving the cursor to the PCM column and pressing the up arrow a few dozen times the bar was nicely multi-colored. This is what the alsamixer levels looked like (notice the PCM is up) after my tinkering:
after-small

I pressed Esc to exit alsamixer and ran the following to save the settings:

sudo alsactl store

The cat was alive.

64-bit Linux (Kubuntu), Eclipse and CUSP

December 28, 2008 1 comment

This is a short blog.

Question: how to get Cusp working on Eclipse on 64-bit Kubuntu?
Answer: install SBCL, update the Lisp properties to point to the Lisp interpreter, restart Eclipse and get to work.

The longer question: are you using 64-bit Kubuntu and having a problem getting the Cusp Eclipse plug-in to work?

The longer answer: The latest version of Cusp includes a version of SBCL that makes the plug-in a true standalone feature; the only problem is that it does not appear to work on 64-bit processors.

When I last used Cusp it did not include SBCL so all I had to do was install SBCL, update the Lisp properties, restart Eclipse and get to work. In fact, this still works so:
– in Kubuntu start the Adept Package Manager (not the Adept Package Installer) and search for/install SBCL.
– Start Eclipse. Go to Window –> Preferences –> Lisp –> Implementations.
– Put a check on Use a Lisp Sitewide Installation (executable is on the path)
– Click Browse next to Lisp Executable and find the SBCL Lisp interpreter. On my installation it is located at /usr/bin/sbcl. Click OK.

That’s it! Well, if that doesn’t work restart Eclipse. If that doesn’t work then restart Kubuntu. If that doesn’t work consider reinstalling Windows (well, maybe not).

I have to admit not trying this on a 32-bit machine, but there was a Google Groups posting that suggested this could be a problem.

While this Cusp ticket says that the bug is a feature I have not been able to get it to work regardless of the number of times I restart Eclipse.

Was that short enough? Probably not. I will try harder next time.

Or not.