How to adjust the double click's speed in PCManFM?
How to adjust the double click's speed in PCManFM?
In PCManFM, the time between the first click and the second is short. I want to make it longer, but I haven't found the relevant item in config file even some information in the PCManFM wiki page. So, I sent this email to ask how to adjust it. Thank you.
Re: How to adjust the double click's speed in PCManFM?
Hi
Please have a look at LXInput, if it is not available for you distro (it's quite new) you can built it from svn:
You can adjust several settings for your keyboard and your mouse.
maces
Please have a look at LXInput, if it is not available for you distro (it's quite new) you can built it from svn:
Code: Select all
svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk/lxinput ./lxinput
cd lxinput
./autogen.sh
./configure --prefix=/usr
make
sudo make install
maces
Re: How to adjust the double click's speed in PCManFM?
Is there any other way? I am using the PCManFM in a arm device, SmartQ 5. It only has a touch screen. It is different to make double clicks on a touch screen by a pen in such a short time. Can I set something in the config file to adjust it?
Re: How to adjust the double click's speed in PCManFM?
If you want to change the double-click speed in PCManFM *only* then I can't help. The following should however change the double-click speed for *all* programs that use the GTK2 toolkit -- PCManFM as well as others:
Find the hidden text file ".gtkrc-2.0" in your home directory. If it does not exist, create it. If it does exit, read it before you proceed -- it may advise you to use ".gtkrc-2.0.mine" instead.
Add the following line:
That increases the allowed interval between two clicks from its default (250 milliseconds) to a full second (1000 milliseconds). -- Note that the change affects programs that are started after you save the file, but not programs that are already open.
Find the hidden text file ".gtkrc-2.0" in your home directory. If it does not exist, create it. If it does exit, read it before you proceed -- it may advise you to use ".gtkrc-2.0.mine" instead.
Add the following line:
Code: Select all
gtk-double-click-time=1000
Re: How to adjust the double click's speed in PCManFM?
I am going to trying it. Thanks!
Re: How to adjust the double click's speed in PCManFM?
I tried it, but actually it doesn't work.
There is a .gtkrc-2.0 file, and it contains someting :
I put the code "gtk-double-click-time=1000" in the end.
After restarting, the speed has not change anywhere.
Should I put the code in {}, or other place?
There is a .gtkrc-2.0 file, and it contains someting :
Code: Select all
style "my-scroll-bar" {
GtkScrollbar::slider_width = 30
}
widget_class "*Scrollbar" style "my-scroll-bar"
After restarting, the speed has not change anywhere.
Should I put the code in {}, or other place?
Re: How to adjust the double click's speed in PCManFM?
Putting that line to the end of the file should have been enough. No {} required.
It worked here exactly as described. Sorry!
It worked here exactly as described. Sorry!
Re: How to adjust the double click's speed in PCManFM?
I got it!
Because I am using the touch screen by finger, so the point from the first click and the second is mostly more than 5 pixels (default value).
So, I one more line in the .gtk-2.0 file:
Then, a double-click by finger is OK!
Thanks for maces and Frank's help!
Because I am using the touch screen by finger, so the point from the first click and the second is mostly more than 5 pixels (default value).
So, I one more line in the .gtk-2.0 file:
Code: Select all
gtk-double-click-distance=20
Thanks for maces and Frank's help!
Re: How to adjust the double click's speed in PCManFM?
Sorry that I reply to this old post. But this gave me troubles to figure out. I couln't do doubleclick in filmanager or browser. Almost went for XFCE - then found this solution, and this gtk configuration set to 400ms interval fixed it. Great, but this should be made more visible, FAQ at least. Better though, give it an integration into settings. Or increase the default value.
Tegra 2 based Toshiba AC100, minimal Ubuntu + LXDE