0 Members and 3 Guests are viewing this topic.
This will increase the overall width of the window so I will in future shorten the Descriptions. Cheers
I've also added you to the Dev page on the LL website - https://www.linuxliteos.com/code.html#devteamWelcome aboard
Misko, do you think you could find a way that makes a check if an application is installed, then displays that application in bold if it is installed?
#! /bin/bash#--------------------------------------------------------------------------------------------------------#Name: Linux Lite Additional Software Install (GUI version)# Description: A GUI tool to easily install additional software in Linux Lite.# Authors: Misko_2083, Jerry Bezencon# Date: September 17th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------ic="/usr/share/icons/zenity-llcc.png"selection=$(zenity --window-icon="$ic" --list --imagelist --multiple --print-column=2 --width=880 --height=700 --column="Select" --column="Name" --column="Category" \ --column="Description" --text="Select the program you wish to install, then click the Install button. Sort Categories by clicking on the column." --title="Install Additional Software" --ok-label="Install" --cancel-label="Quit" \"/usr/share/pixmaps/steam.png" "Apple Trailers Plugin" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \"/usr/share/pixmaps/steam.png" "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \"/usr/share/pixmaps/skype.png" "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \"/usr/share/pixmaps/skype.png" "Dropbox" "Internet" "A popular cloud storage application" \"/usr/share/pixmaps/skype.png" "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \"/usr/share/pixmaps/skype.png" "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \"/usr/share/pixmaps/skype.png" "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \"/usr/share/pixmaps/skype.png" "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \"/usr/share/pixmaps/skype.png" "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \"/usr/share/pixmaps/skype.png" "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \"/usr/share/pixmaps/skype.png" "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \"/usr/share/pixmaps/skype.png" "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \"/usr/share/pixmaps/skype.png" "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \"/usr/share/pixmaps/skype.png" "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \"/usr/share/pixmaps/skype.png" "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \"/usr/share/pixmaps/skype.png" "Skype" "Internet" "A popular audio and video chat application" \"/usr/share/pixmaps/skype.png" "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \"/usr/share/pixmaps/skype.png" "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \"/usr/share/pixmaps/skype.png" "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \"/usr/share/pixmaps/skype.png" "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \"/usr/share/pixmaps/skype.png" "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \"/usr/share/pixmaps/skype.png" "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \"/usr/share/pixmaps/skype.png" "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \"/usr/share/pixmaps/skype.png" "XBMC" "Multimedia" "This will install the XBMC Media Center" )echo $selection | grep "Apple Trailers Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/trailers 2>/dev/nullfiecho $selection | grep "Chrome Web Browser" > /dev/nullif [ $? = 0 ];then/usr/scripts/chrome 2>/dev/nullfiecho $selection | grep "Chromium Web Browser" > /dev/nullif [ $? = 0 ];then/usr/scripts/chromium 2>/dev/nullfiecho $selection | grep "Dropbox" > /dev/nullif [ $? = 0 ];then/usr/scripts/dropbox 2>/dev/nullfiecho $selection | grep "File & Folder Search" > /dev/nullif [ $? = 0 ];then/usr/scripts/search 2>/dev/nullfiecho $selection | grep "Games Pack" > /dev/nullif [ $? = 0 ];then/usr/scripts/games 2>/dev/nullfiecho $selection | grep "Google Talk Browser Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/googletalk 2>/dev/nullfiecho $selection | grep "iDevices Manager" > /dev/nullif [ $? = 0 ];then/usr/scripts/idev 2>/dev/nullfiecho $selection | grep "Instant Messenger" > /dev/nullif [ $? = 0 ];then/usr/scripts/im 2>/dev/nullfiecho $selection | grep "Java Web Applet Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/javaplugin 2>/dev/nullfiecho $selection | grep "Netflix" > /dev/nullif [ $? = 0 ];then/usr/scripts/netflix 2>/dev/nullfiecho $selection | grep "Password Manager" > /dev/nullif [ $? = 0 ];then/usr/scripts/keepassx 2>/dev/nullfiecho $selection | grep "PlayOnLinux" > /dev/nullif [ $? = 0 ];then/usr/scripts/playonlinux 2>/dev/nullfiecho $selection | grep "Remote Desktop Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/remote 2>/dev/nullfiecho $selection | grep "Restricted Extras" > /dev/nullif [ $? = 0 ];then/usr/scripts/re 2>/dev/nullfiecho $selection | grep "Skype" > /dev/nullif [ $? = 0 ];then/usr/scripts/skype 2>/dev/nullfiecho $selection | grep "Teamviewer" > /dev/nullif [ $? = 0 ];then/usr/scripts/teamviewer 2>/dev/nullfiecho $selection | grep "Torrent Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/deluge 2>/dev/nullfiecho $selection | grep "Video Editing Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/openshot 2>/dev/nullfiecho $selection | grep "VirtualBox" > /dev/nullif [ $? = 0 ];then/usr/scripts/virtualbox 2>/dev/nullfiecho $selection | grep "Weather Monitor" > /dev/nullif [ $? = 0 ];then/usr/scripts/weather 2>/dev/nullfiecho $selection | grep "Webcam Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/guvcview 2>/dev/nullfiecho $selection | grep "Wine" > /dev/nullif [ $? = 0 ];then/usr/scripts/wine 2>/dev/nullfiecho $selection | grep "XBMC" > /dev/nullif [ $? = 0 ];then/usr/scripts/xbmc 2>/dev/nullfi
Do you have the code for this or is it based off Yad? I'd like to avoid Yad, as flexible as it is, theres no telling when development will end for it leaving our users high and dry. Zenity I think is more likely to stay around.
Quote from: Valtam on September 18, 2014, 04:45:32 PMIt does look cool, what a tease :p-Working multiple selection-images/icons-working search for application names-window image (that's that small feather icon, but can be any image)-pango markup language in the list (<b>Apple Trailers Plugin</b>)
It does look cool, what a tease :p
#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Additional Software Install (GUI version)# Description: A GUI tool to easily install additional software in Linux Lite.# Authors: Misko_2083, Jerry Bezencon# Date: September 19th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------ic="/usr/share/icons/zenity-llcc.png"# Gtk warnings can be turned of with --no-markup, but then pango markup language can't be used selection=$(yad --center --window-icon="$ic" --image="$ic" --image-on-top --text="Select the program you wish to install, then click the Install button. Sort Categories by clicking on the column.\nYou can select multiple programs to install." \ --title="Install Additional Software" --list --width=880 --height=700 --checklist --separator=" " --search-column=3 --print-column=3 \--column=select --column=Icon:IMG --column=Name:TEXT --column=Category:TEXT --column=Description:TEXT --button="Quit:1" --button="Install:0" \FALSE /usr/share/pixmaps/litecleaner.png "<b>Apple Trailers Plugin</b>" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \FALSE /usr/share/pixmaps/litecleaner.png "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \FALSE /usr/share/pixmaps/litecleaner.png "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \FALSE /usr/share/pixmaps/litecleaner.png "Dropbox" "Internet" "A popular cloud storage application" \FALSE /usr/share/pixmaps/litecleaner.png "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \FALSE /usr/share/pixmaps/litecleaner.png "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \FALSE /usr/share/pixmaps/litecleaner.png "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \FALSE /usr/share/pixmaps/litecleaner.png "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \FALSE /usr/share/pixmaps/litecleaner.png "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \FALSE /usr/share/pixmaps/litecleaner.png "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \FALSE /usr/share/pixmaps/litecleaner.png "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \FALSE /usr/share/pixmaps/litecleaner.png "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \FALSE /usr/share/pixmaps/litecleaner.png "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \FALSE /usr/share/pixmaps/litecleaner.png "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \FALSE /usr/share/pixmaps/litecleaner.png "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \FALSE /usr/share/pixmaps/litecleaner.png "Skype" "Internet" "A popular audio and video chat application" \FALSE /usr/share/pixmaps/litecleaner.png "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \FALSE /usr/share/pixmaps/litecleaner.png "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \FALSE /usr/share/pixmaps/litecleaner.png "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \FALSE /usr/share/pixmaps/litecleaner.png "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \FALSE /usr/share/pixmaps/litecleaner.png "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \FALSE /usr/share/pixmaps/litecleaner.png "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \FALSE /usr/share/pixmaps/litecleaner.png "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \FALSE /usr/share/pixmaps/litecleaner.png "XBMC" "Multimedia" "This will install the XBMC Media Center" )echo $selection | grep "Apple Trailers Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/trailers 2>/dev/nullfiecho $selection | grep "Chrome Web Browser" > /dev/nullif [ $? = 0 ];then/usr/scripts/chrome 2>/dev/nullfiecho $selection | grep "Chromium Web Browser" > /dev/nullif [ $? = 0 ];then/usr/scripts/chromium 2>/dev/nullfiecho $selection | grep "Dropbox" > /dev/nullif [ $? = 0 ];then/usr/scripts/dropbox 2>/dev/nullfiecho $selection | grep "File & Folder Search" > /dev/nullif [ $? = 0 ];then/usr/scripts/search 2>/dev/nullfiecho $selection | grep "Games Pack" > /dev/nullif [ $? = 0 ];then/usr/scripts/games 2>/dev/nullfiecho $selection | grep "Google Talk Browser Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/googletalk 2>/dev/nullfiecho $selection | grep "iDevices Manager" > /dev/nullif [ $? = 0 ];then/usr/scripts/idev 2>/dev/nullfiecho $selection | grep "Instant Messenger" > /dev/nullif [ $? = 0 ];then/usr/scripts/im 2>/dev/nullfiecho $selection | grep "Java Web Applet Plugin" > /dev/nullif [ $? = 0 ];then/usr/scripts/javaplugin 2>/dev/nullfiecho $selection | grep "Netflix" > /dev/nullif [ $? = 0 ];then/usr/scripts/netflix 2>/dev/nullfiecho $selection | grep "Password Manager" > /dev/nullif [ $? = 0 ];then/usr/scripts/keepassx 2>/dev/nullfiecho $selection | grep "PlayOnLinux" > /dev/nullif [ $? = 0 ];then/usr/scripts/playonlinux 2>/dev/nullfiecho $selection | grep "Remote Desktop Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/remote 2>/dev/nullfiecho $selection | grep "Restricted Extras" > /dev/nullif [ $? = 0 ];then/usr/scripts/re 2>/dev/nullfiecho $selection | grep "Skype" > /dev/nullif [ $? = 0 ];then/usr/scripts/skype 2>/dev/nullfiecho $selection | grep "Teamviewer" > /dev/nullif [ $? = 0 ];then/usr/scripts/teamviewer 2>/dev/nullfiecho $selection | grep "Torrent Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/deluge 2>/dev/nullfiecho $selection | grep "Video Editing Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/openshot 2>/dev/nullfiecho $selection | grep "VirtualBox" > /dev/nullif [ $? = 0 ];then/usr/scripts/virtualbox 2>/dev/nullfiecho $selection | grep "Weather Monitor" > /dev/nullif [ $? = 0 ];then/usr/scripts/weather 2>/dev/nullfiecho $selection | grep "Webcam Software" > /dev/nullif [ $? = 0 ];then/usr/scripts/guvcview 2>/dev/nullfiecho $selection | grep "Wine" > /dev/nullif [ $? = 0 ];then/usr/scripts/wine 2>/dev/nullfiecho $selection | grep "XBMC" > /dev/nullif [ $? = 0 ];then/usr/scripts/xbmc 2>/dev/nullfi