auto add selected apps
Forum » tech / scripts » auto add selected apps
started by: tonytraductortonytraductor
on: 1199994540|%e %b %Y, %H:%M %Z|agohover
number of posts: 1
rss icon RSS: new posts
summary:
A script I am contemplating adding to the next release to facilitate addition of specific, recommended applications.
auto add selected apps
tonytraductortonytraductor 1199994540|%e %b %Y, %H:%M %Z|agohover

#!/bin/bash

## install recommended packages via a script.
export DISPLAY=:0.0

usr=$(whoami)

zenity —info —title EXTRAS —text "Greetings, $usr. First we need to update apt."

gksu apt-get update | tee >(zenity —title "updating apt" —progress —pulsate —auto-close)

zenity —info —title EXTRAS —text "Okay, $usr, now we are ready to install KDE. Click OKAY to proceed."

gksu apt-get install kdebase | tee >(zenity —title Idle-Python —text "Installing KDE Desktop" —progress —pulsate —auto-close)

zenity —info —title SUCCESS —text "KDE Desktop installed"

zenity —info —title B-BYE —text "Thank you for using Linguas OS, $usr! Have a nice day"

exit

  1. it occurs to me that I should find a way to pipe the output from apt to a window or text file.
  2. # you know, just in case the network is down or repos are hung or something, so the user know what happened.
  3. ## Obviously, I could add other packages to be installed, or separate scripts.
  4. ## As likely as not, I will scrap this, and just leave good instructions for the user to use synaptic, which is pretty self-explanatory anyway.
  5. # It's fun to write scripts, though!

Linux is FUN!

last edited on 1199994674|%e %b %Y, %H:%M %Z|agohover by tonytraductor + show more
unfold auto add selected apps by tonytraductortonytraductor, 1199994540|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License