Ubuntu Linux Tips & Tricks
Trails you can add marks to (including your own) are marked with the pencil icon.

A trail of 12 pages, marked with comments, by rowanrook
About this trail:
My touchpad was driving me crazy; every time I tried to edit a document in Ubuntu Linux, my cursor kept jumping around like a grasshopper. There is a Multiverse application called Touchpad by GSynaptics which will let you change your touchpad settings or disable it. Just click Applications>Add/Remove, then type Touchpad into the search box. Oh, and make sure you have the "All Available" drop menu option set too. Check the box and click Apply. After the application installs, you will see it in your System>Preferences>Touchpad. There is one more thing you will now have to do (oddly, most applications don't require this sort of editing procedure). Open the Terminal, and type in
sudo gedit /etc/X11/xorg.conf
Enter your admin password, then scroll down the file that opens up until you see
Section "InputDevice"
    Identifier    "Synaptics Touchpad"
This is where you will want to add:
    Option          "SHMConfig"             "true"
Click "Save" and then exit. Reboot, and now you should be able to disable/enable your touchpad with ease.
12 marks in this trail
1
My touchpad was driving me crazy; every time I tried to edit a document in Ubuntu Linux, my cursor kept jumping around like a grasshopper. There is a Multiverse application called Touchpad by GSynaptics which will let you change your touchpad settings or disable it. Just click Applications>Add/Remove, then type Touchpad into the search box. Oh, and make sure you have the "All Available" drop menu option set too. Check the box and click Apply. After the application installs, you will see it in your System>Preferences>Touchpad. There is one more thing you will now have to do (oddly, most applications don't require this sort of editing procedure). Open the Terminal, and type in
sudo gedit /etc/X11/xorg.conf
Enter your admin password, then scroll down the file that opens up until you see
Section "InputDevice"
    Identifier    "Synaptics Touchpad"
This is where you will want to add:
    Option          "SHMConfig"             "true"
Click "Save" and then exit. Reboot, and now you should be able to disable/enable your touchpad with ease.
2

I use FireFox 1.0.6 and Opera 8.02 constantly. They both had been displaying problems of slow access to web sites. After reading this comment I decided to try it and see what happened. It made a huge difference with FireFox under SuSE 9.0. I got a couple of friends to try it out and they did not get the same increase in speed that I did -- though they were using the FireFox and SuSE as I was.

On my system it made a big difference. The difference was in the "pause" right after you clicked on a link and some pauses while loading that are no longer there. It did not change the download speed or anything like that.

It had to be checking for an IPv6 link when it first tried the DNS server. That brought up the question of -- if that is the problem why did this fix only work on my system? I did some research and discovered that the ipv6 thing is not exactly a FireFox problem. Technically FireFox is working correctly. What seems to be the problem can be anyone of three things. Buggy DNS servers, buggy home routers and browser settings.

Some DNS servers are returning ipv4 results for an ipv6 request which causes FireFox to do multiple request -- which is the procedure specified by the standard. Other browsers are ignoring any bad ipv6 responses or considering them the same as no ipv6 address available (except for Opera 8.02) and don't have the delay problem.

Some home routers, which set themselves up as your DHCP and DNS servers, are doing something similar. Wireless routers seem to be the number one problem but regular routers can cause the problem also.

This means that you can get a delay of 4 to 5 seconds when your router is first accessed, then a similar delay when any buggy DNS server that is accessed during the load of a web site, returns a bad ipv6 result. This becomes a problem when the site you visit links you to several other servers that have to be looked up. An example would be the multiple ad servers at Yahoo.

Another issue that screws up figuring this out is that the OS itself could have ipv6 set on or off (mine was off) which means that if it is set to off, any test or anything run from the shell (like wget) will not have this problem. Makes it harder to debug.

I decided to play with my router and see if it was the main problem, since I just switched to DSL with a new router that was built in to the DSL modem. Before I did that, I decided to check my network settings and noticed that the old cable modem DNS servers were still listed in my settings. Since they could be buggy and the problem I decided to put in the new DNS servers used by the DSL provider. While thinking about how to find those IP addresses I noticed that there was an option of: "Update name servers and search list via DHCP" in my network settings. Hmmmmm I thought, this would be a great test to see if it is the router causing the problem since it is the DHCP server.

When I changed the settings to "Update name servers and search list via DHCP" which lets the router decide which DNS servers to use and probably activates a cache in the router -- the speed difference was amazing... Not only for FireFox but for Opera also. Now turning IPv6 on and off in FireFox makes no difference in speed.

Why this made such a difference I don't know but it has something to do with the way the router handles IPv6 when the router is in complete control of serving addresses through DNS. The router/modem is one of the latest, hottest, etc. (and most expensive) and has lots of state of the art features (four port router, wireless built in, DSL2+, etc) and may have advanced DNS selection and usage features (I say may because the manual is buried somewhere). So changing this setting on your system might not make the same speed difference with older routers. But if you are using a router with DSL or cable I recommend that you check your network and DNS server settings and try out "Update name servers and search list via DHCP" if you are not already using it.

Happiness is a hot connection...

3
If you use Firefox in Ubuntu Linux, you will notice it is missing the DOM Inspector and Talkback extensions. Here's how to install them.
6

Why enable extra repositories?

Repositories contain software. Extra repositories give you extra software. Some people like that. If you need help installing software, check out this page.
7
  • Manual updates are at your own risk. Mixing incompatible repositories can break your system.
  • Create a backup of your current list of sources, overwriting any previous backup.
sudo cp -i /etc/apt/sources.list /etc/apt/sources.list_backup
  • Use a text editor (gedit or nano) to edit the sources list:
gksudo gedit /etc/apt/sources.list
  • Edit the repositories in the sources.list similar to this template:
To use your local mirror you can add "cc." before archive.ubuntu.com, where cc = your country code
e.g. deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
8

Today marks the release of Ubuntu Gutsy Gibbon. One brand new feature of gutsy is that tracker, a desktop indexer like google dektop, runs by default. Tracker also supports taxonomy for your files and folders but this feature is not yet integrated into gnome. But wait…you can have it anyway in a few simple steps:

  1. Install python-nautilus package:
  2. sudo aptitude install python-nautilus

  3. Download “Tags-Tab”-Extension and move it to .nautilus/python-extensions (you may have to creat this folder)
  4. Restart Nautilus:
    Alt+F2 and type in killall nautilus
    Now you can start tagging files and folders. Simply right-click on the item you want to tag, go to the “Tag”-tap and insert your tags.tagging1.png
  5. Setup Searchfolders
    In order to have your tagged items on your hand when ever you need them, simply go to nautilus click on the search button and type:
    tag:[tagname]
    Then go to File->Save search… tagging2.png

Voila, now you can start reorganizing your desktop with tags. I “implemented” some sort of GTD-System with a “next”-tag for files I want to work on in the next days.

Update 29.10.07: User k20878 notes that if this did not work for you, you should try to make both the .py and .pyc files in the
extensions directory executable.

9
download
Description:
konqil.icio.us is a KDE service menu for del.icio.us

To install:
1) Check you have the Perl HTML, URI and LWP modules installed (liburi-perl,
libhtml-parser-perl and libwww-perl packages under GNU/Debian)
2) Copy del.icio.us and del.icio.us.desktop to
$HOME/.kde/share/apps/konqueror/servicemenus
3) Make sure $HOME/.kde/share/apps/konqueror/servicemenus/del.icio.us is
executable (chmod u+x $HOME/.kde/share/apps/konqueror/servicemenus/del.icio.us).
4) Change the username variable within
$HOME/.kde/share/apps/konqueror/servicemenus/del.icio.us to point at your
del.icio.us account (this is on line 33)
.
 with GNOME 
 by rowanrook  on: 11/03/2007, 7:47  
I use the GNOME desktop but I have Konqueror installed too. My filepath was /usr/share/apps/konqueror/servicemenus. Also, in the .desktop file, I had to change it to that filepath too. Then it worked like a charm. Thanks!
10
linux tip

Automatically Subscribe to Your Google Calendar


Linux users: Setting up read access for your Google Calendar from the integrated Gnome calendar (included with Evolution) can be achieved with one terminal command. In fact, it is surprisingly simple to set up a self-updating subscription to your Google Calendar. You only need to enter the following command once and your calendar will automatically update.
Go to your Google Calendar and find out your private ICAL URL (This can be found after clicking Manage Calendars > Your Calendar Name)
Now, open a terminal and type :
/usr/lib/evolution-webcal/evolution-webcal YOUR_PRIVATE_ICAL_URL
That's all there is to it. The dialog shown in the screenshot will appear and you'll be able to customize how frequently you want the Gnome calendar to update. When you click the calendar in the Gnome menubar, your events will be displayed.
11

For several months I have been trying to configure a Dell 3110cn color laser print to work in UBUNTU. A lot of reading then a lot of forum questions. Not many answers.

Nothing seemed to work and I was ready to sell a very near new printer for little or nothing just to get rid of it.

This is how I finally got things working.

1. select system --> administration --> printing

2. Right click on new printer --> select add new printer --> click on Network printer --> select HP jetdirect. (this is no mistake. Just do it)

3. fill in the host with "http://localhost:631". Leave the port at 9100.

4. Select "generic" for a manufacturer then "PostScript Printer" for a model.

5. Next put whatever you want for Description and Location.

6. close out and when your printer shows up in the printers window highlight it and right click. Select properties.

7. This is where you will think I'm nuts but it works. Open firefox or whatever browser you use. Enter "http://localhost:631/" on the command line and enter it. You should now be in the CUPS setup window.

8. Near the top of the page select "Printers". A page should come up showing all the printers you have set up in the printers page. Select "Set Printer Options". Make any changes for the printer you just set up and select the "Set Printer Options" green button to save them.

9. Close out of everything and enjoy. :)

I am sure there are a dozen other ways to do this but it took me a few dozen tries and a few weeks of frustration to figure this thing out but it worked for me. I don't want to hear about what I did wrong. IT WORKED. End of story. I just hope it will save some time and effort for someone else.

This also solves the problem of the printer trying to print A4 paper size also.
12

Dell 3110cn

use dell-rpm from Cd or the dell-M5200PSdriver, coming with cups.

To install the rpm file coming with the printer use alien: sudo alien -k Dell-Color-Laser-3110cn-noarch.rpm & install the deb file. For use as network-printer you can set the IP of the machine within the display


Add your comment: