How do I Modify Notification Area? – Ubuntu 8.10

How do I modify notification applet so that it only notifies me about things that I want to be notified about. For example I don’t want it to display notifications about network connection but I want it to display notification when there are updates available to install.

Totem Youtube Search and Play Plugin

I recently started using Totem movie player. Before that, VLC was my prefered media player on Ubuntu and Debian. It is still default media player on my Windows partition. But on Linux I think Totem is wonderful. I love the simplicity of Totem’s interface. Which is weird because in past I disliked Totem for the same interface but after using it a while I have become a fan. The interface is not only simple, it is also very intuitive. Totem is also feature rich in its own Gnomish way.

I specially liked Totem’s Youtube video search and play plugin. It looks fantastic, you can search and play youtube videos right inside Totem and it works great with Ubuntu 8.10. I loved it but I don’t think I will be using it that much. Totem also has BBC video plugin but unfortunately I failed to connect to the BBC servers.

Screenshot Totem's YouTube plugin - Click to enlarge

Screenshot Totem's YouTube plugin - Click to enlarge


While watching videos on YouTube you can read description provided by the uploader, you can read comments, add yours, add the video to favorites and do lots of other cool things. It is currently not possible to do all these things in Totem. You can add a video to a playlist in Totem and save that playlist on your computer, but what about the playlists I have on my youtube account?

I think some added features will make this plugin more interesting for users. Like for example the description and comments could be displayed just like it displays related videos in an extra tab on the sidebar when a video is played.

I am also thinking how one can add other video sites to totem?

Bring Me Back To Freedom

Google Chrome arrived and I had to log on MS Windows to see how it works. I am so impressed that I don’t really feel like going back to Ubuntu and use Firefox. I have installed Windows Vista, which has Aero theme. I use Chrome and the world is beautiful again.

Honestly, I don’t like Microsoft Windows much. Previously I had trouble getting it configured for my internet, graphics and audio settings. It is just too much work with windows, I thought. But may be I was a little bit too biased towards freedom. I had this feeling that I am a software freedom fighter, I can not use Windows. But I am starting to think differently now.

If I use Windows I have Aero which looks 10 times better than Gnome with compiz and it has Google Chrome which is faster than Firefox and works like a charm.

These new things make me feel good. The graphics aren’t ugly, I have the same visual effects on Ubuntu too but they don’t look that good. Gnome’s interface that I have loved so much, now looks childish and boring. The simplicity has gone to a point where it feels like an insult to the human intelligence.

The windows are too big they take a lot of screen space. The fonts are ugly. Definitely Ubuntu has better support for Urdu Language but Vista is not that bad either. Using Vista I can use the new VLC media player that uses QT and has good looking interface.

I tried searching the Gnome website to see if they have any plans to give me something thats more beautiful than Mac OS X, Vista and KDE4. But I don’t think they have any plans to bring something modern and new for at least a few more decades. I can go for KDE4, and I did. I tried it with opensuse. But it crashed so often and after a week of trial I gave up. I tried KDE4 on ubuntu and the result was the same.

Developers at Gnome should think about improving their simplicity. Give me an intelligent user interface that is smarter than me. Give me better fonts. Don’t fill my screen with thick windows, fat buttons, and king size Icons. The KDE folks if they read it, please make it available for Ubuntu and make rock solid. Every body hates to see the crash handler poping up now and then. and I want VLC with QT ASAP.

Please bring me back to the free world. Please bring something exciting and modern.
BTW, after finishing this post I am going to try KDE for windows and see how it works. It might be unstable like hell but I want to do try it anyways.

Note: I haven’t completely switched to Windows yet. I am just jealous.

Troubleshooting Volume and Sound Card Configuration in Debian

I had a problem with gnome-volume-control. It didn’t save my volume control settings and displayed a mute sign on every startup.

While trying to solve this issue, I did something (I don’t remember what it was) that totally messed my sound configuration and now gnome-volume-control stopped working at all. Today I solved this problem and thought that I should write it here may be some one would find it useful. Please note that these instructions are written for Gnome. You can use these settings for KDE too but for that you will have to set sound system to use Alsa.

The first step is to make sure that you have following packages installed:

  • alsa-base
  • alsa-source
  • alsa-tools
  • alsa-tools-gui
  • alsa-utils

ALSA is Advanced Linux Sound Architecture. It provides sound drivers and provides audio and MIDI functionality to Linux Operating System. With the above packages installed we are now equipped to move on. Now start the Terminal and run:

# alsaconf

Remember that # sign tells you that the command should be entered with super user privileges.

This command will start a wizard ‘Alsa Configurator’ to assist you configure your ALSA settings. Read and follow the instructions, they are self explanatory and you just need to press the enter button on your keyboard. This script automatically closes gnome-volume-control and a notification appears informing you about that and asking you whether or not you want to reload gnome-volume-control applet. Choose Don’t load or do nothing and press the Reload button when you are done with Alsa Configurator script.

gnome volume iconNow if you pressed the Don’t load button then you will have to start gnome-volume-control. I will tell you only the easiest way. Move your mouse to the panel, right click and select Add to Panel and then add Volume Control applet. Double click the volume icon on your panel and set the sound. Don’t worry we are going to test it later.

Exit volume control and type

# alsactl store

now run

# speaker-test

You hear the sound?

Yes: Thats good now close the terminal to get rid of this annoying noise. You can now set your volume control settings to your desired levels.

No: Try again, reboot your system and they try to play some music or sound files. Sound doesn’t work at all? Then I suggest you read the expert advise. If the expert advise is too difficult for you to follow then you should try Debian IRC chat room for help.

Using Terminal as FTP Client

Ok so you have installed Ubuntu and loved the pretty and easy Gnome interface, now what? May be you are thinking, that this Ubuntu is just another operating system. It is indeed just another operating system. But, this one is a Debian Linux based operating system. Sooner or later you are going to realize that your OS is equipped with powerful tools and utilities. Most of these power tools and utilities show their true powers when they are run from the Terminal.

For example there is an FTP client that you can run from Terminal.


$ ftp
ftp>
ftp> open ftp.example.com
Connected to ftp.example.com.
220 ProFTPD 1.3.0rc2 Server (YourHost FTP) [XXX.XXX.XXX.XX]
Name (ftp.sabza.org:nom): yourusername
331 Password required for yourusername.
Password:
230 User yourusername logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

Playing with this ftp tool for a while would make you feel that it is not all that powerful. So you need a powerful ftp tool that you can run from Terminal? Try ncftp.


$ sudo apt-get install ncftp

and then:

$ ncftp
NcFTP 3.2.0 (Aug 05, 2006) by Mike Gleason (http://www.NcFTP.com/contact/).
ncftp>

Want something even more powerful? Well you have ssh but to use ssh your remote host should have SSH enabled.


$ ssh yourusername@ftp.example.com
yourusername@ftp.example.com's password:
[hostmachine]$

Using Terminal gives you the power to do things quickly. Head over to The Linux Terminal – a Beginners’ Bash and learn to do things the Linux way.

Tags:

Photo Management Applications

After disliking camera phones and people using camera phones for a long long time, I finally gave up and bought myself one. I am totally in love with my new camera phone. I love it for making things so easier. I can plugin my phone and share pictures and videos with the world. It is time for me to install some nice software to organize these audio, video and image files. Specially I am looking for some tool to organize image files and upload them to Flickr.

Unfortunately there is no plenty of such tools. I only found Picasa and F-spot. Picasa is Google’s proprietary software, I don’t mind using proprietary software but it is too slow, cluttery and doesn’t match with the rest of the environment. I don’t like installing software if they are not available via synaptic. But the lack of good alternates forced me to try Glimmr and Gnickr. Glimmr installed but I can not do anything with it as the program freezes often, doesn’t connect to my flickr account and crashes whenever I try to use anything in the Go menu. I installed the deb package for Gnickr but was unable to launch it for some unknown reasons.

Now my only choice is F-spot ubuntu’s photo management utility with the release of Edgy Eft(ubuntu 6.10). I am using Dapper Drake (ubuntu 6.06 LTS) so I had to install F-spot via synaptic.

The problem I am facing with F-spot is that I would prefer adding tags in a much more easier way. I just want to select an image right click and enter all the tags I want. F-spot also comes with some pre defined categories. May be I will learn how to do these things easily with f-spot after using it for sometime.

Right now I am using Nautilus to manage photos on my hard drive. It is much easier that way. Though I am unable to tag images but I can save them in different folders and nautilus’ default preview generation makes it easy to browse these galleries. There is a Nautilus script available to upload images to flickr directly from the file manager, but I was unable to try it as the script depends on a perl module and that perl module has other dependency issues.

After spending sometime looking at the available tools for photo management on Ubuntu I have made a set of features that I want from my ideal photo management utility:

  1. There is no need to import and make copies of image files stored on my computer.
  2. Tagging should be simpler. The application should use xml and save meta data inside the image.
  3. Clicking on a image provides me a menu to fill meta data information such as camera used, date picture taken, whether its a modified or an original version, who owns this image, tags, notes, comments, etc.
  4. Image editing is a plus but it should be simpler. I would rather use image editing applications to create different versions of image.
  5. Uploading to flickr or web albums should be easier.

Update: I tried Digikam with Kipi-plugins under Gnome desktop environment. Unfortunately it needs Konqueror to communicate with Flickr.

    Deleting Unwanted Files

    Recently I realized that the Disks utility was showing 8.6 GiB consumed on my Ubuntu partition (I have Xubuntu installed on another partition and have one FAT partition). I decided to free up some disk space by deleting temporary files. I found that there is no tool in Dapper to automate this process. There is a tool for KDE called ‘Kleansweep‘ and also there is a feature specification on launchpad to integrate a similar tool in Ubuntu. But right now Dapper users should do it manually relying on Google and their own instincts to decide what is safe to delete and what could break their system’s stability.

    To free up disk space we need to delete unnecessary files. But where are these files and how do I know that it is safe to delete them? I have found that it is safe to delete files in /home/username/.thumbnails/normal and /home/username/.thumbnails/fail folder.

    It is also safe to delete the downloaded packages in /var/cache/apt/archives I personally don’t like to delete these files. Infact I even copy and paste these files to a separate partition on my hard disk. Why? Because these files are the downloaded packages we install using apt (apt-get or synaptic). If we uninstall a package and then later decide to reinstall it we will have to download it again which consumes time and bandwidth. But if you are not like one of those people who install and uninstall software on a daily basis without need or reason then it is safe to delete these files.

    You can also free up disk space by emptying browser cache, saved chat files, old log files, etc.

    Have we cleaned all unnecessary files? I don’t think so. I really think that there should be an easy to use application to do this job.

    « Older Entries