LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2019, 06:42 PM   #31
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26

im having problem with power-manager when i click on icon inside painel control.

https://i.postimg.cc/C5kgtNHL/Captur...1-22-40-52.png

Code:
eric@slackware ~ cinnamon-settings
True
Using pam module (python3-pampy)
Loading Power module
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 564, in button_press
    self.side_view_nav(widget, None, category)
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 118, in side_view_nav
    self.go_to_sidepage(cat, filtered_path, user_action=True)
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 133, in go_to_sidepage
    sidePage.build()
  File "/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py", line 123, in build
    self.module.on_module_selected()
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py", line 186, in on_module_selected
    self.build_battery_page()
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py", line 291, in build_battery_page
    primary_settings.add_row(self.set_device_battery_primary(device))
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py", line 385, in set_device_battery_primary
    widget = self.create_battery_row(device_id, "battery", desc, percentage, battery_level, details)
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py", line 474, in create_battery_row
    if battery_level == UPowerGlib.DeviceLevel.NONE:
  File "/usr/lib64/python3.6/site-packages/gi/module.py", line 132, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.UPowerGlib' object has no attribute 'DeviceLevel'
 
Old 01-02-2019, 11:24 AM   #32
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
works fine here, i just tested on my clean VM

see this screenshot: https://imgur.com/a/L8CPiln
 
1 members found this post helpful.
Old 01-02-2019, 12:12 PM   #33
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
Quote:
Originally Posted by willysr View Post
works fine here, i just tested on my clean VM

see this screenshot: https://imgur.com/a/L8CPiln
Thanks for replay, i will rebuild and see what happens.
 
Old 01-20-2019, 05:03 PM   #34
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I just installed this yesterday ( sat 19 2019) from source using the sh script, and is this normaL???
Code:
lo          232b   232b
wlan0     22.7Mb  691Kb     CPU%  MEM%   PID USER        NI S Command 
                           164.0   3.6  1516 userx        0 R cinnamon
FILE SYS    Used  Total    154.0   6.6 15619 userx        0 S mpv --player-opera
/ (root)   17.7G  34.3G     13.9   5.2  1163 root         0 R /usr/libexec/Xorg
/home       836M  27.4G     10.4   7.6 20917 userx        0 S qbittorrent
_ia/data1  23.0G   358G      6.2   0.4 20453 userx        0 R /usr/bin/python /u
_ia/ntfs1  67.6M   102G      4.4   0.0   604 root         0 S irq/48-iwlwifi
_External  1.07T  2.73T      3.5   5.2  8004 userx        0 S firefox
_erx/ntfs  44.5G   699G      2.9   5.4  8071 userx        0 S /usr/lib64/firefox
_x/sdCard   274M  14.5G      2.3   0.1  1598 root         0 S /sbin/mount.ntfs /
                             0.9   0.3  1383 userx        0 S /usr/bin/pulseaudi
SENSORS                      0.9   0.4  1646 userx        0 S gkrellm
Package id 0        84C      0.3   0.0   748 root       -20 I kworker/u17:2-rb_a
Core 0              84C      0.3   1.8  8152 userx        0 S /usr/lib64/firefox
Core 1              80C      0.3   0.1   998 root         0 S /sbin/haveged -w 1

Last edited by BW-userx; 01-20-2019 at 05:04 PM.
 
Old 01-20-2019, 08:51 PM   #35
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
can you try to kill mpv and see whether cinnamon memory usage decreased as well or not?
 
Old 01-20-2019, 09:01 PM   #36
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by willysr View Post
can you try to kill mpv and see whether cinnamon memory usage decreased as well or not?
its gone away sense, I've rebooted.


though what do you want reporeted, because there is a applet that is screwed up , it is the power manager one that is suppose to show the battery usage persent(?) and it is controling the brighteness of the screen and the settings are not working, all of the options to show different information are not showing any of them on the panle, just the light bulb and slider to change brighteness.
 
Old 01-20-2019, 10:12 PM   #37
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
it would be better to report it upstream so they know what's not working and you can provide better diagnostic report for them to debug
 
