LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lite Software - Suggestions welcomed
#31
You are welcome.  Wink
What about that GUI for the updates?
Reply
#32
(08-29-2014, 10:09 AM)misko_2083 link Wrote: You are welcome.  Wink
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.
Reply
#33
(08-29-2014, 10:12 AM)Valtam link Wrote: [quote author=misko_2083 link=topic=792.msg4462#msg4462 date=1409306972]
You are welcome.  Wink
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.
[/quote]
That looks complicated. Smile
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:
#! /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
Reply
#34
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:
#! /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"

[Image: pGvB6XK.png]
Reply
#35
8) Great work Misko_2083. The script is evolving nicely.
[Image: q7j1yAl.png]
Reply
#36
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 Smile
Reply
#37
(09-01-2014, 03:41 PM)Scott(0) link Wrote: 8) Great work Misko_2083. The script is evolving nicely.
Thank you
(09-01-2014, 03:45 PM)Valtam link Wrote: 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 Smile
Haha I was thinking the same thing.  Smile This is doing exactly what I wanted.
Code:
#! /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
Reply
#38
Very nice misko, works well Smile
Reply
#39
(09-02-2014, 12:54 AM)Valtam link Wrote: Very nice misko, works well Smile
No problem. Smile
I guess a new version will be announced soon. Wink
Reply
#40
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)