How to set up a GNOME zenity?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
How to set up a GNOME zenity?

I'm creating a script that goes something like this:
Code:
#!/bin/bash

zenity --list --checklist --title="Choose Packages to Install" --width="1000" --height="400" \
--column="Select" --column="Package Name" --column="Description" \
GIMP=( " " GIMP "Known as GIMP, GNU Image Manipulation Program is a free and open source photo editor." \ )
if [ $GIMP = "GIMP" ]
then 
	sudo apt-get install $GIMP
fi

# 2  
Moderator's Comments:
Mod Comment This thread appears to be a duplicate of the thread Help with making the output of a command a variable. Please continue any further discussion on this topic there.

This thread is closed.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Backup & restore Gnome Desktop and all settings in Gnome
ccc
Hi I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome.... Shell Programming and Scripting
0
Shell Programming and Scripting
Zenity help
stumpyuk
I have a large system housekeeping script, that I want to use with zenity. One of the processes will be to conduct a virus scan, which I can easily do with something like: clamscan -rv / | zenity --text-info --width 640 --height 640 The problem is that it needs user intervention by...... Shell Programming and Scripting
2
Shell Programming and Scripting
zenity --question help
ruben.rodrigues
Hello I've a script where I've a zenity --question because I want to ask the user if he is sure that he wants to delete the file. The problem is, if the user says "OK" it deletes nad if the user says cancel it deletes :) How can I close the script if the user says cancel?? thanks... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
Zenity
ruben.rodrigues
Hi! does someone know how can I setup a zenity entry "box" such that comes with the data as default. like it appears an entry box already with the data but it can be modify. thanks... Shell Programming and Scripting
2
Shell Programming and Scripting
Linux and UNIX

Linux is a family of open source Unix-like operating systems based on the Linux kernel. The Linux kernel is an operating system kernel first released by Linus Torvalds on 17 September 1991. Linux distributions include the Linux kernel, system software and libraries. Popular free open source Linux distributions include Debian, Fedora, and Ubuntu. Commercial Linux distributions include Red Hat Enterprise Linux and SUSE Linux Enterprise Server. Linux may be freely modified and redistributed. Anyone on the planet may create a Linux distribution for any purpose.
Unix (trademarked as the UNIX certification mark) is a very mature family of multitasking, multiuser computer operating systems that evolved from the original AT&T Unix. Unix development starting in the 1970s by legendary Bell Labs programmers Ken Thompson, Dennis Ritchie, and others. Unix was first targeted for the Bell System and AT&T licensed Unix to outside parties. In the 1970s time period, this lead to a variety of for-profit as well as not-for-profit Unix variants.
In the early days, this included the University of California, Berkeley (BSD), Microsoft (Xenix), IBM (AIX), and Sun Microsystems (Solaris). In the early 1990s, AT&T sold their Unix rights to Novell. In 1995 Novell sold their Unix business to the Santa Cruz Operation (SCO). The UNIX trademark was passed to The Open Group, a "neutral" industry consortium. The Open Group promoted the use of the UNIX trademark for certified operating systems that comply with the Single UNIX Specification (SUS). In 2014 Apple's macOS became the Unix version with the largest global install base and macOS remains the largest Unix-user base today.
Please enjoy and help our forum community by "showing your work" and posting your code, even when your code is not working as expected. To help others help you, please wrap your code blocks, sample input, sample output, error messages, and other data in CODE tags and wrap your short commands and short data objects in ICODE tags. We were all beginners in the beginning. If you have any questions about how to register or how to post, please contact us in Live Chat. Thank you and enjoy this "forever free" technical support community for UNIX, Linux and computer information technology in general.