SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-06-16 14:34:19

monty_cantsing
Member
Registered: 2010-02-03
Posts: 44

problems since dist-upgrade

hi #!ers
i've recently run a dist-upgrade on my eeepc 1005ha, so i'm now running the latest statler version. most things are working great, but there are two things that aren't. first of all, i'm noticing upower is often times running near or at 100% of memory. i found this at arch https://bbs.archlinux.org/viewtopic.php?id=112238 which says i should go to an earlier version of upower, but how do i find which version i have and how do i install an earlier version?
the other problem i'm having is with the task bar (is that even what it's called?) the bar on the bottom that shows screen 1 and 2 and the clock and open applications. when i first start up everything is fine, but after a little while everything starts moving towards the left until there are basically no icons left. which application handles the taskbar and how can i check for errors?

thanks in advance

Offline

Be excellent to each other!

#2 2011-06-16 16:02:33

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: problems since dist-upgrade

Hi Monty!

to find out the version in the repos/installed:

apt-cache policy upower

to go back to an earlier version (downgrade):
first check if there is actually an earlier version available with

apt-cache showpkg upower

and then - provided there is an earlier version

apt-get install upower=NUMBER_OF_VERSION

NUMBER_OF_VERSION is under "Provides:"


the taskbar is called tint2. please post your tint2 config file so we can check if there is a problem:

cat $HOME/.config/tint2/tint2rc

Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#3 2011-06-17 04:34:42

monty_cantsing
Member
Registered: 2010-02-03
Posts: 44

Re: problems since dist-upgrade

i can never get enough bacon!
thanks for cluing me onto apt-cache. that's a very useful command i had no idea about. apt-cache is telling me my current version of upower is 0.9.11-1, and the only version listed under "provides" is 0.9.11-1, so i guess there's no going back a version sad Any idea what log file i can check or command i can run to check out what might be causing upower's memory hogging?

as far as my tint2rc file, i haven't mucked with it at all so it should be 100% plain vanilla, but i'll add it in this post. thanks again!

output from apt-cache and my tint2rc below


upower:
  Installed: 0.9.11-1
  Candidate: 0.9.11-1
  Version table:
 *** 0.9.11-1 0
        500 http://ftp.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
ape@embassy1:~$ apt-cache showpkg upower
Package: upower
Versions: 
0.9.11-1 (/var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages
                  MD5: bb90bfcb9dd3dd8821e88236bc786c59


Reverse Depends: 
  xfce4-session,upower
  xfce4-power-manager,upower
  kde-plasma-netbook,upower
  kde-plasma-desktop,upower
  kdebase-workspace-bin,upower
  libsolid4,upower
  indicator-session,upower
  gnome-session-bin,upower 0.9.0
  gnome-power-manager,upower
  gdm3,upower
Dependencies: 
0.9.11-1 - libc6 (2 2.3.6-6~) libdbus-1-3 (2 1.0.2) libdbus-glib-1-2 (2 0.88) libglib2.0-0 (2 2.26.0) libgudev-1.0-0 (2 146) libimobiledevice1 (2 0.9.7) libplist1 (2 0.16) libpolkit-gobject-1-0 (2 0.99) libupower-glib1 (2 0.9.2) libusb-1.0-0 (2 2:1.0.8) udev (0 (null)) dbus (0 (null)) pm-utils (0 (null)) policykit-1 (0 (null)) 
Provides: 
0.9.11-1 
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see:
# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/

# Background definitions
# ID 1
rounded = 0
border_width = 1
background_color = #0A0A0A 90
border_color = #121212 90

# ID 2 - task active
rounded = 1
border_width = 0
background_color = #d8d8d8 30
border_color = #d8d8d8 30

# ID 3 - task
rounded = 1
border_width = 0
background_color = #000000 0
border_color = #000000 0

# ID 4
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60

# ID 5 - taskbar
rounded = 0
border_width = 1
background_color = #000000 0
border_color = #000000 0

# ID 6 - active taskbar
rounded = 0
border_width = 1
background_color = #d8d8d8 8
border_color = #d8d8d8 0

# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #222222 90
border_color = #222222 90

# ID 8
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #888888 20

# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_items = TSC
panel_size = 98% 30
panel_margin = 0 0
panel_padding = 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size

# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 1
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = sans 9
taskbar_name_font_color = #d8d8d8 100
taskbar_name_active_font_color = #d8d8d8 100

# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3

# Task Icons
task_icon_asb = 80 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 80 0 0

# Fonts
task_font = sans 06_55 6
task_font_color = #d8d8d8 60
task_active_font_color = #d8d8d8 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0

# Launcher
launcher_padding = 8 4 4
launcher_background_id = 0
launcher_icon_size = 24
# Specify icon theme names with launcher_icon_theme. 
# if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
launcher_icon_theme = gnome-colors-statler
# Each launcher_item_app must be a full path to a .desktop file
launcher_item_app = /usr/share/applications/terminator.desktop
launcher_item_app = /usr/share/applications/xfce4-file-manager.desktop
launcher_item_app = /usr/share/applications/gedit.desktop
launcher_item_app = /usr/share/applications/iceweasel.desktop

# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 24
systray_icon_asb = 100 0 0

# Clock
time1_format = %H:%M:%S
time1_font = sans 8
time2_format = %A %d %B
time2_font = sans 6
clock_font_color = #d8d8d8 100
clock_padding = 4 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal

# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #d8d8d8 100
tooltip_font = sans normal 8.0

# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# Battery
battery = 1
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
battery_hide = 96
bat1_font = Sans 10
bat2_font = Sans 8
battery_font_color = #FFFFFF 100
battery_padding = 2 0
battery_background_id = 0

# End of config

Offline

#4 2011-06-17 05:53:47

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: problems since dist-upgrade

Hello again, friend of bacon:

there are bugreports in upower which point exactly to the problem you have: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606414 even in the previous version(s) .05 and .010

I don't use upower daemon but maybe you can disable it using sudo /etc/init.d/upower stop or sudo /etc/init.d/upowerd stop/

About tint2:
can you first stop tint2 in terminal (killall tint2) and then start tint2 in terminal again and check if there is output? Usually there is nothing special (only things like "Detected Screens: 1" or something like that)
Maybe there is a link between upower and the "battery" part of your tint2rc. Open an editor, navigate to /home/ape/.config/tint2/tint2.rc - put a # in front of each line between # Battery and # End of config so:

# Battery
#battery = 1
#battery_low_status = 20
#battery_low_cmd = notify-send "battery low"
#battery_hide = 96
#bat1_font = Sans 10
#bat2_font = Sans 8
#battery_font_color = #FFFFFF 100
#battery_padding = 2 0
#battery_background_id = 0

# End of config

and save tint2rc. Restart tint2 then.


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#5 2011-06-18 18:17:16

monty_cantsing
Member
Registered: 2010-02-03
Posts: 44

Re: problems since dist-upgrade

okay, i've commented the battery section out of my tint2rc file. i'm going to muck around with killing tint2 and running it from terminal to see if it's outputting anything.
so machinebacon, you don't use upower? is there another option? i'm just going with the default, i'm not even 100% sure what it does, but i imagine it handles suspend functions and such.

in the dependencies section of the apt-cache output, the properties for udev, dbus, pm-utils, and policykit-1 are all null. could this be part of the problem?

udev (0 (null)) dbus (0 (null)) pm-utils (0 (null)) policykit-1 (0 (null))

Offline

#6 2011-06-20 01:16:00

monty_cantsing
Member
Registered: 2010-02-03
Posts: 44

Re: problems since dist-upgrade

so commenting out the battery section from tint2rc hasn't cured the problem. output from tint2 is giving me a steady stream of the following errors
error_handler  4
error_handler 9
error_handler 11

the 9 and 11 errors are by far the most prevelant

i'm also seeing the following rarer errors

tint2 : not icon_swallow
tint2 : xembed error

so next steps, i'm going to google that and we'll see how we go.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo