16 Sep 2011

Using The Old .deb Installer (gdebi) Instead of Software Centre in Ubuntu

The new Ubuntu Software Centre is really great, and I often explore it to find the awesome packages that are available to install. One thing that bugs the hell out of me, however, is that in recent versions of Ubuntu .deb files (ie when you download a deb package and manually install it) open in the Ubuntu Software Centre and the process is incredibly SLOW.

I have dealt with this and just accepted it, instead using the command line (dpkg) instead to avoid using the Ubuntu Software Centre, but I occasionaly forget and just double click the deb file to launch it. Today I decided to solve this problem for myself, so here is how I did it.

Tip: How to give the old deb installer it's place back in newer versions of Ubuntu (instructions are assuming use of pcmanfm, if you are using nautilus, you should start using pcmanfm, it's better - otherwise the process is much the same in nautilus) 

First

sudo apt-get install gedbi

This will get gdebi installed. Next find a .deb file you wish to install with your file manager, right click it then select "Open with..."

In the "Custom Command Line" tab enter the following

gdebi-gtk %f

Click the checkbox next to "Set selected application as default...blah" and finally click "Ok".

The deb should load up with gdebi and double-clicking .deb files in the future should fire up gdebi instead of Ubuntu Software Centre.

Again, Ubuntu Software Centre is great for discovering and installing software that is available in the Ubuntu repos but I just think it should be keep out of the loop if I found the software else where.

16 Jun 2010

Quick Tip for Gnome: Taking Back the Location Entry in Nautilus

I have seen this question come up a couple of times on IRC channels and now on twitter (warning: passionate language) so I thought I would explain how to retrieve the location bar that has seemingly been replaced altogether by the 'windowsy' location browser since 2.30. Just in-case you do not know what I am talking about here is a screenshot of what we generally do not want:
Media_httpwwwrickvaus_fmktb
And here is a screenshot of what we generally do want:
Media_httpwwwrickvaus_ulqge
It's not a difficult fix. All you need to do is open a terminal window and enter the following:
gconftool-2 -s -t bool /apps/nautilus/preferences/always_use_location_entry true
and to switch back:
gconftool-2 -s -t bool /apps/nautilus/preferences/always_use_location_entry false
Done.
30 Mar 2010

Quick Tip For Ubuntu: Web apps pretending to be desktop apps

One of the things I do like about Google Chrome is that you can select any web application and create a short cut to in on your desktop that will run the application in it's own window, but I don't particularly like Chrome because it is still marked as BETA and I have experience some unexpected behavior whilst using it. Enter Prism, there is no use me trying to describe it to you so this is taken from Ubuntu Software Centre:
"Prism, previously called WebRunner, is a simple XULRunner based browser that hosts web applications without the normal web browser user interface. It is based on a concept called Site Specific Browsers (SSB)."
Basically, it will allow you to create shortcuts on your desktop for your favorite web applications to run in their own windows and (sort of) appear as a desktop application. A good web application makes most, if not all, of the browsers user interface redundant. So why waste precious screen real estate stuff you don't need? So to get started, install Prism:
sudo apt-get install prism
This will install Prism, you probably already knew that. Next start Prism from the menu Applications>Internet>Prism Enter the URL of the application (for example http://mail.google.com) and under Create Shortcuts check Desktop. Click OK and you will have a shortcut ready to start on your web browser. That's it really. I am running Google Mail, Facebook, Hootsuite and they are all running brilliantly. If you want an easier, Google Chrome like way of adding Prism shortcuts you can install the Firefox plugin. This is not necessarily limited to being an Ubuntu tip, it is just my primary operating system.
23 Mar 2010

Quick Tip for Ubuntu: Shade/Rollup Window with Mouse wheel

This one was driving me nuts. For some reason this was already active on my desktop running Karmic Koala at work, but I just could not remember if or how I activated it. I don't think I did. It must have already been turned on when I installed Karmic Koala back in November. Anyway.

Run gconf-editor (Alt+F2 and enter 'gconf-editor' and Run) Use the tree on the left to browse to /apps/gwd/ Select the key mouse_wheel_action and change it to 'shade'

Hope this helps somebody!
9 Mar 2010

Getting started with Ubuntu: Ideas for new users

Media_httpwwwrickvaus_uuxab
It occurred to me that, although I encourage people to switch to a free operating system I do not really provide them with a proper introduction. Reason being that they do not really need one, switching from Microsoft Windows to Ubuntu should be pretty smooth, the user interface is intuitive enough to be self explanatory and the over all user experience is built upon pretty solid ideas about how to make things easy to use. A friend recently took an interest in installing Ubuntu Karmic Koala at home on an old machine but didn't really have any direction for beginning to use the operating system once it was installed. So here are some things I thought of that would be good to exercise a person completely new to Ubuntu.

1. Switching Empathy for Pidgin

Since 9.10 Ubuntu has been bundled with Empathy, which is a good IM client but I find that at current, it lacks the stability and richness that Pidgin provides. The switch can be achieved by using Ubuntu's new app-store-like 'Software Centre'. Click Applications -> Ubuntu Software Centre Select 'Installed Software' from the menu on the left. Search for 'Empathy' Select the item named 'Empathy' in the search listing and click the arrow to the right. The next page provides you with some information on Empathy. Click the 'Remove' button and enter your password to remove Empathy. Now select 'Get Free Software' from the menu on the left. Select 'Internet' from the main menu and search for Pidgin. Select the item named 'Pidgin Instant Messenger' from the search listing and click the arrow to the right. The next page provides you with some information on Pidgin a long with a rather unimpressive screenshot. Click the 'Install' button and enter your password and wait whilst Pidgin is installed. Once installed Pidgin will be made available in the Applications menu as well as the notifications area by the clock.
Media_httpwwwrickvaus_huhaa
I would like to note here that this is in no way a ploy to get people to switch to Pidgin from Empathy. Honestly I use Empathy at work and Pidgin at home, I don't know why. I guess I don't really have an opinion on IM clients.

2. Installing Gwibber and posting a message on Facebook.com

Gwibber is something that I consider to be a productivity tool. I rarely use my computer for anything other than work and believe visiting social websites is a real waste of my time at the keyboard, however, I like to keep in touch and have never ruled the use of social networking out. Gwibber brings all the social noise you have together on your desktop, notifying you of other's updates as well as empowering you to update and reply using a few keystrokes without disrupting your focus. You can install Gwibber in a similar way to how installing Pidgin is described above or use the command line as follows. Hit Alt+F2, enter 'gnome-terminal', hit RETURN. Enter the following commands.
$ sudo apt-get update
$ sudo apt-get install gwibber
You will need to enter your password. Once the instructions are completed by your system Gwibber should be available in the Applications menu along with the notification area by the clock. When you start Gwibber you will be prompted to add an account. Once you have added your accounts to Gwibber click the menu item Gwibber > Preferences. Under the Messages Tab in the preferences window you select the option 'Automatically shorten pasted URLs'. This will save you a lot of time when posting a link.

3. Setting up your music library in Rhythmbox

There are a lot of great alternatives to Rhythmbox, like Listen (https://www.listen-project.org/), however I have never had the calling to try another on Ubuntu since Rhythmbox is great. Open Rhythmbox by selecting it from the Application menu. Once Rhythmbox is open, Mac users might notice the layout is similar to iTunes. Select the menu item Edit > Preferences. Select the 'Music' tab and check the option 'Watch my library for new files'
Media_httpwwwrickvaus_fiqfu
Minimise Rhythmbox and select 'Places' next to the Applications menu and from the list select 'Music'. A new file browser window will open. Place your music collection here and Rhythmbox will automatically add it to your library ready for searching and playback.

4. Turning on 'funky' compiz desktop effects.

This one requires an ok-ish graphics card. I have on board Intel chipset graphics built into my laptop and this seems to work quite well. This could possibly add a productivity bonus to your desktop but I am yet to see it as anything more than a bit of fun. From the 'System' menu select Preferences > Appearance. Select the 'Visual Effects' tab. Three simple options are provided here None, Normal and Extra. Select Extra and have some fun dragging your windows around, switching workspaces/windows. If you are feeling a little more confident install CompizConfig Settings Manager. From a terminal window enter:
$ sudo apt-get install compizconfig-settings-manager
You may need to enter your password again. Once the instructions are complete, a new item should be listed in the System > Preferences menu titled 'CompizConfig Settings Manager' and tweak the options to balance your personal preference against the performance you get from your computer. Hints can appear whilst your mouse hovers over options, these help a lot when using the settings manager for the first time.

more...

There are a lot more ways to start enjoying using Ubuntu. Using it day to day I take a lot for granted which made this entry quite difficult to write. I will add more items here as I think of more interesting ways to get started with using Ubuntu.

Rick Vause's Space

Hi, I’m Rick Vause. I am a web developer that loves Python.

I have always been interested in technology and software. I am a keen supporter of a number of open source projects.

I am obsessed with my ideas and attempts to continuously better myself in both my work and leisure time. I am always learning and trying to improve as long as there is space left in my head. I often find interesting, new things (interesting and new to me, at least) that I share on my blog.

I also like music and art.

I once spent 2 months working on a self-portrait that turned out terrible so for the avatar portrait I turned to my better half, Klaudia.

If you have any questions, comments or wish to talk to me about a project you are working on, please contact me.

I also try to be social so you can find me on Twitter, Facebook and Last.fm.

Contributors

Rick Vause