LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2009, 10:20 PM   #1
jacatone
Member
 
Registered: Mar 2004
Posts: 280

Rep: Reputation: 30
Clean up Run Command (ALT + F2)


I'm using Ubuntu 8.10 with Gnome. Unfortunately I have mistyped several program names in my Run Command dialog. Is there a way of removing one or all program names from the input field?

- Thanks :-)
 
Old 05-02-2009, 08:36 AM   #2
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
run a strange Command. then use 'grep'.
 
Old 05-02-2009, 05:35 PM   #3
jacatone
Member
 
Registered: Mar 2004
Posts: 280

Original Poster
Rep: Reputation: 30
Don't understand what your saying?
 
Old 05-03-2009, 02:41 AM   #4
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
that strange command (something like 'dfgdgyrbgdfnfgdfrvertv') will be stored somewhere in the config files and it helps you not to waste your time because it's strange.

this works for me (gnome and xfce).

Last edited by ozminh; 05-03-2009 at 02:43 AM.
 
Old 05-03-2009, 09:52 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
In KDE, this is the file that stores the history for the "run" command:
Code:
~/.kde/share/config/kdesktoprc
This entry is where the info is stored:
Code:
[MiniCli]
CompletionItems[$e]=ping:1,gimp:1,thunderbird:1
History[$e]=thunderbird,gimp,ping
TerminalApps[$e]=ls

Gnome presumably has a similar mechanism---you can find the right file by running the "run" command (with a valid command), and then looking at the files just modified using ls -alR|grep <date> (run this in your home directory)

In my case, I ran the test on May 3, so I used:
ls -alR|grep 05-03
 
Old 05-03-2009, 09:54 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by ozminh View Post
that strange command (something like 'dfgdgyrbgdfnfgdfrvertv') will be stored somewhere in the config files and it helps you not to waste your time because it's strange.

this works for me (gnome and xfce).
The OP wants to know how to clear the history---or perhaps to simply REMOVE bad commands from the drop-down menu.
 
Old 05-11-2009, 09:19 PM   #7
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 715

Rep: Reputation: 72
I used grep, found my "strange command" in those two config files, deleted it from both, rebooted, and it's still there. :-\
 
  


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
Cannot run application via Alt+F2 themeone Linux - Desktop 2 04-01-2009 07:54 AM
how to run another GUI Window Alt+F7 RMLinux Linux - Newbie 5 12-05-2008 04:33 AM
how to tell if i have run make clean? dtra Linux - Software 2 11-17-2005 04:45 AM
Programs won't run using clean Mandrake 9.2 insatll Boudewijn Linux - Software 1 11-21-2003 06:02 AM
Slack 9, no Run Command upon pressing Alt+F2 VioLaToR Slackware 4 06-12-2003 02:08 PM


All times are GMT -5. The time now is 05:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration