[HOWTO] Install VLC Media Player 1.1 in Ubuntu Lucid Lynx and Maverick Meerkat

One of the most popular media players, VLC Media Player has version 1.1 RC out. The final version should be released shortly. You can install the Release Candidate by installing the following PPA:

ppa:c-korn/vlc

To do that, open System>Administration>Synaptic Package Manager>Settings>Repositories>Other Software>Add and paste in the code above.
If you are on Maverick, since the PPA does not have packages for Maverick, you can install the Lucid packages by editing the added PPA and changing maverick to lucid.
Then close the Repository window and Reload. Then Mark for updates and Apply. That should install the latest vlc packages.

[HOWTO] Get Edit Path Pencil Icon in Nautilus by Switching to Nautilus Elementary

Nautilus has breadcrumbs navigation. When you have a location you want to navigate to in a clipboard (copied from terminal or say a file), and if you wish to navigate to that location, you need to open up the run dialog (Alt+F2) and paste the location there or press Ctrl+L in any nautilus window and paste the location there. Both of these require keyboard. When there was Edit (Pencil) icon in Nautilus in some earlier versions, you could just press it and paste the location right there. But since it is removed now, it is not possible.

Nautilus elementary is a fork of Nautilus File Manager which claims to patched for simplicity. It now has a toolbar editor and you can easily add pencil icon to your toolbar using this feature.

It is currently available for Karmic and Lucid. To install it, open up Synaptic Package Manager (Alt+F2>gksu synaptic) and navigate to Settings>Repositories>Other Software and Add ppa:am-monkeyd/nautilus-elementary-ppa. If you are using Maverick, it is not available now, but you can use the Lucid PPA just by editing the entry (after adding, select it and choose Edit) and it should work fine. Now, close the dialogs and Reload in Synaptic. Mark All Upgrades and install it. You will need to logout and log in (or simply kill nautilus.. Alt+F2>killall nautilus) for changes to take effect. Now, to get the pencil icons or add/remove/move other toolbar elements, navigate to Edit>Customize Toolbar.

Hope this helps.

[SOLVED] Media Playing issues in Ubuntu 10.10 Maverick Meerkat

