Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: I like to alter the middle click button in konqueror
Date: Thu, 13 Oct 2005 08:16:43
Message-Id: pan.2005.10.13.08.12.00.948834@cox.net
In Reply to: [gentoo-desktop] I like to alter the middle click button in konqueror by faatihah@gmail.com
1 faatihah posted <200510130854.00348.faatihah@×××××.com>, excerpted below,
2 on Thu, 13 Oct 2005 08:54:00 +0800:
3
4 > I like to alter the middle click button in konqueror. Current middle click
5 > on page tab will refresh the page or do google search. I like the OPERA
6 > click finction: middle click on page tab will close the page.
7
8 I don't see middle-/click/ to close as an option, but there are a couple,
9 and you can activate and configure mouse gestures as desired.
10
11 Since the middle button under X normally pastes the selection, most
12 native mouse-aware apps under X/Linux/BSD/whatever will make use of the
13 selection in some way. Opera doesn't, because it isn't primarily designed
14 for *x/X-Windows-System type applications, but rather for MSWormOS and
15 embedded applications.
16
17 The options for middle-click under Konqueror, therefore, as expected for
18 an X-native application, make use of the content of the selection. Here
19 (KDE 3.4.2), it normally does a search on the selected words. However,
20 there's an option under Konqueror config, Web Behavior, to change that to
21 go to the URL in the selection. (I'm guessing that if there isn't a URL
22 in the selection, it would simply refresh the current page, but that's
23 just a guess, as I don't have that option checked.)
24
25 As mentioned, however, you /can/ activate mouse gestures. These are
26 normally invoked using the middle mouse button, but that's customizable
27 (see below). There are two schemes available initially, a an
28 original/basic scheme and one more complex/featureful, but you can
29 customize them as you wish. This is linked to general KDE functionality
30 not just Konqueror, however, so you won't find the config for it on
31 Konqueror's config, but rather under KDE's KHotkeys (and now more
32 generalized input) preferences, in the control panel (or reach it directly
33 by typing in kcmshell khotkeys in the open dialog or a konsole window).
34
35 As mentioned, you have two choices initially. There are some conflicts,
36 so choose the one you want or mix and match, customizing as desired.
37
38 The original "Konqi gestures ;)" can be found under examples. There's only
39 back/forward/reload/up, and if you look at the gestures, they do what one
40 might intuitively expect from the motion.
41
42 The others are under their own main section, "Konqueror gestures", which
43 includes far more functionality, including all sorts of tab actions
44 (close/new/duplicate/next/previous) the basic four above
45 (back/forward/reload/up), close/duplicate window, and stop-loading. These
46 aren't quite as intuitive and with so many, aren't as easy to learn as the
47 basics under examples, but provide more functionality for those "mouse
48 power-users" that really get into mouse gestures.
49
50 Note the close-tab and close-window gestures in the "advanced" scheme,
51 above. You can use these as-is or customize them as desired, to do what
52 you asked. There are customization tips under the
53 examples/basic-konqi-gestures scheme header page.
54
55 Note that because the config is KDE-global, you can configure "universal"
56 gestures here, if desired, as well. Want a "close window" gesture to
57 work everywhere? Simple to configure one! Of course, you may
58 also configure (global or app/window specific) keyboard shortcuts here,
59 either parallel to mouse gestures doing the same thing, or as separate
60 actions, if desired.
61
62 Finally, while we're talking about global options, the gesture activating
63 button, gesture time-out, and a list of windows (if any) you may wish to
64 exclude from the global gesture list, can be found under the "Global
65 Settings" button on the khotkeys configuration dialog. Even tho that's
66 mentioned in the customization tips under konqi-gestures, it took me a
67 moment to find, because I kept looking in the Actions tree, not realizing
68 it was an "out of band control signal" so to speak, as a separate button.
69
70 Hopefully the gestures allow you to do close enough to what you wanted,
71 and more! They are certainly enough for /this/ "power user"! (Tho I'm
72 really more of a hot-key power user than a mouse-gesture power user, but
73 anyway...)
74
75 --
76 Duncan - List replies preferred. No HTML msgs.
77 "Every nonfree program has a lord, a master --
78 and if you use the program, he is your master." Richard Stallman in
79 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
80
81
82 --
83 gentoo-desktop@g.o mailing list