Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-23-2006, 05:51 AM
|
#1
|
Member
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65
Rep:
|
improving right-click on desktop use.
There was a time I couldn't right-click on the desktop and bring up a terminal option - then I installed nautilus-open-terminal & it works great (except in kde) . Now I'd like to put a search tool there, but before I can even think about it, I need to know what command? I'm invoking when I right-click the desktop. If I can find that out, maybe I can sneak a shortcut onto the window it opens. The search tool command is "nautilus --no-desktop --browser %U". Fedora has one, but you can't right-click on the searth tool because it just opens the search window.
As a matter of fact, that's one thing I like about windows. Right-click and go to 'properties' and you learn all sorts of stuff. Not so w/ linux. Frustration!
Anybody have a clue? I think it would be really cool! Let me know if you have any ideas. Many thanks in advance.
|
|
|
08-23-2006, 07:49 AM
|
#2
|
Member
Registered: Sep 2004
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134
Rep:
|
Each post here at LQ has a list of similar threads below it (yours has five different threads). The first link leads to a good conversation about customizing the right mouse button (or any button, for that matter).
In particular,
Quote:
In KDE, right-click on the desktop and select Configure Desktop... from that menu. Click on Behavior and change the Right Button from Desktop Menu to Custom Menu 1 or 2. Edit to your heart's content. :-)
|
I hope that leads you in the right direction. I'm not sure exactly how to add a search function to this, somebody else will probably pop in here and help with that.
|
|
|
08-23-2006, 11:00 AM
|
#3
|
Member
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65
Original Poster
Rep:
|
Thanks BaltikaTroika. I hadn't realized that about the stuff at the bottom. Sound like it will solve my problems w/ kde & the open-terminal. But after checking those links, I'm still missing the basics: I need to know what command? or what process is getting launched when I right click the desk top. The built-in options got there somehow. How somebody else comes up w/ some more ideas. Thanks!
|
|
|
08-23-2006, 05:14 PM
|
#4
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
I started looking into this, and I think I have found the right area for you to investigate.
The page below is for setting up context menus, ie for a specific app, but you also have the option
of servicetype=all etc, see the tip box
http://developer.kde.org/documentati...vicemenus.html
I haven't tested this, so don't take my word for it!
tobyl
|
|
|
08-24-2006, 12:48 PM
|
#5
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
Ok, I got it working, but it puts the entry in the Actions entry when you right click, not in the first level.
You may be able to improve on that with more research.
I dont have nautilus so i tested with a different command, but I made something up which might work for you.
create a text file, call it nautilus.desktop (the .desktop suffix is important) also make sure your user owns it, not root.
copy this in there:
[Desktop Entry]
ServiceTypes=all/all
Actions=search
[Desktop Action search]
Name=Nautilus search
Icon=background
Exec=nautilus --no-desktop --browser %U
ok, now put this file in your /home/<yourusername>/.kde/share/apps/konqueror/servicemenus
see how you get on...
tobyl
|
|
|
08-29-2006, 12:16 AM
|
#6
|
Member
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65
Original Poster
Rep:
|
Hey tobyl, that's great! I'm gonna try that soon as I take care of a little glitch that 'happened' to come up. Thanks again. That looks like something you could generalize from and do all sort of stuff.
|
|
|
08-29-2006, 07:27 AM
|
#7
|
Member
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65
Original Poster
Rep:
|
Just a follow up and confession. The whole nautilus thing was a red herring. What I said was the exec is actually the file browser. After that, the only search engine I could find was gnome-search-tool. I haven't tried logging in as root, but as a user, I can't find anything but kappfinder & kget & stuff like that in kde. And nothing would put "search (whatever)" on the right click menu. What I did do was use konqueror to bookmark the /usr/bin/gnome-search-tool'. Now I'm just a click and a slide into bookmarks away. Hope to do better someday, but for now I'm wore out!
Thanks again!
|
|
|
08-29-2006, 11:24 AM
|
#8
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
No worries, I learned something from the exercise anyway!
You can launch anything including your own scripts using the method I found.
I am not really sure what you are searching for, konqueror has its own search engine under Tools/Find File, and the kde start menu has Find Files/Folders. I just assumed that nautilus did something special that you liked, but I am not really a gnome user.
Actually I use the command line when I am searching. There's not much that ls,find,grep,locate and whereis cant find, and they are fast!
bye for now,
tobyl
|
|
|
08-29-2006, 10:50 PM
|
#9
|
Member
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65
Original Poster
Rep:
|
tobyl, I should have tried using kde as root before starting this whole exercise. As a user, I don't have 'kfind' anywhere. Glad you mentioned it. Now that I know it's there and where, I can at least use kde's search engine instead of gnome. Maybe I'll get yr script working after all.
Thanks for the time (and the link to the kde servicemenus).
Cheers
|
|
|
All times are GMT -5. The time now is 06:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|