LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-23-2006, 05:51 AM   #1
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Rep: Reputation: 15
Question 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.
 
Old 08-23-2006, 07:49 AM   #2
BaltikaTroika
Member
 
Registered: Sep 2004
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134

Rep: Reputation: 15
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.
 
Old 08-23-2006, 11:00 AM   #3
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Original Poster
Rep: Reputation: 15
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!
 
Old 08-23-2006, 05:14 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 65
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
 
Old 08-24-2006, 12:48 PM   #5
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 65
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
 
Old 08-29-2006, 12:16 AM   #6
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Original Poster
Rep: Reputation: 15
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.
 
Old 08-29-2006, 07:27 AM   #7
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Original Poster
Rep: Reputation: 15
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!
 
Old 08-29-2006, 11:24 AM   #8
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 65
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
 
Old 08-29-2006, 10:50 PM   #9
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 05:05 AM
how do i get 'Terminal' from right click over the desktop? anindyanuri Fedora 1 06-28-2006 12:50 PM
Gnome right click desktop menu (edit??) InEeDhElPlInUx Linux - Software 4 02-12-2006 07:19 PM
enable right click on desktop ankur_linuxfan Linux - General 1 01-30-2005 09:38 AM
running a csh-script from desktop with 1-click ? jdaniel Linux - General 3 10-06-2003 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration