LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-03-2019, 06:38 AM   #1
AlMeu
LQ Newbie
 
Registered: Nov 2019
Location: Undeva
Posts: 14

Rep: Reputation: Disabled
Question PopUp menu


I am using scripts for WinCE to show a popup menu and chose what I want run or go in a sub menu with a click.
In Linux, there is any option to do something similar only with scripts without additional software install?
 
Old 11-03-2019, 07:41 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Some possible options:
  • dmenu
  • rofi
  • yad
  • zenity
 
Old 11-03-2019, 07:41 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Depends on desktop but there are several choices. The most basic is dialog which requires ncurses. xdialog and zenity are gtk based and kdialog for KDE desktop.

What is installed by default depends on the distribution. dugan posted a few others while was typing.

Last edited by michaelk; 11-03-2019 at 07:43 AM.
 
Old 11-04-2019, 02:57 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by AlMeu View Post
In Linux
We would need to know what exactly you have there (distro, DE), and what is installed.
One of the options from post #2 could be installed already.
 
Old 11-08-2019, 11:05 AM   #5
AlMeu
LQ Newbie
 
Registered: Nov 2019
Location: Undeva
Posts: 14

Original Poster
Rep: Reputation: Disabled
There is Yocto distribution and seams zenity don't run.
 
Old 11-08-2019, 05:10 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
zenity requires a desktop and since you mentioned Yocto I assume your device does not have a desktop or is not based on gtk. Try dialog which is based on ncurses.
 
Old 11-09-2019, 12:10 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by AlMeu View Post
There is Yocto distribution and seams zenity don't run.
Yocto is not a distribution by any stretch.

Considering the nature of your questions, I don't think you built this one yourself - there's some info missing here.
 
Old 12-02-2019, 12:11 PM   #8
AlMeu
LQ Newbie
 
Registered: Nov 2019
Location: Undeva
Posts: 14

Original Poster
Rep: Reputation: Disabled
There is Poky (Yocto) version. I did't build it, it is system running in a unit and I want build a menu for chose different scripts for run on it.
That's way I asked for script without additional software to install.
 
  


Reply



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
Winkey with System Popup Menu (again) hJo Linux - Software 0 04-29-2005 01:38 AM
Qt: Popup menu Ephracis Programming 0 04-18-2005 10:59 AM
minicom not popup a menu with <Ctrl><A> tcma Linux - Software 2 10-07-2004 09:16 AM
howto create a popup-menu on gnome-panel ? leukozyt Linux - General 1 11-16-2003 02:35 AM
Customized, popup menu in KDE (SuSE) BillRice Linux - General 2 02-16-2002 10:41 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:42 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
Open Source Consulting | Domain Registration