LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-15-2009, 09:38 AM   #1
technononsense
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
suggest software for full screen menu/launcher


I installed ubuntu on my ps3 to use to stream music and possibly fire up a name emulator. The issue I have is that using a desktop is impractical.

What I'd like is a basic menu that I could use the up and down arrow keys to select the options. Preferably full screen and perfect if the options would execute terminal commands rather than pointing to locations etc.

:edit:

I'm wanting to set up this so that I don't need a keyboard or mouse plugged in. I'll then use the ps3 controller to issue up, down, left and right movement and the buttons as enter it left mouse button.
The menu would act like any other launcher or menu in a desktop environment only full screen.

I hope I made my point a little better.

Last edited by technononsense; 08-17-2009 at 08:13 AM.
 
Old 08-15-2009, 01:21 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
How does what you want differ, except for the "arrow key" stuff, from just typing in the command you want to run in the terminal display? Note that, with command completion, all you need to type is the first few characters of something and then push the "Tab" key once to have the system "complete" the command as far as it can, and twice to get a list of the possible completions.

You can also enter the command history (or his<tab>) to display a list of the last few (well, about a thousand) commands you've entered preceded by a number. To re-execute one of those commands, just enter an exclamation and the command number.

An easy way to find a specific command in that list is to pipe the history output through the grep function. For example, if I wanted to find last few times I used the lshw command, this is what I' do:
Code:
$ history | grep lshw
  139  lshw --help                    
  140  lshw -C Disk                   
  141  lshw -C FS                     
  142  man lshw                       
  143  lshw -short                    
  144  lshw -C volume                 
  145  lshw -C volume | egrep -i '(description|volume)'
  146  lshw -C volume 2>/dev/null | egrep -i '(description|volume|name)'
 1006  history | grep lshw
and then run the one I wanted like this:
Code:
$ !146
lshw -C volume 2>/dev/null | egrep -i '(description|volume|name)'
  *-volume:0
       description: Windows NTFS volume
       logical name: /dev/sda1
       logical name: /Vista
  *-volume:1
       description: Extended partition
       logical name: /dev/sda2
     *-logicalvolume:0
          description: Linux filesystem partition
          logical name: /dev/sda5
          logical name: /Jaunty
     *-logicalvolume:1
          description: Linux swap / Solaris partition
          logical name: /dev/sda6
     *-logicalvolume:2
          description: Linux filesystem partition
          logical name: /dev/sda7
          logical name: /Share
  *-volume:2
       description: Windows NTFS volume
       logical name: /dev/sda3
       logical name: /Vista/Recovery
  *-volume:0
       description: EXT3 volume
       logical name: /dev/sdb1
       logical name: /boot
  *-volume:1
       description: Linux LVM Physical Volume partition
       logical name: /dev/sdb2

Last edited by PTrenholme; 08-15-2009 at 01:22 PM.
 
Old 08-17-2009, 08:16 AM   #3
technononsense
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the input but its not what I was looking for.
 
Old 08-17-2009, 08:40 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Using history as PTrenholme suggested is flexible, especially using the Ctrl+R facility to search through the history but then you would need a keyboard.

Perhaps closer to what you are looking for (but still needing a keyboard) is the bash select command. See Advanced Bash Scripting for examples and GNU Bash Reference for reference..

If your requirement for no keyboard is essential and the PS3 controller works exactly like up, down, left, right and enter then ncurses might be a solution.
 
  


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
full screen menu to select games? johnson_steve Linux - Software 4 02-02-2006 07:43 AM
How to add launcher to gnome applications menu? Linux24 Linux - Newbie 9 05-01-2005 04:56 PM
How to create a menu group and application launcher? kiranprashant Programming 5 02-26-2005 01:15 AM
add launcher to menu? noxious Slackware 11 02-19-2005 03:44 AM
Add a Launcher to the menu Xgkkp Red Hat 1 08-31-2003 12:28 PM


All times are GMT -5. The time now is 07:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration