How Can I Make Gnome Menu Run Faster ??
I'm running Ubuntu 7.10 and I made my Gnome menu run faster through the following instructions. However, this is only temporary. How do I make this permanent?
1. Create a file named .gtkrc-2.0 in your home directory cd touch .gtkrc-2.0 echo "gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0 2. Logout and login again I have tested with a value gtk-menu-popop-delay = 2000 before to try gtk-menu-popop-delay = 0 to see what is different in effect. After I do this, the menu runs alot faster. But, when I turn off then on my computer, this effect is gone. How do I make this permanent? . |
If this is only temporary this would mean that the file ~/.gtkrc-2.0 is deleted everytime you log out and back in.
Though this is unlikely you should check if that file exists and also what is in it prior to your command. echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0 would do the same thing - as well as using any editor and writing this (gtk-menu-popup-delay = 0)to the file and save it. gconf-editor (should be available via menu as "configuration-editor") would be worth a look as it is the way to configure the behaviour of the gnome desktop. I did not find the relevant item on a quick search, but sometimes one needs to create new keys... Maybe looking in this direction will yield some result. |
Hey, you're not running Ubuntu from a LiveCD, are you ?
LiveCD doesn't save the changes that you do. |
Quote:
|
You issue this command (thats what it is...) from a terminal such as gnome-terminal.
Or you use any editor you like - put the line "gtk-menu-popup-delay = 0" into it and save the file as ~/.gtkrc-2.0 ... without the quotation-marks in this case (that is: .gtkrc-2.0 in your /home/<username> directory) |
Quote:
cd touch .gtkrc-2.0 echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0 However, ubuntu woldn't allow me to name a file called, "~/.gtkrc-2.0". An error message pops up and says it can't name files with characters such as "/". Any other suggestions? |
Do it logged in as you then (as a normal user) - if you haven't done so already.
issue: "cd" before you try - which will bring you to /home/<username> "touch" is not neccesary (and I did not tell you to use it ... but that should not matter) - if the file exists already, the line will be appended to the file. Or use an editor on the file .gtkrc-2.0 instead. If the command really does not work than I can only say: Ubuntu is wiered. It works for me every time I use this way of appending some line to some file. Check with: cat ~/.gtkrc-2.0 and you should see what is in there Good Night |
Quote:
cd touch .gtkrc-2.0 echo "gtk-menu-popup-delay = 0" >> .gtkrc-2.0 It still doens't work. Also, Ubuntu still won't allow me to create a file named, ~/.gtkrc-2.0 because as I've said before, it won't accept files named with special characters like, "/". So, what should I do now? . |
That sounds really ... incredible (no offense, please!)
Can you create any file? example: Code:
touch testfile The second lists the directory and will list only that file which should have just been created The third removes it. The fourth checks again for the existence of that file - which will be gone now. Please test that and post what output you get from the second and fourth command. |
Quote:
x@xx:~$ touch testfile x@xx:~$ ls -al | grep testfile -rw-r--r-- 1 x x 0 1987-12-31 22:25 testfile x@xx:~$ rm testfile x@xx:~$ ls -al | grep testfile x@xx:~$ |
ok. - so you can create files just fine (as is to be expected).
next try in the same fashion: Code:
cd Please also tell whether the first "x" on the line is actually saying: "root" - or is this your username? |
Quote:
x@xx:~$ cd x@xx:~$ ls -al .gtkrc-2.0 -rw-r--r-- 1 x x 28 1987-12-31 19:34 .gtkrc-2.0 x@xx:~$ cat .gtkrc-2.0 gtk-menu-popup-delay = 6000 x@xx:~$ echo "gtk-menu-popup-delay = 0" >> .gtkrc-2.0 x@xx:~$ cat .gtkrc-2.0 gtk-menu-popup-delay = 6000 gtk-menu-popup-delay = 0 x@xx:~$ "x" happens to be my username, in response to your question. Let me know what are the next steps. Thanks. . |
ok - what I see here is:
- the file .gtkrc-2.0 already exists - it already has a one line in it - prior to your input The line is: gtk-menu-popup-delay = 6000 ...it is the "slow menu" variant as I see it - you can write to the file another line - you did this using the command ... and it worked - after that it has two lines first the "slow" value - then the one you desired (what we wrote to it: gtk-menu-popup-delay = 0 It seems to be ... that only the first will be taken into accout - which is the "slow" one - the one that you don't want Now for an attempt to change that: Code:
cd whereas the command I used before used two ">" signs (">>") - meaning: append the line to whatever is in the file already. I used that because I did not know what was in that (your) file and did not want to destroy it. Now - with only one line - with the one you want - it should work as you desired. |
Quote:
. |
Not a miracle - you only need to know what is actually going on. This took some time...
Glad I could help you :) |
All times are GMT -5. The time now is 01:13 PM. |