Linux Lite 7.8 RC1 has been released - Click here


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,817
» Latest member: HelenLaf
» Forum threads: 9,441
» Forum posts: 62,275

Full Statistics

Online Users
There are currently 1378 online users.
» 0 Member(s) | 1374 Guest(s)
Applebot, Baidu, Bing, Google

Latest Threads
Linux Lite 7.8 RC1 Releas...
Forum: Release Announcements
Last Post: trinidad
1 hour ago
» Replies: 1
» Views: 261
why that change in system...
Forum: Installing Linux Lite
Last Post: Rosika
Yesterday, 04:55 PM
» Replies: 0
» Views: 48
Error when trying to inst...
Forum: Updates
Last Post: stevef
12-27-2025, 09:07 PM
» Replies: 1
» Views: 130
Little icons problem with...
Forum: Installing Linux Lite
Last Post: LostSoul
12-27-2025, 08:52 AM
» Replies: 4
» Views: 444
LL7.6 on Macbook (Mid 200...
Forum: Network
Last Post: oldgaz
12-26-2025, 11:50 PM
» Replies: 7
» Views: 549
No sound on Acer Chromebo...
Forum: Sound
Last Post: blancv02
12-21-2025, 06:47 AM
» Replies: 2
» Views: 7,006
Som
Forum: Sound
Last Post: blancv02
12-21-2025, 06:29 AM
» Replies: 2
» Views: 3,072
Sem som quando reinicia
Forum: Other
Last Post: di0lh0
12-16-2025, 04:29 PM
» Replies: 24
» Views: 3,419
Epson WF-4830 Install
Forum: Printing and Scanning
Last Post: valtam
12-10-2025, 07:21 AM
» Replies: 8
» Views: 1,127
Series to Series Upgrade ...
Forum: Linux Lite Software Development
Last Post: JesseBassett25
12-08-2025, 11:33 PM
» Replies: 7
» Views: 5,991

 
  GUI Updates script
Posted by: valtam - 11-20-2014, 10:36 AM - Forum: Linux Lite Software Development - Replies (52)

Hi folks,

I would like some volunteers to try this update script I have been working on and off for some months now.

This would require you to create this file first so that there is no interruption in the update process:
(source http://raphaelhertzog.com/2010/09/21/deb...d-by-dpkg/)

Code:
sudo leafpad /etc/apt/apt.conf.d/local

Code:
Dpkg::Options {
   "--force-confdef";
   "--force-confold";
}

save and close.

Here is the script:

Code:
leafpad ~/updatestest

copy into the following, then save and close, and make executable:

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

# Kill off any package managers that may be running
sudo killall -9 synaptic
killall -9 gdebi-gtk

# Need a check here to see if any updates are available, if there are none, script pops up dialog box saying 'No Updates Available'


# Erase existing available info
sudo dpkg --clear-avail

# Linux Lite default dialog icon
ic="/usr/share/icons/zenity-llcc.png"

# Get list of available updated packages then populate them to /tmp/updateslist
zenity --question --title="Linux Lite Updates" --window-icon="/usr/share/icons/zenity-llcc.png" --text="We will now fetch the Updates list.\n\nClick Yes to continue or No to abort."
   if [ "$?" -eq "0" ];then

x=$( stdbuf -oL /bin/bash \-c '(sudo apt-get update \-y )' 2>&1 |
stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\*$/ s/^/# /p'|
zenity --progress --title="Updating package information..." --pulsate \
--width=600 --auto-close )

LISTNAMES=$(apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+)\)? /i) {print "Name: $1 INSTALLED: $2 AVAILABLE: $3\n"}' | tee /tmp/updateslist)

else
       exit 0
fi

# Call the zenity dialog to show update list
zenity --text-info --title="List of available Updates - Click OK to continue or Cancel to stop the update process" --width=700 --height=300 --filename="/tmp/updateslist"
   if [ "$?" -eq "0" ];then

# Main window dialogue.
INSTALLER_TITLE="Linux Lite Updates
-----------------------------------------------------------------------------------------------------------

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

When you click on <b>Yes</b>, this window will close and the updates will begin.

-----------------------------------------------------------------------------------------------------------
Click on <b>Yes</b> to continue or <b>No</b> to cancel the updates process."

# Halt updates script if user selects Cancel
else
       exit 0
fi

# Continue script if no halt
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=$( stdbuf -oL /bin/bash \-c '(sudo apt-get upgrade \-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" --window-icon="${INSTALL_ICON}" --text="$APPNAME Updates Complete."
   exit;
else
   zenity --text-info --title="Updates Log" --width=700 --height=300 --filename="/var/log/llupdates.log"
fi

exit 0

Then open terminal and run:

Code:
gksudo ./updatestest

and let me know how you get on.

Thanks Smile

Print this item

  [SOLVED] After switching to the nvidia driver, the xfce setup is messed up
Posted by: gogobebe2 - 11-20-2014, 05:30 AM - Forum: Video Cards - Replies (14)

I recently installed linux lite. I went to change from the nouvea driver to the nvidia legacy updates driver, restarted my pc. I remember being prompted to have default xfce  or something else and I think I clicked ok but can't remember. Then my whole xfce system went from the normal xfce setup that comes when you install linux lite to the default bad looking default xfce that is plain xfce. Does anyone know how I can change this back?
Thanks help is much appreciated.
Smile

This is what it looks like now:
[Image: Screenshot_11202014_06_26_28_PM.jpg]

My system info:
Here is the hardinfo_report.html I generated:
http://pastebin.com/ECSYzqH0

Print this item

  Yahoo to replace Google as default U.S. Firefox search engine
Posted by: valtam - 11-20-2014, 02:48 AM - Forum: Off Topic - Replies (7)

What do you all think of this? http://fortune.com/2014/11/19/yahoo-to-r...ch-engine/

Print this item

  [SOLVED] Nvidia gtx 750 ti
Posted by: t6bill - 11-20-2014, 02:12 AM - Forum: Video Cards - Replies (2)

I would like to upgrade from my onboard graphics and really like the nvidia GTX 750ti cards.  Are drivers, etc., available?  Anyone running one now?  I'm using Linux Lite 2.0 in a home-built system.  Thanks!

Print this item

  I have to reconnect every 5 minutes
Posted by: Amsam - 11-20-2014, 12:31 AM - Forum: Network - Replies (3)

Just installed LinuxLite last night working well except that I have to authenticate and connect every 5 minutes to stay on line...It is very annoying...I hope this is an easy fix..

Print this item

  XFCE User Survey
Posted by: valtam - 11-19-2014, 11:27 PM - Forum: Suggestions and Feedback - Replies (11)

Hi Folks, I've been contacted by Steve from XFCE as they would like to gather user experiences on Xfce's session saving feature and UI, and the XDG Autostart UI.

The 2 surveys can be found here:

Online survey on session saving: http://goo.gl/forms/3oYrPQNDEt

Online task on autostart app UI: http://goo.gl/forms/c7qYcIE0EQ

Please take a moment to fill out the survey. As you guys know, feedback is an essential part of how a project evolves. Thank you Smile

Print this item

  LL Software Update Notification..??
Posted by: Wirezfree - 11-19-2014, 04:24 PM - Forum: On Topic - Replies (4)

Hello More Knowledgeable Folks,

I found this whilst  "Googling", Is something like this feasible in LL.?
I just read the "[glow=green,2,300]Xfce & Update Notification[/glow]"

Software Update Notification

Dave

Print this item

  Swapping Hard Drives from Laptop to Laptop
Posted by: rokytnji - 11-19-2014, 12:21 AM - Forum: On Topic - No Replies

Well, I got itchy. I recieved my Dell E5500 from fedex. A good friend gave it to me.
It had XP on a slow 5400 rpm 120 gig sata hard drive. On my Compaq CQ57. I had installed Linux Lite
on a GPT  Apple SSD drive.  Info on it coming presently.

Only fix I needed for the swap is this dell has broadcom wireless. I followed my own tutorial I posted at LQ last year on dealing with this.
I hooked up to my hard line and followed my instructions here.
http://www.linuxquestions.org/questions/...ess-35655/

Rebooted. Posting wirelessly here now on this

Code:
harry@biker1:~$ inxi -zv7
System:    Host: biker1 Kernel: 3.13.0-24-generic i686 (32 bit gcc: 4.8.2)
          Desktop: Xfce 4.11.6 (Gtk 2.24.23) info: xfce4-panel dm: lightdm Distro: Ubuntu 14.04 trusty
Machine:   System: Dell product: Latitude E5500 Chassis: type: 8
          Mobo: Dell model: 0DW635 Bios: Dell v: A17 date: 09/27/2011
CPU:       Dual core Intel Core2 Duo T7250 (-MCP-) cache: 2048 KB
          flags: (lm nx pae sse sse2 sse3 ssse3 vmx) bmips: 7973
          Clock Speeds: 1: 800 MHz 2: 800 MHz
Memory:    Using dmidecode: you must be root to run dmidecode
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:2a42
          Display Server: X.Org 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: [email protected]
          GLX Renderer: Mesa DRI Mobile Intel GM45 Express x86/MMX/SSE2
          GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
          driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:293e
          Sound: Advanced Linux Sound Architecture v: k3.13.0-24-generic
Network:   Card-1: Broadcom NetXtreme BCM5756ME Gigabit Ethernet PCI Express
          driver: tg3 v: 3.134 bus-ID: 09:00.0 chip-ID: 14e4:1674
          IF: eth1 state: down mac: <filter>
          Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridge bus-ID: 0c:00.0 chip-ID: 14e4:4315
          IF: wlan2 state: up mac: <filter>
          WAN IP: <filter> IF: eth1 ip: N/A ip-v6: N/A
          IF: wlan2 ip: <filter> ip-v6: <filter>
Drives:    HDD Total Size: 121.3GB (34.5% used)
          ID-1: /dev/sda model: APPLE_SSD_SM128 size: 121.3GB serial: DFKU604844ED440
          Optical: /dev/sr0 model: TSST CDRWDVD TS-L463A rev: D400 dev-links: cdrom
          Features: speed: 24x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw state: running
Partition: ID-1: / size: 8.6G used: 4.3G (53%) fs: ext4 dev: /dev/sda1
          label: / uuid: 24580b54-b3d7-418a-96f2-6bbbf1ccccff
          ID-2: /home size: 103G used: 35G (36%) fs: ext3 dev: /dev/sda2
          label: /home uuid: 65f560b2-63b4-41e0-9d4e-4597d237493b
RAID:      System: supported: N/A
          No RAID devices: /proc/mdstat, md_mod kernel module present
          Unused Devices: none
Unmounted: No unmounted partitions detected
Sensors:   System Temperatures: cpu: 40.5C mobo: N/A
          Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 159 Uptime: 22 min Memory: 457.9/1971.9MB
          Init: Upstart v: 1.12.1 runlevel: 2 default: 2 Gcc sys: 4.8.2
          Client: Shell (bash 4.3.111 running in x-terminal-emul) inxi: 2.2.1
harry@biker1:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 32767 x 32767
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
  1280x800       60.0*+   40.0  
  1024x768       60.0  
  800x600        60.3     56.2  
  640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
harry@biker1:~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.327 FPS
299 frames in 5.0 seconds = 59.631 FPS
299 frames in 5.0 seconds = 59.639 FPS
299 frames in 5.0 seconds = 59.624 FPS
299 frames in 5.0 seconds = 59.636 FPS

Like I said and will reiterate now. The only tweak/fix I needed was


sudo apt-get install firmware-b43-installer

After checking at
http://wireless.kernel.org/en/users/Drivers/b43
1st to make sure my chip was in the YES part of the column.







[table][tr][td]14e4:4315 [/td]

[td]yes [/td]

[td]BCM4312 [/td]
[/tr]
[/table]




[table][tr][td][/td]

[td][/td]

[td][/td]
[/tr]
[/table]
Using this to double check
Code:
$ lspci -vnn -d 14e4:
09:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5756ME Gigabit Ethernet PCI Express [14e4:1674]
    Subsystem: Dell Device [1028:0263]
    Flags: bus master, fast devsel, latency 0, IRQ 46
    Memory at f68f0000 (64-bit, non-prefetchable) [size=64K]
    Expansion ROM at <ignored> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: tg3

0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
    Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at f69fc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: b43-pci-bridge

Print this item

  One Wish for Linux Lite 2.2
Posted by: dayooper - 11-18-2014, 05:19 PM - Forum: Suggestions and Feedback - Replies (3)

I only have one wish for the new Linux Lite 2.2 operating system. Would love to see the Ubuntu Software Center added as a new program. The existing Software Additions program and Synaptic program have limitations. Getting the Ubuntu Software Center would be an early Christmas present.

Print this item

  Help! Blue Screen Appears When Booting Up
Posted by: dayooper - 11-18-2014, 04:58 PM - Forum: Start up and Shutdown - Replies (3)

When booting up I'm getting a blue screen which says, "GNU Grub version 2.02~beta2-9". There are 4 options to choose from. At the bottom of screen it states, "Use up or down arrows to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting or 'c' for command line".

I selected the first option and hit "enter". It went to a black screen with a flashing cursor in the upper left corner. Couldn't get off the black screen, so I shutdown. Restarted and ran the two "memtest" options and passed both tests. I did not mess with the advanced option. Would appreciate your help to resolve this problem.

Print this item