LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2013, 11:39 PM   #1
WildDrake!
Member
 
Registered: Dec 2003
Location: Current Location: Colorado
Distribution: Ubuntu 14.10, Mint 17.1 Cinnamon and Mate
Posts: 101

Rep: Reputation: 15
Make gnome-search-tool run in background


Ubuntu 12.04

I am writing a bash script and I need to cause the below command to run gnome-search-tool in background so that gnome-search-tool is entirely invisible to and out of the way of the user.

gnome-search-tool --named=galaxy9 --start


The objective here is to place a script in the Startup Folder which forces the gnome-search-tool application at login to create it's search index so that the first search of the day the user performs will be fast, rather than slow, because the indexing will already be done. Does anyone know how to accomplish this???

Trying to use the synapse or synapse-indicator search apps just isn't working out for me at all.

I am planning on running a second script which will give the above script time enough to complete's it's indexing of my 2T hardrive and then kill the above gnome-search-tool process (hopefully) with the command:

kill $(ps aux | grep '[g]nome-search-tool' | awk '{print $2}')

I'm planning on doing this with a second script because I haven't figured out yet how I can have the same script accomplish this when the indexing is completed since gnome-search-tool never returns control to the first script.

Thanks for your thoughts and suggestions!!!
 
Old 08-23-2013, 02:00 PM   #2
WildDrake!
Member
 
Registered: Dec 2003
Location: Current Location: Colorado
Distribution: Ubuntu 14.10, Mint 17.1 Cinnamon and Mate
Posts: 101

Original Poster
Rep: Reputation: 15
The reason I am asking is because

gnome-search-tool --named=galaxy9 --start &

still has the gnome search-tool opening in the foreground and I want it to be unobtrusive.....out of the way of the user.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rtorrent. how to make it run in the background?? nass Linux - Software 6 01-25-2022 01:29 AM
bash: make ps silent (run in background) fatalerror0x00 Programming 7 11-07-2012 10:20 AM
LXer: Fedora 15 Released, Has GNOME 3, New Search Tool LXer Syndicated Linux News 0 05-24-2011 12:30 PM
LXer: GNOME Do - Launcher tool to search and launch applications files and more LXer Syndicated Linux News 0 10-22-2008 11:50 AM
Make SCP run in background? Moonman Linux - Software 3 11-29-2007 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:09 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