Development > Linux Lite Software Development
Lite Software - Suggestions welcomed
Jerry:
That's a good start :)
anon222:
Maybe something like this?
I can't make it better, maybe someone will figure it out.
--- Code: ---#!/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 )
--- End code ---
--- Code: ---#!/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 )
--- End code ---
Scott:
Probably not exactly what you want but you can get a progress bar for install updates in this manner:
Source:
http://askubuntu.com/questions/445245/how-do-i-enable-fancy-apt-colours-and-progress-bars
anon222:
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.
--- Code: -----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."
--- End code ---
Jerry:
Announcements have been posted to social media sites, full credit to misko :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version