[SOLVED] KDE - required packages to enable gui 'sleep'

For help or questions about 64-bit version of MEPIS, this is the forum to use.
Message
Author
Penguin Skinner
Forum Novice
Forum  Novice
Posts: 10
Joined: Fri Jun 29, 2012 1:10 pm

[SOLVED] KDE - required packages to enable gui 'sleep'

#1 Postby Penguin Skinner » Fri Jun 29, 2012 1:30 pm

Apologies if I'm not adhering to forum protocol(s) regarding old/new/related threads, or other nuances of these boards.

Regarding:

viewtopic.php?f=8&t=31936

I've run Debian for 7 years, and installed the Mepis KDE packages over squeeze/stable a few months ago on two different boxes, both AMD 64 bit machines (fwiw also ran Stevo's Liquorix kernel backport, thanks to Stevo and the community for a very nice effort.) Anyway I'm wondering if there's some package I'm missing in order to use suspend to ram from the KDE gui 'sleep' button (in the main menu 'Leave' section.) Have pm-utils installed, acpid (needless, I assume) ... sleep ('pm-suspend') works fine as root from cli.

I found the above-mentioned thread from a forum search, installed upower, but still no functionality to KDE's gui sleep button. Any suggestions?

Thank you all for your time.
Last edited by Penguin Skinner on Sat Jun 30, 2012 3:51 pm, edited 1 time in total.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 14944
Joined: Wed Jul 19, 2006 6:13 am

Re: KDE - required packages to enable gui 'sleep' functional

#2 Postby Jerry3904 » Fri Jun 29, 2012 1:36 pm

That's weird: it works OOTB with the current stable release on my (32 bit) system, and no one else has mentioned having a problem AFAIK.
Production: 4.2.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
DBeckett
Forum Veteran
Forum Veteran
Posts: 3064
Joined: Sat May 16, 2009 3:59 pm

Re: KDE - required packages to enable gui 'sleep' functional

#3 Postby DBeckett » Fri Jun 29, 2012 1:59 pm

Yes, that's weird.

Since it can be suspended from a root CLI, I would suspect some permissions, or a configuration file somewhere.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 10966
Age: 57
Joined: Fri Dec 15, 2006 8:07 pm

Re: KDE - required packages to enable gui 'sleep' functional

#4 Postby Stevo » Sat Jun 30, 2012 2:18 pm

I'm pretty sure the stock M11 KDE 4.5.3 needs "hal" in order to suspend correctly. The 4.6.5 and 4.7.4 in the community repo have a hard depends on upower (the fact that you installed it separately would indicate that you have 4.5.3)

However, that it works as root also just makes it seem a permission problem, something that Warren tweaked over a stock Debian installation.
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

User avatar
DBeckett
Forum Veteran
Forum Veteran
Posts: 3064
Joined: Sat May 16, 2009 3:59 pm

Re: KDE - required packages to enable gui 'sleep' functional

#5 Postby DBeckett » Sat Jun 30, 2012 2:43 pm

Stevo wrote:However, that it works as root also just makes it seem a permission problem, something that Warren tweaked over a stock Debian installation.

Yeah but......

Suspend-to-RAM in pure Squeeze always worked with no special tweaking. Just sayin'.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570

User avatar
richb
Administrator
Posts: 12927
Age: 71
Joined: Wed Jul 12, 2006 2:17 pm

Re: KDE - required packages to enable gui 'sleep' functional

#6 Postby richb » Sat Jun 30, 2012 3:40 pm

Same as Jerry, M11 32 bit suspend to ram worked out of the box on my system.
Forum Rules
Guide - How to Ask for Help

Rich

Laptop: Acer V5-572G: Intel i5, 12 GIG mem, Intel graphics, SanDisk SSD, 256GB
Virtualbox: Win 7
Desktop: MX-15- 64, AMD A8 7600 FM2+ CPU R7 Graphics, fglrx driver, 16 GIG Mem. Samsung EVO SSD 250 GB

Penguin Skinner
Forum Novice
Forum  Novice
Posts: 10
Joined: Fri Jun 29, 2012 1:10 pm

Re: KDE - required packages to enable gui 'sleep' functional

#7 Postby Penguin Skinner » Sat Jun 30, 2012 3:50 pm

Stevo wrote:I'm pretty sure the stock M11 KDE 4.5.3 needs "hal" in order to suspend correctly. The 4.6.5 and 4.7.4 in the community repo have a hard depends on upower (the fact that you installed it separately would indicate that you have 4.5.3)

However, that it works as root also just makes it seem a permission problem, something that Warren tweaked over a stock Debian installation.

Yes, what I have installed is KDE 4.5.3, however hal is installed as well; not a depend of anything, but for some reason needed to avoid getting a bunch of 'org.freedesktop.DBus.Error.ServiceUnknown' errors filling up the console.

After examining dependencies/recommends, I thought it could be due to my not having the various polkit packages and libraries installed, which would be the way I might expect the seeming permissions problem to be handled, but installing those packages had no effect.

Meantime, out of curiosity as much as anything, I compiled a simple C program as a wrapper/launcher to use pm-suspend as a normal user (as often is the case, setuid root on the /usr/lib/pm-utils/bin/pm-action script and pm-suspend symlink doesn't work.) So I can certainly incorporate sleep functionality into the desktop now with a simple launcher or link on the desktop. This has the added advantage that I can also do the same with the lightweight openbox desktop I often run instead of KDE.

With the pre-release freeze for Debian testing set for today (interesting coincidence) I'm not much inclined to upgrade from the Mepis community repos just to address this nominal little problem, which I trust it probably would. But I also trust the freeze means a new Mepis release in the months ahead :) so I'll just plan on doing a normal install when it becomes available. As you all probably know, diehard Debian luddites like myself are usually not easily swayed towards other distros, even close Debian derivatives, but I have to admit that the Mepis project has really impressed me -- not only Warren's efforts but all of you in the community.

Many thanks to all who replied, and hope it's OK if I hang around here a bit. I'm marking this thread "SOLVED" as it's almost certainly an issue caused by my non-standard installation of Mepis packages.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 5354
Age: 2015
Joined: Sat Nov 11, 2006 10:42 pm

Re: KDE - required packages to enable gui 'sleep' functional

#8 Postby uncle mark » Sat Jun 30, 2012 4:48 pm

Penguin Skinner wrote:...diehard Debian luddites like myself are usually not easily swayed towards other distros, even close Debian derivatives, but I have to admit that the Mepis project has really impressed me -- not only Warren's efforts but all of you in the community.

Many thanks to all who replied, and hope it's OK if I hang around here a bit. I'm marking this thread "SOLVED" as it's almost certainly an issue caused by my non-standard installation of Mepis packages.


Please do stick around. You sound like one of "us". It also sounds like you've got some experience and expertise. We can always use that. Us wannabes need all the help we can get.
Desktop: Custom build Asus/AMD/nVidia -- MX-15 KDE, MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12225
Age: 70
Joined: Wed Jul 12, 2006 5:54 am

Re: [SOLVED] KDE - required packages to enable gui 'sleep'

#9 Postby lucky9 » Sun Jul 01, 2012 9:43 am

We like to keep the keepers. Welcome to the forum.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

Penguin Skinner
Forum Novice
Forum  Novice
Posts: 10
Joined: Fri Jun 29, 2012 1:10 pm

Re: [SOLVED] KDE - required packages to enable gui 'sleep'

#10 Postby Penguin Skinner » Sun Jul 01, 2012 12:46 pm

Thanks for the welcome, everyone! I'm here to learn, always have a lot more questions than I have answers, but if I can contribute I'll certainly try.

My sense is Mepis has found sort of a 'sweet spot' between the rigidness and limitations of Debian (which is a good thing, and makes Debian the dependable foundation it is for so many other distros) and the increasingly proprietary and incompatible projects like Ubuntu. Debian sometimes can be just a little too much work; distros like Ubuntu, on the other hand, are difficult to work with, IMO, if you want to change something beyond their concept of what everybody needs.

Nice community here, too. Looks like everyone's here to help and discuss Linux, rather than write manifestos ;) or get into angry debates.


Return to “64-bit Regulars”

Who is online

Users browsing this forum: No registered users and 1 guest