LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-02-2016, 03:44 PM   #1
rogue_ronin
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
first question


Hi all,

I need an ncurses launcher, either button or menu based. I plan to use it to send commands to ncmpdpp in a second terminal on the same machine.

I've found one called minmenu mentioned here on LQ -- anyone have it? or can suggest another program?

Aloha.
 
Old 01-02-2016, 05:49 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,113

Rep: Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159
Quote:
Originally Posted by rogue_ronin View Post
Hi all,

I need an ncurses launcher, either button or menu based. I plan to use it to send commands to ncmpdpp in a second terminal on the same machine.

I've found one called minmenu mentioned here on LQ -- anyone have it? or can suggest another program?

Aloha.
ncurses
 
Old 01-02-2016, 05:53 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
I'm not sure it is possible to send commands to an instance of ncmpcpp (which I take it you mean?) from another terminal. I am also not sure why one would want to when ncmpcpp is just a client to mpd?
 
Old 01-02-2016, 11:31 PM   #4
rogue_ronin
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Sure you can. Just do ncmpcpp next or the like. Check the man page for ncmpcpp and it'll give you the list of options.

I want it for use with a touch screen on an old VIA board that would be best used without X11. Tmux a couple of screens, run the button set in one and ncmpcpp in the other.

Aloha.
 
Old 01-03-2016, 05:52 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
Quote:
Originally Posted by rogue_ronin View Post
Sure you can. Just do ncmpcpp next or the like. Check the man page for ncmpcpp and it'll give you the list of options.

I want it for use with a touch screen on an old VIA board that would be best used without X11. Tmux a couple of screens, run the button set in one and ncmpcpp in the other.

Aloha.
I think you're getting confused here. ncmpcpp is a curses front-end for mpd and controls and/or displays what is playing. There is also mpc which is a command line tool which can be called with arguments such as "mpc next" and "mpc stop". If you've an instance of ncmpcpp (or any other mpd client) open then it will reflect any changes made using mpc (or any other client). Sorry for being pedantic but it's probably best to be absolutely clear here what is going on.
 
Old 01-03-2016, 11:34 PM   #6
rogue_ronin
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Seriously, ncmpcpp can do it too. It's right in the --help or the man page.

Thanks anyway for trying.

Aloha.
 
Old 01-05-2016, 04:34 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038
i don't think you can find a menu specifically for mpc or ncmpcpp, so the point is moot...

i stumbled over this thread a few times now, and had a quick look .. it seems what you want is not readily available, but easily scripted or programed:
http://www.tuxradar.com/content/code...rses-ui-python
http://www.cplusplus.com/forum/unices/93285/
http://www.tldp.org/HOWTO/NCURSES-Pr...WTO/menus.html
 
  


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
[SOLVED] GPL question (Version 2, June 1991) - physical media availability question LicenseQuestions Linux - Newbie 1 12-01-2012 06:34 PM
basic html question - download link to files on my webpage question Davno Linux - Server 5 12-25-2009 07:24 AM
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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