So your using Ubuntu 64bit edition and you want to easily setup your Logitech G15 keyboard. In this easy to follow guide, I will show you how to quickly get your keyboard setup. The setup will get your volume control working, your clock working and you'll be able to configure the clock to your preference. Importantly you will be able to set it up so that the keyboard is functioning regardless of a user being logged in or not.
This guide will not show you advanced ways of using your G15. The G15 comes with powerful tools for Ubuntu and other GNU Linux distros that enables people to use the G15 is new and exciting ways. This guide focuses on getting your G15 working and does not look at additional plugins, macros and other cool stuff you can with your G15 once it is setup.
CAUTION: I have tested my how to on a version one G15. This how to has not been tested on a version 2 G15. There is no good reason to suspect it will not work on a version 2 G15, but it is noted nonetheless. Once a user with a version 2 G15 reports it as working I will remove this caution.
CAUTION: This guide is for Hardy Heron and prior Ubuntu releases. If you are on the Intrepid repos, Intrepid has the packages within the Ubuntu repos.
Normally, we would use the Ubuntu software sources for our software. One of the key reasons why so many G15 users on Ubuntu are having problems is they are using outdated versions of the keyboard software. The people writing our G15 software have moved ahead of where Ubuntu is up to and having the latest software is important for an easy, reliable experience.
If you have already installed the default Ubuntu versions, dont worry! This process will update them to the latest versions.
Thanks to the generosity of cdukes this person has already obtained the latest source, compiled it and packaged it into 64bit Deb packages for us.
1. Grab the four packages from cdukes
Goto cdukes post by clicking here into a new browser session.
Now, download these four files to your home directory:
2. Install the four packages
Simply click each of the four packages and select install. Hopefully the old Ubuntu packages will be updated soon so we can use the official Ubuntu repos for this.
3. Download the init script
I have attached at the bottom of this post my script called g15daemon-rc.init. Again, download this file into your home directory.
4. Extract the init script
The file is a compressed archive so open up a terminal session (Accessories -> Terminal). Now copy the following command and paste it into the terminal, hitting enter. Be careful to get all of the command into the cut and paste action.
Code:tar -xvjf g15daemon-rc.init.tar.bz2
5. Move the init script
Your a wiz on the terminal now, you know what to do!
Code:sudo mv g15daemon-rc.init /etc/init.d/
6. Enable the init script
Code:sudo chmod +x g15daemon-rc.init
Code:sudo update-rc.d g15daemon-rc.init start 51 S .
7. Startup your G15!
The big moment is here
Code:sudo /etc/init.d/g15daemon-rc.init start
You can also use the stop command to bring the service down.
Notice how you can use the buttons near the LCD on the G15 to change the clock. You can change things such as 12 hour or 24 hour time, analogue or digital, show the date or not.