Old 01-21-2019, 07:42 AM   #38
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
thanks for letting me know where to go... just to be clear, github ticket on it?
 
Old 01-21-2019, 04:07 PM   #39
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Yes
 
Old 02-07-2019, 10:48 PM   #40
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I have succeeded at getting Cinnamon 4 working on 14.2. Here is my minimal list of packages that need to be upgraded using the SlackBuilds from the -current source tree:
  1. python3
  2. python-setuptools
  3. meson
  4. ninja
  5. vala
  6. mozjs52
  7. freetype
  8. fontconfig
  9. harfbuzz
  10. atk
  11. glib2
  12. libepoxy
  13. cairo
  14. pango
  15. gtk+3
  16. polkit
  17. libwacom
  18. json-glib
  19. pygobject
  20. pygobject3
  21. dbus-python
  22. python-pillow
I built these and then Cinnamon from Willy's master branch. Likely some things in 14.2 will also need to be rebuilt due to these upgrades. Therefore, I do not recommend that anyone do this unless you are willing to work through those issues. But, it does work, so far quite well. If you are interested in trying, PM me and I will pass along my notes.

Last edited by montagdude; 02-07-2019 at 10:49 PM.
 
1 members found this post helpful.
Old 02-08-2019, 05:41 AM   #41
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Nice, thanks for testing it
 
Old 02-08-2019, 09:48 AM   #42
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by willysr View Post
Nice, thanks for testing it
Thanks for your SlackBuilds! I wanted to try something new, and I've always been a fan of Cinnamon, so it fits the bill nicely. The only problem I'm having is the same one Candelabrus reported above, but since you said it works on -current I'm pretty sure there's some incompatibility with 14.2, either something else to upgrade or patch. I will investigate.
 
Old 02-08-2019, 09:56 AM   #43
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I know Cinnamon is Cinnamon and not part of Slackware, but Cinnamon. With that said. I'd like to know who is the JackAss that removed the capability of switching desktops off of the root window just by the ease of moving the mouse wheel up or down wherever the pointer (cursor) is at on the root window?

Now the hands must relocate themselves to the keyboard for a three finger configuration to get it to move to a different desktop. Douglas Engelbart had a great idea, and it took off like wild fire, now everyone is using them. Then the makers of Cinnamon came along and what, hit there heads and forgot all about this invention that a larger population of computer users use?

Last edited by BW-userx; 02-08-2019 at 09:58 AM.
 
1 members found this post helpful.
Old 02-08-2019, 04:43 PM   #44
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by willysr View Post
works fine here, i just tested on my clean VM

see this screenshot: https://imgur.com/a/L8CPiln
Hey Willy, I think this error will only occur if you have a battery. I just took the battery out of my laptop and now the power management control panel appears. It looks like it fails with a battery because Slackware's version of upower does not have the DeviceLevel enum. I will try upgrading to the latest upower later tonight and see if it fixes the issue.

Edit: yup, upgrading to upower-0.99.7 fixes the issue.

Last edited by montagdude; 02-08-2019 at 05:45 PM.
 
Old 02-08-2019, 09:32 PM   #45
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Another thing that I didn't notice at first: with upower-0.9.23 (the version in -current), the power management applet on the panel also does not display anything about the battery. This is fixed after upgrading upower to 0.99.7 and rebuilding. So I'm not sure what the solution is for CSB - whether you want to include upower-0.99.7 as a rebuild or push for Pat to upgrade it in -current.
 
  


Reply

Tags
cinnamon, csb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Mint 17 (Cinnamon) versus Linux Mint 17-1 (Cinnamon) Tikiman Linux - General 2 05-15-2015 02:54 PM
[SOLVED] How to get new widget themes to use on Cinnamon? (NOT Cinnamon nor Metacity themes!) jdackle Linux - Desktop 4 12-05-2014 09:39 AM
LXer: Try the New Makulu Cinnamon Debian Edition – Gaming-Ready, Cinnamon at Its Peak LXer Syndicated Linux News 0 10-28-2014 09:02 PM
LXer: Cinnamon 1.6 Will Bring Cinnamon 2D LXer Syndicated Linux News 0 09-05-2012 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration