Linux Lite Forums

Development => Linux Lite Software Development => Topic started by: misko_2083 on August 24, 2014, 04:34:17 PM

Title: Lite Software - Suggestions welcomed
Post by: misko_2083 on August 24, 2014, 04:34:17 PM
This script should be named lite-software-gui
saved in /usr/scripts, and marked as executable.
Once a selected app is installed or an installation has been canceled it will be launced again.
Here is the screenshot:
(http://i.imgur.com/SYxQUCE.png)
The script:

Code: [Select]
#! /bin/bash
#-----------------------------------------------------------------------------
#Name: Linux Lite Additional Software Install (GUI version)
# Description: A GUI tool to easily install additional software in Linux Lite.
# Author: Misko_2083 2014
#-----------------------------------------------------------------------------
ic="/usr/share/icons/zenity-llcc.png"
selection=$(zenity --window-icon="$ic" --list --width=890 --height=640 --column="#" --column="Name" \
 --column="Description" --text="Select the software to install" --title="Install Additional Software" --ok-label="Install" --cancel-label="Quit" \
"1" "Apple Trailers Plugin" "Watch Apple trailers in your web browser (Firefox only)" \
"2" "Chrome Web Browser" "Install the Google Chrome web browser" \
"3" "Chromium Web Browser" "Install the open-source alternative to the Google Chrome web browser" \
"4" "Dropbox" "A popular cloud storage application" \
"5" "File & Folder Search" "Easily locate files and folders in your computer" \
"6" "Games Pack" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "Google Talk Browser Plugin" "Install this plugin to use Google Hangouts video chat" \
"8" "iDevices Manager" "Manage your iDevices with Gtkpod" \
"9" "Instant Messenger" "This will install Pidgin, a multi-protocol Instant Messenging client" \
"10" "Java Web Applet Plugin" "To allow you to view java applets in your web browser" \
"11" "Netflix" "A popular streaming tv and movie service (account required)" \
"12" "Password Manager" "Installs KeePassX, an excellent password manager" \
"13" "PlayOnLinux" "Easily install and use numerous games and apps designed to run with Windows" \
"14" "Remote Desktop Software" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "Restricted Extras" "Installs additional codecs and useful file formats that are not shipped by default" \
"16" "Skype" "A popular audio and video chat application" \
"17" "Teamviewer" "Installs Teamviewer Remote Desktop Support software" \
"18" "Torrent Software" "Installs the Deluge Torrent client software" \
"19" "Video Editing Software" "Installs Openshot, a simple to use yet powerful video editor for linux" \
"20" "VirtualBox" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \
"21" "Weather Monitor" "This will install a Weather Monitor Plugin for your tray" \
"22" "Webcam Software" "Guvcview, webcam software for your computer" \
"23" "Wine" "Wine allows you to install and run some Windows programs and games on Linux Lite" \
"24" "XBMC" "This will install the XBMC Media Center" \
"25" "Updates" "Install system and software updates" )

case "$selection" in
"1")/usr/scripts/trailers 2>/dev/null && /usr/scripts/lite-software-gui ;;
"2")/usr/scripts/chrome 2>/dev/null && /usr/scripts/lite-software-gui ;;
"3")/usr/scripts/chromium 2>/dev/null && /usr/scripts/lite-software-gui ;;
"4")/usr/scripts/dropbox 2>/dev/null && /usr/scripts/lite-software-gui ;;
"5")/usr/scripts/search 2>/dev/null && /usr/scripts/lite-software-gui ;;
"6")/usr/scripts/games 2>/dev/null && /usr/scripts/lite-software-gui ;;
"7")/usr/scripts/googletalk 2>/dev/null && /usr/scripts/lite-software-gui ;;
"8")/usr/scripts/idev 2>/dev/null && /usr/scripts/lite-software-gui ;;
"9")/usr/scripts/im 2>/dev/null && /usr/scripts/lite-software-gui ;;
"10")/usr/scripts/javaplugin 2>/dev/null && /usr/scripts/lite-software-gui ;;
"11")/usr/scripts/netflix 2>/dev/null && /usr/scripts/lite-software-gui ;;
"12")/usr/scripts/keepassx 2>/dev/null && /usr/scripts/lite-software-gui ;;
"13")/usr/scripts/playonlinux 2>/dev/null && /usr/scripts/lite-software-gui ;;
"14")/usr/scripts/remote 2>/dev/null && /usr/scripts/lite-software-gui ;;
"15")/usr/scripts/re 2>/dev/null && /usr/scripts/lite-software-gui ;;
"16")/usr/scripts/skype 2>/dev/null && /usr/scripts/lite-software-gui ;;
"17")/usr/scripts/teamviewer 2>/dev/null && /usr/scripts/lite-software-gui ;;
"18")/usr/scripts/deluge 2>/dev/null && /usr/scripts/lite-software-gui ;;
"19")/usr/scripts/openshot 2>/dev/null && /usr/scripts/lite-software-gui ;;
"20")/usr/scripts/virtualbox 2>/dev/null && /usr/scripts/lite-software-gui ;;
"21")/usr/scripts/weather 2>/dev/null && /usr/scripts/lite-software-gui ;;
"22")/usr/scripts/guvcview 2>/dev/null && /usr/scripts/lite-software-gui ;;
"23")/usr/scripts/wine 2>/dev/null && /usr/scripts/lite-software-gui ;;
"24")/usr/scripts/xbmc 2>/dev/null && /usr/scripts/lite-software-gui ;;
"25")x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e /usr/scripts/updates  2>/dev/null && /usr/scripts/lite-software-gui ;;
esac
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 24, 2014, 04:57:57 PM
This is incredible misko! I will seriously look at replacing the current install system with this. If you can get the download and install bar to show a percentage and download rate we will replace the current install method with yours. Up for the challenge? :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 25, 2014, 12:04:16 PM
I wish I could help with that. I'm fairly new to bash scripting. I've found this http://www.webupd8.org/2010/12/yad-zenity-on-steroids-display.html
Maybe yad can help. It's more advanced than zenity.
I've updated the Install script, 'updates' now works and I've changed the OK button to Install and cancel to Quit.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 25, 2014, 12:33:05 PM
I like your new version. The good thing about this kind of software is that it can evolve as your knowledge evolves.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 26, 2014, 11:13:42 AM
Valtam, this will improve the install scripts a bit.
I've found this:
http://unix.stackexchange.com/questions/120252/how-to-apply-pipe-zenity-yad-progress-bar (http://unix.stackexchange.com/questions/120252/how-to-apply-pipe-zenity-yad-progress-bar)
It can be applied like this in the scripts:
Code: [Select]
stdbuf -oL sudo apt-get install -y google-chrome-stable  |
 stdbuf -oL sed -n '/\.\.\.$/ s/^/# /p' |
 zenity --progress --title="Installing Google Chrome" --pulsate \
 --width=450 --auto-close
It still doesn't show the download progress and rates.
(http://i.imgur.com/mhBpr7Z.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 26, 2014, 12:57:10 PM
Thank you to misko_2083 for his fine work on this code. I have now included this new code in Install Additional Software. This is now available in the updates. I'm currently working on the Remove Additional Software GUI and hope to have this finished soon.

(http://i.imgur.com/gMimDGj.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: sonic on August 26, 2014, 01:27:41 PM
Next target: Install Updates with GUI interface! :P +1 misko_2083
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 26, 2014, 02:52:39 PM
Next target: Install Updates with GUI interface! :P +1 misko_2083

That would be nice :)

Remove Additional Software has been gui'd to now, enjoy :)

(http://i.imgur.com/GQ3TQNJ.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: tompa on August 26, 2014, 03:15:30 PM
got it!!  :)

Thanks misko!
/tompa
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 26, 2014, 03:36:48 PM
Announcements have been posted to social media sites, full credit to misko :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 26, 2014, 06:31:53 PM
Great news Jerry! I've just seen you made a Remove Additional Software as well. That was fast. :)
I like that new category column you added.
Thank you for the credits.  ;D
One more usefull thing the --text supports bold, italic and unerline and the combination of those three.
(http://i.imgur.com/hDXwCNZ.png)
Code: [Select]
--text="<b>Click</b> on the <i>program</i> you wish to <u>install</u>, then <i><b>click</b></i> the <u><b>Install button</b></u>. Sort Categories by clicking on the column."
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on August 26, 2014, 06:56:22 PM
Probably not exactly what you want but you can get a progress bar for install updates in this manner:

(http://i.imgur.com/yWfS25M.png)

Source:
http://askubuntu.com/questions/445245/how-do-i-enable-fancy-apt-colours-and-progress-bars
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 26, 2014, 08:17:47 PM
Maybe something like this?
I can't make it better, maybe someone will figure it out.
Code: [Select]
#!/bin/bash

# Linux lite update script


x=$( gksudo -g --message 'To update package lists your password is required. Enter your password, or press Cancel.' "stdbuf -oL sudo apt-get update"   |
 stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\*$/ s/^/# /p'|
 zenity --progress --title="Updating" --pulsate \
 --width=600 --auto-close )
Code: [Select]
#!/bin/bash

# Linux lite upgrade script

y=$( gksudo -g --message 'To install updates your password is required. Enter your password, or press Cancel.' "stdbuf -oL sudo apt-get -y upgrade" |
 stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\.\.\.$/ s/^/# /p' -e '/\*$/ s/^/# /p' |
 zenity --progress --title="Upgrading" --pulsate \
 --width=600  )
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 26, 2014, 08:24:27 PM
That's a good start :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 26, 2014, 11:11:28 PM
Updates Beta is available to test. Make 2 files, betaupdates and updates.

In betaupdates place the following code, then save and close:

Code: [Select]
#!/bin/bash
#-----------------------------------------------------------------------------------------
# Name: Linux Lite Updates
# Description: A GUI tool to easily install Updates in Linux Lite.
# Authors: Misko_2083, Jerry Bezencon
# Date: Aug 27th, 2014
# Website: https://www.linuxliteos.com
#-----------------------------------------------------------------------------------------

# Main window dialogue.
 INSTALLER_TITLE="Linux Lite Updates
-----------------------------------------------------------------------------------------------------------
We will now check for updates for Linux Lite.

Please make sure all software installation programs like
Synaptic Package Manager and Gdebi are closed before proceeding.

When you click on Yes, this window will close and the updates will begin.

-----------------------------------------------------------------------------------------------------------
Click on Yes to continue or No to cancel the updates process."

# Call the zenity window icon location.
 INSTALL_ICON="/usr/share/icons/zenity-llcc.png"
 APPNAME="Linux Lite"
       
        zenity --question --title="$APPNAME Updates" --window-icon="${INSTALL_ICON}" --text="${INSTALLER_TITLE}"

                if [ "$?" -eq "0" ]; then

x=$( gksudo -g --message 'To update package lists your password is required. Enter your password, or press Cancel.' "stdbuf -oL sh /home/jerry/updates" |
 stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\*$/ s/^/# /p' |
 zenity --progress --title="Updating..." --window-icon="${INSTALL_ICON}" --pulsate \
 --width=600 --auto-close )

                                if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                       
                                        zenity --error \
                                        --title="Error" --text="$APPNAME Updates have failed."
                                        exit 0
                                fi

                else

                                        exit 0
                fi

PROCEED=$(zenity --question --title="$APPNAME Updates" --window-icon=/usr/share/icons/zenity-llcc.png --text="Updates have finished installing.\n\nWould you like to view the $APPNAME Update logs?"; echo $?)
if [ ${PROCEED} -eq 1 ]; then
zenity --info --title="$APPNAME Updates Complete" --window-icon="${INSTALL_ICON}" --text="$APPNAME Updates Complete."
exit;
else
leafpad /var/log/liteupdates.log | leafpad /var/log/liteupgrades.log
fi

exit 0

Don't forget to change /home/jerry/updates to /home/youruser/updates.

In updates place the following code, then save and close:

Code: [Select]
#!/bin/bash
sudo rm -rf /var/log/liteupdates.log && sudo rm -rf /var/log/liteupgrades.log
sudo apt-get update 2>&1 | tee /var/log/liteupdates.log && sudo apt-get upgrade -y 2>&1 | tee /var/log/liteupgrades.log

Make both files executable.

Open a terminal and do:
Code: [Select]
./betaupdates
and let me know how you get on. Thank you for testing :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on August 27, 2014, 12:27:35 AM
I did a test run on the betaupdates and everything seems good. The logs open empty, is that expected?
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 27, 2014, 12:29:14 AM
The logs open empty, is that expected?

Shouldn't, they fill with data at my end, lets see if others report the same. Thanks Scott :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 27, 2014, 12:37:07 AM
Demo:

https://www.linuxliteos.com/video/updatesvid.webm
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 27, 2014, 12:50:40 AM
Don't forget to change /home/jerry/updates to /home/youruser/updates in the betaupdates file.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on August 27, 2014, 01:00:43 AM
Quote
Don't forget to change /home/jerry/updates to /home/youruser/updates in the betaupdates file.

Yep, that was my problem :). Working perfectly now.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 27, 2014, 01:01:17 AM
Awesome, thank you.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Hans on August 27, 2014, 07:12:46 AM
Running perfectly! I just installed VM via this GUI  ;D

Thank you so much Misko!!! It's such a good addition.

Cheers!
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 27, 2014, 04:50:00 PM
New Updates file, now combined into one file (thank you to Jeff from the LDC).
Make a file called betaupdates, paste the following into it and save & close, make the file executable then double click on it to run it.

Code: [Select]
#!/bin/bash
#-----------------------------------------------------------------------------------------
# Name: Linux Lite Updates
# Description: A GUI tool to easily install Updates in Linux Lite.
# Authors: Misko_2083, Jeff, Jerry Bezencon
# Date: Aug 27th, 2014
# Website: https://www.linuxliteos.com
#-----------------------------------------------------------------------------------------

# Main window dialogue.
 INSTALLER_TITLE="Linux Lite Updates
-----------------------------------------------------------------------------------------------------------
We will now check for updates for Linux Lite.

Please make sure all software installation programs like
Synaptic Package Manager and Gdebi are closed before proceeding.

When you click on Yes, this window will close and the updates will begin.

-----------------------------------------------------------------------------------------------------------
Click on Yes to continue or No to cancel the updates process."

# Call the zenity window icon location.
 INSTALL_ICON="/usr/share/icons/zenity-llcc.png"
 APPNAME="Linux Lite"
       
        zenity --question --title="$APPNAME Updates" --window-icon="${INSTALL_ICON}" --text="${INSTALLER_TITLE}"

                if [ "$?" -eq "0" ]; then

x=$( gksudo -g --message 'To update package lists your password is required. Enter your password, or press Cancel.' "stdbuf -oL /bin/bash \-c '(sudo apt-get update && sudo apt-get upgrade \-y && sudo apt-get autoremove \-y ) 2>&1 | tee /var/log/llupdates.log'" |
stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\*$/ s/^/# /p'|
zenity --progress --title="Updating" --pulsate \
--width=600 --auto-close )

                                if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                       
                                        zenity --error \
                                        --title="Error" --text="$APPNAME Updates have failed."
                                        exit 0
                                fi

                else

                                        exit 0
                fi

PROCEED=$(zenity --question --title="$APPNAME Updates" --window-icon=/usr/share/icons/zenity-llcc.png --text="Updates have finished installing.\n\nWould you like to view the $APPNAME Updates log?"; echo $?)
if [ ${PROCEED} -eq 1 ]; then
zenity --info --title="$APPNAME Updates Complete" --window-icon="${INSTALL_ICON}" --text="$APPNAME Updates Complete."
exit;
else
leafpad /var/log/llupdates.log
fi

exit 0

# zenity --info --title="$APPNAME Updates" --window-icon=/usr/share/icons/zenity-llcc.png --text="$APPNAME Updates have been installed.\n\nSee /var/log/liteupdates.log and /var/log/liteupgrades.log\nfor more information."

# exit 0
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on August 27, 2014, 05:21:05 PM
 8) Three updates downloaded and applied, working perfectly.  ~Scott
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 27, 2014, 06:38:01 PM
Everething went well.
That last line got me confused. Then I saw sudo apt-get autoremove in the script.
Here is the log file.
llupdates.log
Code: [Select]
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-security InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.canonical.com trusty Release
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://repo.linuxliteos.com beryl InRelease
Ign http://ppa.launchpad.net trusty InRelease
Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty Release
Ign http://ppa.launchpad.net trusty InRelease
Get:3 http://archive.ubuntu.com trusty-updates Release [59,7 kB]
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty/partner i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://repo.linuxliteos.com beryl/main i386 Packages
Get:4 http://archive.ubuntu.com trusty-security Release [59,7 kB]
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/main i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Get:5 http://ppa.launchpad.net trusty Release.gpg [316 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.canonical.com trusty/partner Translation-en_US
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:6 http://ppa.launchpad.net trusty Release.gpg [316 B]
Ign http://archive.canonical.com trusty/partner Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Get:7 http://archive.ubuntu.com trusty-updates/main i386 Packages [297 kB]
Ign http://archive.canonical.com trusty/partner Translation-en_US
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.canonical.com trusty/partner Translation-en
Get:8 http://ppa.launchpad.net trusty Release.gpg [316 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Get:9 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Get:10 http://archive.ubuntu.com trusty-updates/universe i386 Packages [190 kB]
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://repo.linuxliteos.com beryl/main Translation-en_US
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Ign http://repo.linuxliteos.com beryl/main Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Get:11 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [8437 B]
Get:12 http://ppa.launchpad.net trusty Release [14,0 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Get:13 http://ppa.launchpad.net trusty Release [14,0 kB]
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Get:14 http://ppa.launchpad.net trusty Release [14,0 kB]
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ppa.launchpad.net trusty Release
Get:15 http://archive.ubuntu.com trusty-security/main i386 Packages [128 kB]
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:16 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:17 http://archive.ubuntu.com trusty-security/universe i386 Packages [46,7 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:18 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1398 B]
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:19 http://ppa.launchpad.net trusty/main i386 Packages [29,8 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Get:20 http://ppa.launchpad.net trusty/main i386 Packages [25,0 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:21 http://ppa.launchpad.net trusty/main i386 Packages [16,0 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Fetched 911 kB in 14s (61,4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  fonts-opensymbol libreoffice-avmedia-backend-gstreamer libreoffice-base-core
  libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gtk libreoffice-gtk3 libreoffice-impress libreoffice-math
  libreoffice-pdfimport libreoffice-style-crystal libreoffice-style-galaxy
  libreoffice-style-hicontrast libreoffice-style-human
  libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
  libreoffice-writer python3-uno uno-libs3 ure
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 85,4 MB of archives.
After this operation, 111 kB disk space will be freed.
Get:1 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main uno-libs3 i386 4.3.1~rc2-0ubuntu1~trusty1 [769 kB]
Get:2 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main ure i386 4.3.1~rc2-0ubuntu1~trusty1 [1786 kB]
Get:3 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-calc i386 1:4.3.1~rc2-0ubuntu1~trusty1 [6133 kB]
Get:4 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-impress i386 1:4.3.1~rc2-0ubuntu1~trusty1 [1144 kB]
Get:5 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-draw i386 1:4.3.1~rc2-0ubuntu1~trusty1 [3714 kB]
Get:6 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-gtk i386 1:4.3.1~rc2-0ubuntu1~trusty1 [272 kB]
Get:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-gtk3 i386 1:4.3.1~rc2-0ubuntu1~trusty1 [242 kB]
Get:8 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-common all 1:4.3.1~rc2-0ubuntu1~trusty1 [20,2 MB]
Get:9 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-pdfimport i386 1:4.3.1~rc2-0ubuntu1~trusty1 [277 kB]
Get:10 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-base-core i386 1:4.3.1~rc2-0ubuntu1~trusty1 [750 kB]
Get:11 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-math i386 1:4.3.1~rc2-0ubuntu1~trusty1 [403 kB]
Get:12 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main python3-uno i386 1:4.3.1~rc2-0ubuntu1~trusty1 [173 kB]
Get:13 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-writer i386 1:4.3.1~rc2-0ubuntu1~trusty1 [7808 kB]
Get:14 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-core i386 1:4.3.1~rc2-0ubuntu1~trusty1 [30,8 MB]
Get:15 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main fonts-opensymbol all 2:102.6+LibO4.3.1~rc2-0ubuntu1~trusty1 [157 kB]
Get:16 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-human all 1:4.3.1~rc2-0ubuntu1~trusty1 [1653 kB]
Get:17 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-galaxy all 1:4.3.1~rc2-0ubuntu1~trusty1 [1443 kB]
Get:18 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-sifr all 1:4.3.1~rc2-0ubuntu1~trusty1 [1420 kB]
Get:19 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-hicontrast all 1:4.3.1~rc2-0ubuntu1~trusty1 [773 kB]
Get:20 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-tango all 1:4.3.1~rc2-0ubuntu1~trusty1 [1630 kB]
Get:21 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-oxygen all 1:4.3.1~rc2-0ubuntu1~trusty1 [1849 kB]
Get:22 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-style-crystal all 1:4.3.1~rc2-0ubuntu1~trusty1 [1872 kB]
Get:23 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main libreoffice-avmedia-backend-gstreamer i386 1:4.3.1~rc2-0ubuntu1~trusty1 [90,3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 85,4 MB in 1min 27s (979 kB/s)
(Reading database ... 188691 files and directories currently installed.)
Preparing to unpack .../uno-libs3_4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking uno-libs3 (4.3.1~rc2-0ubuntu1~trusty1) over (4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../ure_4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking ure (4.3.1~rc2-0ubuntu1~trusty1) over (4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-calc_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-calc (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-impress_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-impress (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-draw_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-draw (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-gtk_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-gtk (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-gtk3_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-gtk3 (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-common_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-common (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-pdfimport_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-pdfimport (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-base-core_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-base-core (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-math_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-math (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../python3-uno_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking python3-uno (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-writer_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-writer (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-core_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-core (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../fonts-opensymbol_2%3a102.6+LibO4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking fonts-opensymbol (2:102.6+LibO4.3.1~rc2-0ubuntu1~trusty1) over (2:102.6+LibO4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-human_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-human (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-galaxy_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-galaxy (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-sifr_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-sifr (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-hicontrast_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-hicontrast (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-tango_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-tango (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-oxygen_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-oxygen (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-style-crystal_1%3a4.3.1~rc2-0ubuntu1~trusty1_all.deb ...
Unpacking libreoffice-style-crystal (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Preparing to unpack .../libreoffice-avmedia-backend-gstreamer_1%3a4.3.1~rc2-0ubuntu1~trusty1_i386.deb ...
Unpacking libreoffice-avmedia-backend-gstreamer (1:4.3.1~rc2-0ubuntu1~trusty1) over (1:4.3.0-3ubuntu2~trusty1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
Setting up uno-libs3 (4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up ure (4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up fonts-opensymbol (2:102.6+LibO4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-human (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-galaxy (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-sifr (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-hicontrast (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-tango (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-oxygen (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-style-crystal (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-common (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Installing new version of config file /etc/bash_completion.d/libreoffice.sh ...
Setting up libreoffice-core (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-base-core (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-calc (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-draw (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-impress (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-gtk (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-gtk3 (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-pdfimport (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-math (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up python3-uno (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-writer (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Setting up libreoffice-avmedia-backend-gstreamer (1:4.3.1~rc2-0ubuntu1~trusty1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Misko
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 27, 2014, 10:39:48 PM
(http://imgur.com/RMwNH9q.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 29, 2014, 05:00:14 AM
This is the same GUI  with radio buttons.
Code: [Select]
#! /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: Aug 29th, 2014
# Website: https://www.linuxliteos.com
#--------------------------------------------------------------------------------------------------------
ic="/usr/share/icons/zenity-llcc.png"

selection=$(zenity --window-icon="$ic" --list --radiolist --width=860 --height=680 --column="" --column="Name" --column="Category" \
 --column="Description" --text="Click on 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" \
"1" "Apple Trailers Plugin" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \
"2" "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \
"3" "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \
"4" "Dropbox" "Internet" "A popular cloud storage application" \
"5" "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \
"6" "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \
"8" "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \
"9" "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \
"10" "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \
"11" "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \
"12" "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \
"13" "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \
"14" "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \
"16" "Skype" "Internet" "A popular audio and video chat application" \
"17" "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \
"18" "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \
"19" "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \
"20" "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \
"21" "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \
"22" "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \
"23" "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \
"24" "XBMC" "Multimedia" "This will install the XBMC Media Center" )

case "$selection" in
"Apple Trailers Plugin")/usr/scripts/trailers 2>/dev/null ;;
"Chrome Web Browser")/usr/scripts/chrome 2>/dev/null ;;
"Chromium Web Browser")/usr/scripts/chromium 2>/dev/null ;;
"Dropbox")/usr/scripts/dropbox 2>/dev/null ;;
"File & Folder Search")/usr/scripts/search 2>/dev/null ;;
"Games Pack")/usr/scripts/games 2>/dev/null ;;
"Google Talk Browser Plugin")/usr/scripts/googletalk 2>/dev/null ;;
"iDevices Manager")/usr/scripts/idev 2>/dev/null ;;
"Instant Messenger")/usr/scripts/im 2>/dev/null ;;
"Java Web Applet Plugin")/usr/scripts/javaplugin 2>/dev/null ;;
"Netflix")/usr/scripts/netflix 2>/dev/null ;;
"Password Manager")/usr/scripts/keepassx 2>/dev/null ;;
"PlayOnLinux")/usr/scripts/playonlinux 2>/dev/null ;;
"Remote Desktop Software")/usr/scripts/remote 2>/dev/null ;;
"Restricted Extras")/usr/scripts/re 2>/dev/null ;;
"Skype")/usr/scripts/skype 2>/dev/null ;;
"Teamviewer")/usr/scripts/teamviewer 2>/dev/null ;;
"Torrent Software")/usr/scripts/deluge 2>/dev/null ;;
"Video Editing Software")/usr/scripts/openshot 2>/dev/null ;;
"VirtualBox")/usr/scripts/virtualbox 2>/dev/null ;;
"Weather Monitor")/usr/scripts/weather 2>/dev/null ;;
"Webcam Software")/usr/scripts/guvcview 2>/dev/null ;;
"Wine")/usr/scripts/wine 2>/dev/null ;;
"XBMC")/usr/scripts/xbmc 2>/dev/null ;;
esac
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 29, 2014, 05:31:31 AM
A radio list would be better, with your script selecting to install Chrome throws this error:

Code: [Select]
[email protected]:~$ ./ups
./ups: line 49: syntax error near unexpected token `"Multimedia"'
./ups: line 49: `"Netflix" "Multimedia")/usr/scripts/netflix 2>/dev/null ;;'
[email protected]:~$
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 29, 2014, 05:49:50 AM
A radio list would be better, with your script selecting to install Chrome throws this error:

Code: [Select]
[email protected]:~$ ./ups
./ups: line 49: syntax error near unexpected token `"Multimedia"'
./ups: line 49: `"Netflix" "Multimedia")/usr/scripts/netflix 2>/dev/null ;;'
[email protected]:~$
"Multimedia" should be removed. :)
I fixed it. It's working now.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 29, 2014, 05:55:42 AM
Yup, thank you misko, I'll put this in the next version of lite-software :)

(http://i.imgur.com/s8PZqzG.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 29, 2014, 06:09:32 AM
You are welcome.  ;)
What about that GUI for the updates?
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on August 29, 2014, 06:12:12 AM
You are welcome.  ;)
What about that GUI for the updates?

It works just fine, but requires some detailed work to account for times when the user is prompted for interaction to make a choice eg. lsb_release and issue file changes.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 29, 2014, 06:23:09 AM
You are welcome.  ;)
What about that GUI for the updates?

It works just fine, but requires some detailed work to account for times when the user is prompted for interaction to make a choice eg. lsb_release and issue file changes.
That looks complicated. :)
By the way I've tried Additional Software install GUI with checklist. It's working when a single item is selected.
It would be nice if multiple selections would work.
Code: [Select]
#! /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: Aug 29th, 2014
# Website: https://www.linuxliteos.com
#--------------------------------------------------------------------------------------------------------
ic="/usr/share/icons/zenity-llcc.png"

selection=$(zenity --window-icon="$ic" --list --checklist --width=860 --height=680 --column="Check" --column="Name" --column="Category" \
 --column="Description" --text="Click on 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" \
"1" "Apple Trailers Plugin" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \
"2" "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \
"3" "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \
"4" "Dropbox" "Internet" "A popular cloud storage application" \
"5" "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \
"6" "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \
"8" "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \
"9" "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \
"10" "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \
"11" "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \
"12" "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \
"13" "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \
"14" "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \
"16" "Skype" "Internet" "A popular audio and video chat application" \
"17" "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \
"18" "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \
"19" "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \
"20" "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \
"21" "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \
"22" "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \
"23" "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \
"24" "XBMC" "Multimedia" "This will install the XBMC Media Center" )


case "$selection" in
"Apple Trailers Plugin")/usr/scripts/trailers 2>/dev/null ;;
"Chrome Web Browser")/usr/scripts/chrome 2>/dev/null ;;
"Chromium Web Browser")/usr/scripts/chromium 2>/dev/null ;;
"Dropbox")/usr/scripts/dropbox 2>/dev/null ;;
"File & Folder Search")/usr/scripts/search 2>/dev/null ;;
"Games Pack")/usr/scripts/games 2>/dev/null ;;
"Google Talk Browser Plugin")/usr/scripts/googletalk 2>/dev/null ;;
"iDevices Manager")/usr/scripts/idev 2>/dev/null ;;
"Instant Messenger")/usr/scripts/im 2>/dev/null ;;
"Java Web Applet Plugin")/usr/scripts/javaplugin 2>/dev/null ;;
"Netflix")/usr/scripts/netflix 2>/dev/null ;;
"Password Manager")/usr/scripts/keepassx 2>/dev/null ;;
"PlayOnLinux")/usr/scripts/playonlinux 2>/dev/null ;;
"Remote Desktop Software")/usr/scripts/remote 2>/dev/null ;;
"Restricted Extras")/usr/scripts/re 2>/dev/null ;;
"Skype")/usr/scripts/skype 2>/dev/null ;;
"Teamviewer")/usr/scripts/teamviewer 2>/dev/null ;;
"Torrent Software")/usr/scripts/deluge 2>/dev/null ;;
"Video Editing Software")/usr/scripts/openshot 2>/dev/null ;;
"VirtualBox")/usr/scripts/virtualbox 2>/dev/null ;;
"Weather Monitor")/usr/scripts/weather 2>/dev/null ;;
"Webcam Software")/usr/scripts/guvcview 2>/dev/null ;;
"Wine")/usr/scripts/wine 2>/dev/null ;;
"XBMC")/usr/scripts/xbmc 2>/dev/null ;;
esac
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on August 31, 2014, 10:33:00 AM
News from my bash lab: A new version of GUI tool to install additional software. This time it is a check list with multiple selection working.
Code: [Select]
#! /bin/bash
#--------------------------------------------------------------------------------------------------------
# Name: Linux Lite Install Additional Software
# Description: A GUI tool to easily install additional software in Linux Lite.
# Authors: Misko_2083, Jerry Bezencon
# Date: Aug 27th, 2014
# Website: https://www.linuxliteos.com
#--------------------------------------------------------------------------------------------------------

ic="/usr/share/icons/zenity-llcc.png"

selection=$(zenity --window-icon="$ic" --list --checklist --width=880 --height=680 --column="Select" --column="" --column="Name" --column="Category" \
 --column="Description" --hide-column=2 \
 --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" \
"1" "/usr/scripts/trailers 2>/dev/null" "Apple Trailers Plugin" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \
"2" "/usr/scripts/chrome 2>/dev/null" "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \
"3" "/usr/scripts/chromium 2>/dev/null" "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \
"4" "/usr/scripts/dropbox 2>/dev/null" "Dropbox" "Internet" "A popular cloud storage application" \
"5" "/usr/scripts/search 2>/dev/null" "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \
"6" "/usr/scripts/games 2>/dev/null" "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "/usr/scripts/googletalk 2>/dev/null" "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \
"8" "/usr/scripts/idev 2>/dev/null" "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \
"9" "/usr/scripts/im 2>/dev/null" "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \
"10" "/usr/scripts/javaplugin 2>/dev/null" "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \
"11" "/usr/scripts/netflix 2>/dev/null" "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \
"12" "/usr/scripts/keepassx 2>/dev/null" "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \
"13" "/usr/scripts/playonlinux 2>/dev/null" "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \
"14" "/usr/scripts/remote 2>/dev/null" "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "/usr/scripts/re 2>/dev/null" "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \
"16" "/usr/scripts/skype 2>/dev/null" "Skype" "Internet" "A popular audio and video chat application" \
"17" "/usr/scripts/teamviewer 2>/dev/null" "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \
"18" "/usr/scripts/deluge 2>/dev/null" "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \
"19" "/usr/scripts/openshot 2>/dev/null" "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \
"20" "/usr/scripts/virtualbox 2>/dev/null" "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \
"21" "/usr/scripts/weather 2>/dev/null" "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \
"22" "/usr/scripts/guvcview 2>/dev/null" "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \
"23" "/usr/scripts/wine 2>/dev/null" "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \
"24" "/usr/scripts/xbmc 2>/dev/null" "XBMC" "Multimedia" "This will install the XBMC Media Center" )

eval "$selection"

(http://i.imgur.com/pGvB6XK.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on September 01, 2014, 11:41:42 AM
 8) Great work Misko_2083. The script is evolving nicely.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 01, 2014, 11:45:59 AM
I have tried the multiple selection script, it just gets to jumbled with windows on top of windows. For me for now the Select radio list is the best iteration to date. Keep evolving :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 01, 2014, 03:11:53 PM
8) Great work Misko_2083. The script is evolving nicely.
Thank you
I have tried the multiple selection script, it just gets to jumbled with windows on top of windows. For me for now the Select radio list is the best iteration to date. Keep evolving :)
Haha I was thinking the same thing.  :) This is doing exactly what I wanted.
Code: [Select]
#! /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: Aug 29th, 2014
# Website: https://www.linuxliteos.com
#--------------------------------------------------------------------------------------------------------
ic="/usr/share/icons/zenity-llcc.png"

selection=$(zenity --window-icon="$ic" --list --checklist --width=860 --height=680 --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" \
"1" "Apple Trailers Plugin" "Internet" "Watch Apple trailers in your web browser (Firefox only)" \
"2" "Chrome Web Browser" "Internet" "Install the Google Chrome web browser" \
"3" "Chromium Web Browser" "Internet" "Install the open-source alternative to the Google Chrome web browser" \
"4" "Dropbox" "Internet" "A popular cloud storage application" \
"5" "File & Folder Search" "Accessories" "Easily locate files and folders in your computer" \
"6" "Games Pack" "Games" "Comes with Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "Google Talk Browser Plugin" "Internet" "Install this plugin to use Google Hangouts video chat" \
"8" "iDevices Manager" "Multimedia" "Manage your iDevices with Gtkpod" \
"9" "Instant Messenger" "Internet" "This will install Pidgin, a multi-protocol Instant Messenging client" \
"10" "Java Web Applet Plugin" "Internet" "To allow you to view java applets in your web browser" \
"11" "Netflix" "Multimedia" "A popular streaming tv and movie service (account required)" \
"12" "Password Manager" "Accessories" "Installs KeePassX, an excellent password manager" \
"13" "PlayOnLinux" "Cross Platform" "Easily install and use numerous games and apps designed to run with Windows" \
"14" "Remote Desktop Software" "Internet" "Installs the Remmina Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "Restricted Extras" "Multimedia" "Installs additional codecs and useful file formats that are not shipped by default" \
"16" "Skype" "Internet" "A popular audio and video chat application" \
"17" "Teamviewer" "Internet" "Installs Teamviewer Remote Desktop Support software" \
"18" "Torrent Software" "Internet" "Installs the Deluge Torrent client software" \
"19" "Video Editing Software" "Multimedia" "Installs Openshot, a simple to use yet powerful video editor for linux" \
"20" "VirtualBox" "System" "Virtualbox allows you to install other operating systems like Windows from within Linux Lite" \
"21" "Weather Monitor" "System Tray" "This will install a Weather Monitor Plugin for your tray" \
"22" "Webcam Software" "Internet" "Guvcview, webcam software for your computer" \
"23" "Wine" "Cross Platform" "Wine allows you to install and run some Windows programs and games on Linux Lite" \
"24" "XBMC" "Multimedia" "This will install the XBMC Media Center" )

echo $selection | grep "Apple Trailers Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/trailers 2>/dev/null
fi

echo $selection | grep "Chrome Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chrome 2>/dev/null
fi

echo $selection | grep "Chromium Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chromium 2>/dev/null
fi

echo $selection | grep "Dropbox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/dropbox 2>/dev/null
fi

echo $selection | grep "File & Folder Search" > /dev/null
if [ $? = 0 ];then
/usr/scripts/search 2>/dev/null
fi

echo $selection | grep "Games Pack" > /dev/null
if [ $? = 0 ];then
/usr/scripts/games 2>/dev/null
fi

echo $selection | grep "Google Talk Browser Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/googletalk 2>/dev/null
fi

echo $selection | grep "iDevices Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/idev 2>/dev/null
fi

echo $selection | grep "Instant Messenger" > /dev/null
if [ $? = 0 ];then
/usr/scripts/im 2>/dev/null
fi

echo $selection | grep "Java Web Applet Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/javaplugin 2>/dev/null
fi

echo $selection | grep "Netflix" > /dev/null
if [ $? = 0 ];then
/usr/scripts/netflix 2>/dev/null
fi

echo $selection | grep "Password Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/keepassx 2>/dev/null
fi

echo $selection | grep "PlayOnLinux" > /dev/null
if [ $? = 0 ];then
/usr/scripts/playonlinux 2>/dev/null
fi

echo $selection | grep "Remote Desktop Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remote 2>/dev/null
fi

echo $selection | grep "Restricted Extras" > /dev/null
if [ $? = 0 ];then
/usr/scripts/re 2>/dev/null
fi

echo $selection | grep "Skype" > /dev/null
if [ $? = 0 ];then
/usr/scripts/skype 2>/dev/null
fi

echo $selection | grep "Teamviewer" > /dev/null
if [ $? = 0 ];then
/usr/scripts/teamviewer 2>/dev/null
fi

echo $selection | grep "Torrent Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/deluge 2>/dev/null
fi

echo $selection | grep "Video Editing Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/openshot 2>/dev/null
fi

echo $selection | grep "VirtualBox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/virtualbox 2>/dev/null
fi

echo $selection | grep "Weather Monitor" > /dev/null
if [ $? = 0 ];then
/usr/scripts/weather 2>/dev/null
fi

echo $selection | grep "Webcam Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/guvcview 2>/dev/null
fi

echo $selection | grep "Wine" > /dev/null
if [ $? = 0 ];then
/usr/scripts/wine 2>/dev/null
fi

echo $selection | grep "XBMC" > /dev/null
if [ $? = 0 ];then
/usr/scripts/xbmc 2>/dev/null
fi
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 01, 2014, 08:54:39 PM
Very nice misko, works well :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 02, 2014, 08:04:29 AM
Very nice misko, works well :)
No problem. :)
I guess a new version will be announced soon. ;)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 02, 2014, 08:47:31 PM
Example - You want to install Chrome and Skype. If you choose Yes to launch Chrome after it has finished installing, the Skype installer won't start. Do you think you could fix this? Cheers.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 03, 2014, 07:12:18 AM
Example - You want to install Chrome and Skype. If you choose Yes to launch Chrome after it has finished installing, the Skype installer won't start. Do you think you could fix this? Cheers.
That's an easy fix. You will have to edit all of the install scripts and where there is a command to start the app just add &
This way the program will run in the background. [Edit] This way the shell will not wait for the command to finish.
Here is an example:
Code: [Select]
chromium-browser &
Code: [Select]
#!/bin/bash
#-------------------------------------------
# Description: Linux Lite Installer Dialogue
# Author: Jerry Bezencon 2014
# Website: https://www.linuxliteos.com
#-------------------------------------------

# Main window dialogue.
 INSTALLER_TITLE="Chromium Web Browser Installer
-----------------------------------------------------------------------------------------------------
This will install the Chromium Web Browser.

When you click on Yes, this window will close and the install will begin.
The install time will vary based on your internet connection and computer.
Support is available from - http://www.chromium.org/Home

Once installed, Chromium is located in Menu, Internet.
-----------------------------------------------------------------------------------------------------
Click on Yes to continue or No to cancel the installation."

# Call the zenity window icon location.
 INSTALL_ICON="/usr/share/icons/zenity-llcc.png"
 APPNAME="Chromium Web Browser"
       
        zenity --question --title="$APPNAME Installer" --window-icon="${INSTALL_ICON}" --text="${INSTALLER_TITLE}"

                if [ "$?" -eq "0" ]; then
                        gksudo -g --message 'To install this software your password is required. Enter your password, or press Cancel.' "sudo apt-get install -f chromium-browser --force-yes -y" | zenity --progress --title="Installing $APPNAME" --window-icon="${INSTALL_ICON}" --text="Please wait whilst $APPNAME downloads and installs..." --pulsate --width=400 --auto-close --auto-kill


                                if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                       
                                        zenity --error \
                                        --title="Error" --text="$APPNAME could not be installed."
                                        exit 0
                                fi

                else

                                        exit 0
                fi


PROCEED=$(zenity --question --title="$APPNAME Installer" --window-icon=/usr/share/icons/zenity-llcc.png --text="The installation has finished.\n\nWould you like to launch $APPNAME now?"; echo $?)
if [ ${PROCEED} -eq 1 ]; then
zenity --info --title="Finished" --window-icon="${INSTALL_ICON}" --text="Install Complete.\n\n$APPNAME is located in Menu, Internet"
exit;
else
   chromium-browser &
fi

exit 0

Cheers :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: riser on September 03, 2014, 01:28:43 PM
This tool is very useful for post-install of additional apps.

Is it possible to detect those apps which are already installed, and maybe have an option to hide them?
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 04, 2014, 05:30:31 PM
This tool is very useful for post-install of additional apps.

Is it possible to detect those apps which are already installed, and maybe have an option to hide them?
Thanks for the suggestion. At the moment, I don't see how to add that.

Valtam, is this ok? The other scripts are all working.
trailers
Code: [Select]
#!/bin/bash
#-------------------------------------------
# Description: Linux Lite Installer Dialogue
# Author: Jerry Bezencon 2014
# Website: https://www.linuxliteos.com
#-------------------------------------------

# Main window dialogue.
 INSTALLER_TITLE="Apple Trailers Plugin Installer
-----------------------------------------------------------------------------------------------------
This will install the Apple Trailers Plugin for your web browser.

When you click on Yes, this window will close and the install will begin.
The install time will vary based on your internet connection and computer.
Trailers can be viewed at - http://trailers.apple.com/trailers/

Please close any open web browsers now or the program can do it for you.

-----------------------------------------------------------------------------------------------------
Click on Yes to continue or No to cancel the installation."

# Call the zenity window icon location.
 INSTALL_ICON="/usr/share/icons/zenity-llcc.png"
 APPNAME="Apple Trailers Plugin"
       
        zenity --question --title="$APPNAME Installer" --window-icon="${INSTALL_ICON}" --text="${INSTALLER_TITLE}"

                if [ "$?" -eq "0" ]; then
                        gksudo -g --message 'To install this software your password is required. Enter your password, or press Cancel.' "sudo apt-get install -f totem-mozilla ubuntu-restricted-extras --force-yes -y" | zenity --progress --title="Installing $APPNAME" --window-icon="${INSTALL_ICON}" --text="Please wait whilst $APPNAME downloads and installs..." --pulsate --width=400 --auto-close --auto-kill


                                if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                       
                                        zenity --error \
                                        --title="Error" --text="$APPNAME could not be installed."
                                        exit 0
                                fi

                else

                                        exit 0
                fi


PROCEED=$(zenity --question --title="$APPNAME Installer" --window-icon=/usr/share/icons/zenity-llcc.png --text="The installation has finished.\n\nWould you like to visit the Apple Trailers page now?"; echo $?)
if [ ${PROCEED} -eq 1 ]; then
zenity --info --title="Finished" --window-icon="${INSTALL_ICON}" --text="Install Complete.\n\n The $APPNAME has been installed to your web browser.\n\nYou will need to restart your browser before you can begin using this plugin."
exit;
else
killall -9 firefox &
killall -9 chrome &
killall -9 chromium-browser &
sleep 5 && xdg-open http://trailers.apple.com/trailers/ &
fi



exit 0

Also I've made lite-remover.
Code: [Select]
#!/bin/bash
#----------------------------------------------------------------------------------------------------
# Name: Linux Lite Remove Additional Software
# Description: A tool to easily remove additional software in Linux Lite.
# Authors: Misko_2083, Jerry Bezencon
# Date: Aug 27th, 2014
# Website: https://www.linuxliteos.com
#----------------------------------------------------------------------------------------------------

ic="/usr/share/icons/zenity-llcc.png"
selection=$(zenity --window-icon="$ic" --list --checklist --width=880 --height=680 --column="Select" --column="Name" --column="Category" \
 --column="Description" --text="Select the programs you wish to remove, then click the Remove button. Sort Categories by clicking on the column." --title="Remove Additional Software" --ok-label="Remove" --cancel-label="Quit" \
"1" "Apple Trailers Plugin" "Internet" "Remove the Apple trailers plugin from your web browser (Firefox only)" \
"2" "Chrome Web Browser" "Internet" "Remove the Google Chrome web browser" \
"3" "Chromium Web Browser" "Internet" "Remove the open-source alternative to the Google Chrome web browser" \
"4" "Dropbox" "Internet" "Remove Dropbox, a popular cloud storage application" \
"5" "File & Folder Search" "Accessories" "Remove Catfish, a locate files and folders application" \
"6" "Games Pack" "Games" "Remove Solitaire, Chess, Mahjongg, Mines and Hearts" \
"7" "Google Talk Browser Plugin" "Internet" "Remove this plugin for Google Hangouts video chat" \
"8" "iDevices Manager" "Multimedia" "Remove Gtkpod, the iDevices manager" \
"9" "Instant Messenger" "Internet" "Remove Pidgin, a multi-protocol Instant Messenging client" \
"10" "Java Web Applet Plugin" "Internet" "Remove the java applets plugin from your web browser" \
"11" "Netflix" "Multimedia" "Remove Netflix, a popular streaming tv and movie service" \
"12" "Password Manager" "Accessories" "Remove KeePassX, the password manager" \
"13" "PlayOnLinux" "Cross Platform" "Remove PlayOnLinux, games and apps designed to run with Windows" \
"14" "Remote Desktop Software" "Internet" "Remove Remmina, Remote Desktop Client for Windows (RDP) and VNC Servers" \
"15" "Restricted Extras" "Multimedia" "Remove additional codecs and useful file formats that are not shipped by default" \
"16" "Skype" "Internet" "Remove Skype, a popular audio and video chat application" \
"17" "Teamviewer" "Internet" "Remove Teamviewer Remote Desktop Support software" \
"18" "Torrent Software" "Internet" "Remove Deluge, torrent client software" \
"19" "Video Editing Software" "Multimedia" "Remove Openshot, a simple to use yet powerful video editor for linux" \
"20" "VirtualBox" "System" "Remove Virtualbox, install other operating systems like Windows from within Linux Lite" \
"21" "Weather Monitor" "System Tray" "Remove the Weather Monitor Plugin from your tray" \
"22" "Webcam Software" "Internet" "Remove Guvcview, webcam software for your computer" \
"23" "Wine" "Cross Platform" "Remove Wine, run Windows programs and games on Linux Lite" \
"24" "XBMC" "Multimedia" "Remove the XBMC Media Center" )


echo $selection | grep "Apple Trailers Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/trailers 2>/dev/null
fi

echo $selection | grep "Chrome Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/chrome 2>/dev/null
fi

echo $selection | grep "Chromium Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/chromium 2>/dev/null
fi

echo $selection | grep "Dropbox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/dropbox 2>/dev/null
fi

echo $selection | grep "File & Folder Search" > /dev/null
if [ $? = 0 ];then
/usr/scripts//remove/search 2>/dev/null
fi

echo $selection | grep "Games Pack" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/games 2>/dev/null
fi

echo $selection | grep "Google Talk Browser Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/googletalk 2>/dev/null
fi

echo $selection | grep "iDevices Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/idev 2>/dev/null
fi

echo $selection | grep "Instant Messenger" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/im 2>/dev/null
fi

echo $selection | grep "Java Web Applet Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/javaplugin 2>/dev/null
fi

echo $selection | grep "Netflix" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/netflix 2>/dev/null
fi

echo $selection | grep "Password Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/keepassx 2>/dev/null
fi

echo $selection | grep "PlayOnLinux" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/playonlinux 2>/dev/null
fi

echo $selection | grep "Remote Desktop Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/remote 2>/dev/null
fi

echo $selection | grep "Restricted Extras" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/re 2>/dev/null
fi

echo $selection | grep "Skype" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/skype 2>/dev/null
fi

echo $selection | grep "Teamviewer" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/teamviewer 2>/dev/null
fi

echo $selection | grep "Torrent Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/deluge 2>/dev/null
fi

echo $selection | grep "Video Editing Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/openshot 2>/dev/null
fi

echo $selection | grep "VirtualBox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/virtualbox 2>/dev/null
fi

echo $selection | grep "Weather Monitor" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/weather 2>/dev/null
fi

echo $selection | grep "Webcam Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/guvcview 2>/dev/null
fi

echo $selection | grep "Wine" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/wine 2>/dev/null
fi

echo $selection | grep "XBMC" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remove/xbmc 2>/dev/null
fi
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Kurt on September 07, 2014, 01:49:47 PM
Hi guys - Just been reading through this thread and tried the beta updates script works great ! I was wondering when this would come :)

Great stuff Misko - I think this will take LL to an even newbie friendly Distro

Keep up the great work - Kurt ..
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 07, 2014, 05:30:33 PM
Hi guys - Just been reading through this thread and tried the beta updates script works great ! I was wondering when this would come :)

Great stuff Misko - I think this will take LL to an even newbie friendly Distro

Keep up the great work - Kurt ..
Thanks Kurt.  :)
Will do. :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 12, 2014, 03:27:06 AM
Have been out of town most of the week, hope to get into some more coding next week and update this software for all :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 17, 2014, 05:22:52 AM
litesoftware_1.0-0150 for 32bit and litesoftware_1.0-0170 for 64bit are now available. Run Install Updates to get it.

Changes:

To do: Add multiple selection option for Remove Additional Software.

(http://i.imgur.com/s071MEE.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 17, 2014, 08:08:56 AM
That's great Valtam.
You can use the script for the remover from post #42 to save some time. :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 18, 2014, 12:06:43 PM
You can't select multiple programs to install but it looks cool.
(http://i.imgur.com/Kw5sHob.png)

Code: [Select]
#! /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 --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" )

case "$selection" in
"Apple Trailers Plugin")/usr/scripts/trailers 2>/dev/null ;;
"Chrome Web Browser")/usr/scripts/chrome 2>/dev/null ;;
"Chromium Web Browser")/usr/scripts/chromium 2>/dev/null ;;
"Dropbox")/usr/scripts/dropbox 2>/dev/null ;;
"File & Folder Search")/usr/scripts/search 2>/dev/null ;;
"Games Pack")/usr/scripts/games 2>/dev/null ;;
"Google Talk Browser Plugin")/usr/scripts/googletalk 2>/dev/null ;;
"iDevices Manager")/usr/scripts/idev 2>/dev/null ;;
"Instant Messenger")/usr/scripts/im 2>/dev/null ;;
"Java Web Applet Plugin")/usr/scripts/javaplugin 2>/dev/null ;;
"Netflix")/usr/scripts/netflix 2>/dev/null ;;
"Password Manager")/usr/scripts/keepassx 2>/dev/null ;;
"PlayOnLinux")/usr/scripts/playonlinux 2>/dev/null ;;
"Remote Desktop Software")/usr/scripts/remote 2>/dev/null ;;
"Restricted Extras")/usr/scripts/re 2>/dev/null ;;
"Skype")/usr/scripts/skype 2>/dev/null ;;
"Teamviewer")/usr/scripts/teamviewer 2>/dev/null ;;
"Torrent Software")/usr/scripts/deluge 2>/dev/null ;;
"Video Editing Software")/usr/scripts/openshot 2>/dev/null ;;
"VirtualBox")/usr/scripts/virtualbox 2>/dev/null ;;
"Weather Monitor")/usr/scripts/weather 2>/dev/null ;;
"Webcam Software")/usr/scripts/guvcview 2>/dev/null ;;
"Wine")/usr/scripts/wine 2>/dev/null ;;
"XBMC")/usr/scripts/xbmc 2>/dev/null ;;
esac
Icons are just for display /usr/share/pixmaps/skype.png and /usr/share/pixmaps/steam.png
Any image can be used.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 18, 2014, 04:45:32 PM
It does look cool, what a tease :p
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 18, 2014, 05:55:06 PM
It does look cool, what a tease :p
No, that wasn't a tease.
This is a tease :)
(http://i.imgur.com/pYaNnuP.png)
-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>)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 18, 2014, 08:03:36 PM
One option is to use checklist (like in this script).
The other option is to remove checklist and FALSE column and leave just icons (then Ctrl will have to be used for selecting multiple programs to install).
yad is required for this to run.
Code: [Select]
#! /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/null
if [ $? = 0 ];then
/usr/scripts/trailers 2>/dev/null
fi
echo $selection | grep "Chrome Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chrome 2>/dev/null
fi
echo $selection | grep "Chromium Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chromium 2>/dev/null
fi
echo $selection | grep "Dropbox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/dropbox 2>/dev/null
fi
echo $selection | grep "File & Folder Search" > /dev/null
if [ $? = 0 ];then
/usr/scripts/search 2>/dev/null
fi
echo $selection | grep "Games Pack" > /dev/null
if [ $? = 0 ];then
/usr/scripts/games 2>/dev/null
fi
echo $selection | grep "Google Talk Browser Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/googletalk 2>/dev/null
fi
echo $selection | grep "iDevices Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/idev 2>/dev/null
fi
echo $selection | grep "Instant Messenger" > /dev/null
if [ $? = 0 ];then
/usr/scripts/im 2>/dev/null
fi
echo $selection | grep "Java Web Applet Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/javaplugin 2>/dev/null
fi
echo $selection | grep "Netflix" > /dev/null
if [ $? = 0 ];then
/usr/scripts/netflix 2>/dev/null
fi
echo $selection | grep "Password Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/keepassx 2>/dev/null
fi
echo $selection | grep "PlayOnLinux" > /dev/null
if [ $? = 0 ];then
/usr/scripts/playonlinux 2>/dev/null
fi
echo $selection | grep "Remote Desktop Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remote 2>/dev/null
fi
echo $selection | grep "Restricted Extras" > /dev/null
if [ $? = 0 ];then
/usr/scripts/re 2>/dev/null
fi
echo $selection | grep "Skype" > /dev/null
if [ $? = 0 ];then
/usr/scripts/skype 2>/dev/null
fi
echo $selection | grep "Teamviewer" > /dev/null
if [ $? = 0 ];then
/usr/scripts/teamviewer 2>/dev/null
fi
echo $selection | grep "Torrent Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/deluge 2>/dev/null
fi
echo $selection | grep "Video Editing Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/openshot 2>/dev/null
fi
echo $selection | grep "VirtualBox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/virtualbox 2>/dev/null
fi
echo $selection | grep "Weather Monitor" > /dev/null
if [ $? = 0 ];then
/usr/scripts/weather 2>/dev/null
fi
echo $selection | grep "Webcam Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/guvcview 2>/dev/null
fi
echo $selection | grep "Wine" > /dev/null
if [ $? = 0 ];then
/usr/scripts/wine 2>/dev/null
fi
echo $selection | grep "XBMC" > /dev/null
if [ $? = 0 ];then
/usr/scripts/xbmc 2>/dev/null
fi
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Scott on September 18, 2014, 09:55:04 PM
@misko_2083
The icon "feature" is very nice, makes things look more polished and professional.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 19, 2014, 01:49:21 AM
It 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>)


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.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 21, 2014, 04:43:36 AM
Remove Additional Software was updated today:

Changes:

(http://i.imgur.com/JDTt2A6.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 21, 2014, 08:44:17 AM

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.
Yes it's just Yad. I was tired of Zenity's limitations so I wanted to try something else.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 21, 2014, 09:45:25 AM
It is a shame Zenity does not have the same features as Yad. For example, the option of an icon and a select feature for me would be a no-brainer inclusion. The last release of Yad was December 2013, up until then development was fairly constant.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 21, 2014, 02:43:41 PM
Yes, it's a shame.  :-\
Anyway, I made a new script. Zenity of course. :)
Multiple selection + icons in a list.
Multiple selection of programs to install is now possible with Ctrl and Shift.
Icons should be the same size.

(http://i.imgur.com/7vqjaGx.png)

Code: [Select]
#! /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/null
if [ $? = 0 ];then
/usr/scripts/trailers 2>/dev/null
fi

echo $selection | grep "Chrome Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chrome 2>/dev/null
fi

echo $selection | grep "Chromium Web Browser" > /dev/null
if [ $? = 0 ];then
/usr/scripts/chromium 2>/dev/null
fi

echo $selection | grep "Dropbox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/dropbox 2>/dev/null
fi

echo $selection | grep "File & Folder Search" > /dev/null
if [ $? = 0 ];then
/usr/scripts/search 2>/dev/null
fi

echo $selection | grep "Games Pack" > /dev/null
if [ $? = 0 ];then
/usr/scripts/games 2>/dev/null
fi

echo $selection | grep "Google Talk Browser Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/googletalk 2>/dev/null
fi

echo $selection | grep "iDevices Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/idev 2>/dev/null
fi

echo $selection | grep "Instant Messenger" > /dev/null
if [ $? = 0 ];then
/usr/scripts/im 2>/dev/null
fi

echo $selection | grep "Java Web Applet Plugin" > /dev/null
if [ $? = 0 ];then
/usr/scripts/javaplugin 2>/dev/null
fi

echo $selection | grep "Netflix" > /dev/null
if [ $? = 0 ];then
/usr/scripts/netflix 2>/dev/null
fi

echo $selection | grep "Password Manager" > /dev/null
if [ $? = 0 ];then
/usr/scripts/keepassx 2>/dev/null
fi

echo $selection | grep "PlayOnLinux" > /dev/null
if [ $? = 0 ];then
/usr/scripts/playonlinux 2>/dev/null
fi

echo $selection | grep "Remote Desktop Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/remote 2>/dev/null
fi

echo $selection | grep "Restricted Extras" > /dev/null
if [ $? = 0 ];then
/usr/scripts/re 2>/dev/null
fi

echo $selection | grep "Skype" > /dev/null
if [ $? = 0 ];then
/usr/scripts/skype 2>/dev/null
fi

echo $selection | grep "Teamviewer" > /dev/null
if [ $? = 0 ];then
/usr/scripts/teamviewer 2>/dev/null
fi

echo $selection | grep "Torrent Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/deluge 2>/dev/null
fi

echo $selection | grep "Video Editing Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/openshot 2>/dev/null
fi

echo $selection | grep "VirtualBox" > /dev/null
if [ $? = 0 ];then
/usr/scripts/virtualbox 2>/dev/null
fi

echo $selection | grep "Weather Monitor" > /dev/null
if [ $? = 0 ];then
/usr/scripts/weather 2>/dev/null
fi

echo $selection | grep "Webcam Software" > /dev/null
if [ $? = 0 ];then
/usr/scripts/guvcview 2>/dev/null
fi

echo $selection | grep "Wine" > /dev/null
if [ $? = 0 ];then
/usr/scripts/wine 2>/dev/null
fi

echo $selection | grep "XBMC" > /dev/null
if [ $? = 0 ];then
/usr/scripts/xbmc 2>/dev/null
fi
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 04:36:39 AM
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?
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 08:13:09 AM
I've also added you to the Dev page on the LL website - https://www.linuxliteos.com/code.html#devteam
Welcome aboard :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 22, 2014, 06:28:11 PM
I've also added you to the Dev page on the LL website - https://www.linuxliteos.com/code.html#devteam
Welcome aboard :)
Great. Thanks for adding me to the list. Such an honor. :)
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?
I can make the script to check if an application is installed but bold part is impossible due to zenity's limitations. I could make a column, let's say "Status" or "Installed" which would show if the application is installed or not. That way it would be easy to separate installed applications from those which aren't.
The other option is this:
(http://i.imgur.com/toD54v4.png)
You didn't mention should I use checklist or imagelist?
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 06:34:26 PM
Checklist is preferable. I'm thinking of contacting the Zenity team to see if they are interested in adding features to their software.
Would be nice to have another column titled 'Status' to the right of Category that says 'Installed' and 'Not Installed' for each application. This will increase the overall width of the window so I will in future shorten the Descriptions. Cheers :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 22, 2014, 07:15:05 PM
This will increase the overall width of the window so I will in future shorten the Descriptions. Cheers :)
There is no need for that. I can split the Description into two lines.
So far...
(http://i.imgur.com/8qmtnNz.png)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 07:17:22 PM
Would like to keep the window so there is no need for any scrolling, splitting the Descriptions would increase the height. I like that Status column :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 22, 2014, 07:22:31 PM
OK. I will finish this soon. :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 07:25:48 PM
Take your time, love your code :) Do you have a github account? I think it's time you started publishing your code so we can get it out to people more efficiently for 32 & 64bit.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 22, 2014, 08:56:38 PM
Take your time, love your code :) Do you have a github account? I think it's time you started publishing your code so we can get it out to people more efficiently for 32 & 64bit.

I've just opened a github account. Forked lite-software, made changes and then used a Pull Request.
I've never used github before, so I hope I did this right. :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 09:00:10 PM
Well done I got the email, thank you. This will make life so much easier :)
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: Jerry on September 22, 2014, 09:03:33 PM
Could you please redo the 64bit one, seems incomplete in regard to Steam.
Title: Re: A GUI tool to install additional software in Linux Lite 2.0
Post by: misko_2083 on September 23, 2014, 04:17:21 AM
Steam is now on the list. It's ready for review.  :)
I couldn't do this sooner. It was very late last night.
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on September 23, 2014, 04:53:35 AM
I would like to include the same options in Remove Additional Software (check for if a program is installed or not)
Thank you misko, there is no rush to do these things, enjoy your free-time. The community appreciates your efforts :)
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on September 30, 2014, 04:41:03 AM
litesoftware_1.0-0210 for 32bit and litesoftware_1.0-0240 for 64bit are now available. Run Install Updates to get it.

Changes:

(http://i.imgur.com/Kz0NjMN.png)
Title: Re: Lite Software - Suggestions welcomed
Post by: bobw on September 30, 2014, 06:23:37 AM
The new Installer shows the staus of the Restricted Extras package as Not Installed on my system.  I thought I'd installed it previously, but I installed it again.  The Istaller reported that the install was successful, but it still shows the status as Not Installed (after re-opening the Installer).  I then repeated the process again, with exactly the same result.  Is this a bug?
Title: Re: Lite Software - Suggestions welcomed
Post by: bitsnpcs on September 30, 2014, 06:36:17 AM
Hello bobw,
if you restart Linux Lite does it still say it is not Not Installed when checking again ?
Title: Re: Lite Software - Suggestions welcomed
Post by: bobw on September 30, 2014, 06:45:47 AM
Hi bitsnpcs.  Yes - I've tried that now and it's still showing status Not Installed.
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on September 30, 2014, 08:25:10 AM
bobw, is this for the 32bit or 64bit?
Title: Re: Lite Software - Suggestions welcomed
Post by: bobw on September 30, 2014, 09:00:32 AM
It's the 64bit.
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on September 30, 2014, 09:01:30 AM
Run Install Updates, we have provided a fix.
Title: Re: Lite Software - Suggestions welcomed
Post by: bobw on September 30, 2014, 09:05:28 AM
Thanks Valtam.  Now showing status Installed.
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on September 30, 2014, 09:06:02 AM
Thanks for reporting the bug bobw :)
Title: Re: Lite Software - Suggestions welcomed
Post by: AL13N on September 30, 2014, 10:57:53 AM
Thank you misko, there is no rush to do these things, enjoy your free-time. The community appreciates your efforts :)

Absolutely.  Amazing work.
 
Title: Re: Lite Software - Suggestions welcomed
Post by: Scott on September 30, 2014, 11:06:21 AM
Hi All,

As of version: 1.0-0250 the script will no longer run for me. I get prompted for my password and then nothing. A reboot gave the same results. I'm on LL 2/64.

Edit:
Don't pay too much attention to this problem. Narrowed it down to my system, just not sure what yet. Hey, gotta breaks things every once in a while! :)
Title: Re: Lite Software - Suggestions welcomed
Post by: misko_2083 on September 30, 2014, 01:16:16 PM
Hi Scot.
Code: [Select]
gksudo /usr/scripts/lite-softwareIf that starts the script, it's probably the .desktop shortcut is trying to run with
Code: [Select]
gksudo  sh /usr/scripts/lite-software :)
Title: Re: Lite Software - Suggestions welcomed
Post by: bitsnpcs on September 30, 2014, 01:41:54 PM
Hi bitsnpcs.  Yes - I've tried that now and it's still showing status Not Installed.

Hello bobw,
thank you for trying this.
I am glad to read the update Valtam done has solved it when you installed this.  :)
Title: Re: Lite Software - Suggestions welcomed
Post by: Scott on September 30, 2014, 02:48:16 PM
@misko, reference: reply #82

Thanks Misko, that fixed it. In case it matters for development the sh command I removed was in the launcher properties for the icon - install additional software. If there's also a .desktop file, I haven't located it yet.
Title: Re: Lite Software - Suggestions welcomed
Post by: crismblog on October 07, 2014, 01:48:27 PM
Add TLP http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html (http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html)

Quote
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.
Title: Re: Lite Software - Suggestions welcomed
Post by: Wirezfree on October 07, 2014, 02:17:04 PM
Add TPL http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html (http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html)

Quote
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

I agree, I have had TLP on 2 laptops for about 10 days, an old Sony Netbook Intel ATOM based, and my pretty High Spec'd HP i3/16GB Laptop, it did have Win 8 Pro.
It's very difficult to test precisely/acurately, but on light usage and idling, TLP gave about 20~ 30 mins extra battery life on each of them, for a basic install & forget.

Dave
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on October 07, 2014, 03:52:50 PM
Add TLP http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html (http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html)

Quote
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

Thank you crismblog, we'll take a look at this software :)
Title: Re: Lite Software - Suggestions welcomed
Post by: Scott on October 08, 2014, 10:14:57 AM
For those interested, a new TLP release is out.
http://www.webupd8.org/2014/10/advanced-power-management-tool-tlp-06.html

Enjoy,
~Scott
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on December 07, 2014, 04:44:46 AM
New packages available. Do Menu > Favorites > Install Updates to get latest version.

Changes:

- Now works with multiple languages
- Games pack removal bug fixed
- Teamviewer 10 added
- Includes updated code for Create System Report (thank you misko and sysdrum)

Thank you to all who provided code and messages about bugs :) Any more issues, please let me know.
Title: Re: Lite Software - Suggestions welcomed
Post by: Jerry on December 27, 2014, 04:00:19 AM
New packages available, changed XBMC code to new name of Kodi.
Title: Re: Lite Software - Suggestions welcomed
Post by: altman on December 27, 2014, 11:12:45 AM
Thanx Jerry for the hard work !
Title: Re: Lite Software - Suggestions welcomed
Post by: nvm on April 06, 2020, 04:21:58 AM
good time of day
It would be nice to add AnyDesk
near c Teamviewer

- add repository key to Trusted software providers list
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -

- add the repository:
echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list

- update apt cache:
apt update

- install anydesk:
apt install anydesk

source:
http://deb.anydesk.com/howto.html

that's only in /usr/bin/lite-software  I did not find repository add-ons