I am using Ubuntu 10.10 Maverick Meerkat 64bit Alpha 1 and I have been facing problem playing AVI and FLV files. I used to get the the following error “No suitable decoder module: VLC does not support the audio or video format “XVID”. VLC Unfortunately there is no way for you to fix this.”
in VLC when I tried to play some AVI files. Also, in terminal, it said:
“main decoder error: no suitable decoder module for fourcc `XVID’.
VLC probably does not support this sound or video format.”
Also, FLV files failed to play without any error. Totem said:
“No packages with requested plugins found. The requested plugins are: XVID MPEG-4 decoder/H.264 decoder”.

The problem was with libavcodec and libavutil. It can be fixed by removing all of libavutilxx (libavutil50, libavutil49, libavutil-extra-49, libavutil-extra-50) and reinstalling only what is required. This may also remove other packages (vlc for example, if you have it installed that is), so watch out but don’t install them immediately. Exit Synaptic. Now, if you want to fix totem, just open media with it. It should ask you for codecs, install them. Totem should start working. Install vlc later.

Hope this helps.

[HOWTO] Ease your eyes while using Linux with some RedShift

I usually sit in front of my PC for long hours. It is always better to have least effect on my eyes and I used to reduce the brightness and adjust colors for that. Now, I have discovered a software to do just that. It claims to adjust the screen color temperature according to the surroundings. It is called Redshift and can be installed from the PPA ppa:jonls/redshift-ppa. To install it on Karmic and Lucid, open up Synaptic and navigate to Settings>Repositories>Other Software>Add and paste in “ppa:jonls/redshift-ppa” (without quotes) and then close it, Reload the package lists by clicking Reload in the Toolbar and then search for redshift and install it. It is not available for Maverick Meerkat now, but you can install it by following my earlier post. After installation, you can run it by invoking the following command from the terminal:

redshift -l LATITUDE:LONGITUDE

For example, since I am at Lalitpur, Nepal, I ran:

redshift -l 27.4:85.2

You can find latitude and longitude information about your city here. If you don’t, use the one which is nearest to your place and it should work just fine. You will immediately see a change in color. You may also like it to show a tray icon so that you can disable/enable it easily if you have to. To do so, just run:

gtk-redshift -l LATITUDE:LONGITUDE

You can toggle enable/disable by clicking on the tray icon.

You will probably want to install run it on startup. To do so, just open Startup Applications and Add an application with command as

gtk-redshift -l LATITUDE:LONGITUDE

To see how much it is actually helping your eyes, keep it enabled for prolonged hours while you sit in front of your PC and disable it. You will see how difficult it is to see the normal color and how cool RedShift is.

Hope this helps.

[HOWTO] Take care of PPAs after Distro upgrade to Development version

I recently upgraded to Ubuntu 10.10 Maverick Meerkat Alpha 64bit and as expected, the PPAs that I use have been disabled. When I enable them, I get 404 errors for most because they have not set up PPA for Maverick yet. But I need the packages, I need the updates to those packages.

To get them, all I need to do is edit them in Repositories > Other software. Here I just change maverick to lucid and then I can use and update those packages. If I later find that the maintainers have already set one up for Maverick, I can simply change lucid to maverick.

If you want to add a PPA that does not have a Maverick release, lets say deluge-team ppa which does not have packages for Maverick at the time of writing this, you can simply add ppa:deluge-team/ppa and then edit it to change maverick to lucid. That should do it.

This is not a recommended procedure but it works and has always worked for me.

[SOLVED] Adobe FlashPlugin Problem in Ubuntu 10.04 Lucid Lynx 64bit

I had posted about flash plugin controls not working in Ubuntu 9.10 Karmic Koala 64 bit here. I had moved to Ubuntu 32 bit for quite sometime and recently made a move back to Ubuntu 64 bit. I found the same problem with flash plugin controls in Ubuntu 64 bit. Sometimes it works, and sometimes it doesn’t. I haven’t found any specific patterns to when it does and when it doesn’t. If someone has, please do share.

In my previous post regarding the issue, I had suggested the installation of Adobe flash player 64 bit version from Adobe Labs website. The solution worked fine for me and it seems for most of the others, but the plugin was experimental and when someone needed to update, it was not available via repositories. It has been provided in a launchpad ppa repository currently which can be added by adding ppa:sevenmachines/ppa to Repositories in Synaptic, but it seems it is not updated as of now and the latest version available in the ppa is 10.0.45.2 while Adobe has already released version 10.1rc4. But since the latest version is not recognized by youtube, I think we should stay with the version in the repository.

Simply open up synaptic and navigate to Settings>Repositories>Other Software and click on Add. In the apt-line, enter ppa:sevenmachines/flash and close it. Then Click on the Reload button. Now, search for flashplugin64-installer, mark it for installation and click on apply.

When done, restart firefox and flash should run fine.

Please share your flash player 10 experience in Linux.

Ubuntu 10.10 named Maverick Meerkat

Ubuntu 10.10 Marvick Meerkat has been announced at Shuttleworth’s Blog today, April 2, 2010 which should be released in October 2010.

It will probably have loads of new features that have been held back in Lucid Lynx since it is LTS (Long Term Support) version. I will probably be trying it out from the 1st Alpha release and keep you updated about the feature additions (what’s new) and changes. I think Maverick will feature gnome-shell, rgba support and more.

[HOWTO] Install GIMP 2.7 (with Single Window Mode) on Ubuntu Lucid Lynx

GIMP 2.7.1 added Single Window Mode and GIMP 2.7.x can now be installed via PPA. It is available here for Jaunty, Karmic and Lucid. I have Ubuntu 10.04 Lucid Lynx installed and I installed GIMP 2.7.3 unstable. Here is how you can do it, but if you use it for production, you might want to wait for final stable release.

Launch Synaptic Package Manager and click Settings>Repositories>Other Software and then Add

ppa:matthaeus123/mrw-gimp-svn

. Reload the software list and mark for upgrades. That will install GIMP 2.7 and you can enable the Single Window Mode by navigating to Window>Single Window Mode.