You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Install Updates: how to keep the terminal open

Author (Read 6211 times)

0 Members and 2 Guests are viewing this topic.

Install Updates: how to keep the terminal open
« Reply #1 on: August 08, 2014, 07:11:56 AM »
 

Kirkx

  • Occasional Poster
  • **
  • 51
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile

  • CPU: Athlon 64 3500+ 2.2 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 8500 GT / Nvidia 340.76
When you run Install Updates command it opens the terminal, runs the update script and then closes the terminal:



How to prevent the terminal from closing? I have modified the command and it seems to be working ok but I would appreciate confirmation that my code is ok:

Original command:

Code: [Select]
x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e /usr/scripts/updates
Modified command (the terminal remains open):

Code: [Select]
x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e "bash -c /usr/scripts/updates;bash"
In addition I commented out the last line in the "updates" script itself, I'm not sure if it's really necessary:



« Last Edit: August 08, 2014, 07:15:06 AM by Kirkx »
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section