You are not logged in.
Ok, thank you. It seems to be an old issue, strange that I did not see those error messages before today. But the issue has been closed, is there then a bug report for that ?
I haven't seen one. Since this has been going on for a long time, I should probably create one on the Arch Bugtracker.
I'll do this later. I need to actually do some study for today.
If someone beats me to the punch, report it against PAM, not cinnamon-screensaver, quoting the Cinnamon Screensaver github link.
Last edited by clfarron4 (2014-04-19 14:29:55)
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
keyboard applet shows, you just need to re-add layouts
Offline
Looks like the Xorg using 50% CPU under lock screen issues is kinda fixed, although the pull request to the upstream is still open.
However, comparing to gnome 3.12, cinnamon is till using more CPU resources in idle, but I am not sure if it is possible to fix.
Offline
@gadelat You're right, the keyboard layouts disappeared, that's why I did not see the applet anymore.
Offline
cris9288 wrote:Azrael85 wrote:Cinnamon-settings-daemon, cinnamon-control-center and cinnamon-screensaver have just been updated, but the problems with the power applet are still there.
I thought that this was a problem with upower?
The upower bug was just closed as "not a bug". So could somebody who has a bit more technical knowledge than me (hi clfarron4! ) please file an Arch bug against the proper Cinnamon package? Apparently somebody will have to dive into the Cinnamon power manager code to make it work with the new upower. With the latest updates, not only the Cinnamon power manager applet doesn't work, but now the entire Power section of the Cinnamon Settings Manager fails to open, so no configuring screensaver or DPMS times anymore.
Last edited by sb56637 (2014-04-21 13:18:16)
Offline
OK, so I've put in a bug report against the cinnamon package, specifying which files I think are causing the problem: https://bugs.archlinux.org/task/39989
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Very nice clfarron4! Perfect bug report. Thanks very much.
Offline
If you really need the power applet you could try this hack that disables use of the functions in that were removed from upower ( checks are now done by logind alone )
In cinnamon-control-center/src/cinnamon-control-center-2.2.3/panels/power/cc-power-panel.c
fine the line /* disable any actions we cannot do */ in the block below add ;// before || in the two lines in the block after that
so the block of code should end up as below
/* disable any actions we cannot do */
do
{
gtk_tree_model_get (model, &iter,
ACTION_MODEL_VALUE, &value_tmp,
-1);
switch (value_tmp) {
case CSD_POWER_ACTION_SUSPEND:
enabled = cc_login1("CanSuspend");// || up_client_get_can_suspend (self->priv->up_client);
break;
case CSD_POWER_ACTION_HIBERNATE:
enabled = cc_login1("CanHibernate");// || up_client_get_can_hibernate (self->priv->up_client);
break;
default:
enabled = TRUE;
}
gtk_list_store_set (GTK_LIST_STORE (model), &iter,
ACTION_MODEL_SENSITIVE, enabled,
-1);
} while (gtk_tree_model_iter_next (model, &iter));
then makepkg -e to have makepkg build the changed sources otherwise it will unpack the downloaded sources overwriting the change
edit for cleaner change
Last edited by loqs (2014-04-21 20:50:56)
Offline
Actually the keyboard stuff is still bug-ridden. I’m using the Neo keyboard layout[1] which remaps Caps lock to Mod3 — and that’s not working any more. I did not yet have any time to pay a close look to this but wanted to drop it here just get it noted (if any other Neo user is looking for this).
Offline
Is this why cinnamon wasn't working when I tried installing it? Or has it been fixed already? When I tried it earlier it just crashed.
Offline
Is this why cinnamon wasn't working when I tried installing it? Or has it been fixed already? When I tried it earlier it just crashed.
Could you be more specific about what exactly is crashing? Do not know if the issues with mdm and cinnamon mentioned previosily in this thread remain. That is only major crash I can think of with the current packages. Remaining issues for me would power panel of control panel causes control centre crash see previous patch. Graphical issues: missing icons for keyboard and power applets. Very minor issue: date time settings incorrectly shows ntp is not in use compared with timedatectrl / ntp.service.
Offline
Lukus wrote:Is this why cinnamon wasn't working when I tried installing it? Or has it been fixed already? When I tried it earlier it just crashed.
Could you be more specific about what exactly is crashing? Do not know if the issues with mdm and cinnamon mentioned previosily in this thread remain. That is only major crash I can think of with the current packages. Remaining issues for me would power panel of control panel causes control centre crash see previous patch. Graphical issues: missing icons for keyboard and power applets. Very minor issue: date time settings incorrectly shows ntp is not in use compared with timedatectrl / ntp.service.
I would be more specific but I do not have the exact crash text. I moved on to gnome, although I would have preferred to use cinnamon.
Offline
OK, so I've put in a bug report against the cinnamon package, specifying which files I think are causing the problem: https://bugs.archlinux.org/task/39989
Unfortunately this bug was closed and labeled as an "upstream" bug. I personally don't agree that it's upstream, because Linux Mint doesn't necessarily use upower 0.99 and therefore are not going to care too much about supporting Arch's upower version. I think if the power applet for the Cinnamon tray is ever going to get fixed it would have to be done by Arch devs.
Last edited by sb56637 (2014-04-29 12:54:54)
Offline
clfarron4 wrote:OK, so I've put in a bug report against the cinnamon package, specifying which files I think are causing the problem: https://bugs.archlinux.org/task/39989
Unfortunately this bug was closed and labeled as an "upstream" bug. I personally don't agree that it's upstream, because Linux Mint doesn't necessarily use upower 0.99 and therefore are not going to care too much about supporting Arch's upower version. I think if the power applet for the Cinnamon tray is ever going to get fixed it would have to be done by Arch devs.
This fixes the power panel of cinnamon-settings for me (was crashing without patch ) but I get no icon for power with or without the patch. Patch should work upstream but not tested.
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index fb8e1b4..43bd2f4 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -934,10 +934,18 @@ disable_unavailable_combo_items (CcPowerPanel *self,
-1);
switch (value_tmp) {
case CSD_POWER_ACTION_SUSPEND:
+#if ! UP_CHECK_VERSION(0,99,0)
enabled = cc_login1("CanSuspend") || up_client_get_can_suspend (self->priv->up_client);
+#else
+ enabled = cc_login1("CanSuspend");
+#endif
break;
case CSD_POWER_ACTION_HIBERNATE:
+#if ! UP_CHECK_VERSION(0,99,0)
enabled = cc_login1("CanHibernate") || up_client_get_can_hibernate (self->priv->up_client);
+#else
+ enabled = cc_login1("CanSuspend");
+#endif
break;
default:
enabled = TRUE;
Issues with date & time panel and it not using timedated as upstream is not systemd yet are more troublesome have patch for that that works for arch though.
Still missing applet icons for me are keyboard and power.
Last edited by loqs (2014-04-29 15:30:51)
Offline
This fixes the power panel of cinnamon-settings for me (was crashing without patch ) but I get no icon for power with or without the patch. Patch should work upstream but not tested.
[...]
Issues with date & time panel and it not using timedated as upstream is not systemd yet are more troublesome have patch for that that works for arch though.
Still missing applet icons for me are keyboard and power.
I can also confirm that the patch fixes the Power settings in the Cinnamon control center but not the power applet in the panel.
I don't understand the comment in the Github page that says the power applet.js was "Moved power applet to settings API" about 19 days ago. Does this have anything to do with the applet still not working with the new power backend?
Offline
clfarron4 wrote:OK, so I've put in a bug report against the cinnamon package, specifying which files I think are causing the problem: https://bugs.archlinux.org/task/39989
Unfortunately this bug was closed and labeled as an "upstream" bug. I personally don't agree that it's upstream, because Linux Mint doesn't necessarily use upower 0.99 and therefore are not going to care too much about supporting Arch's upower version. I think if the power applet for the Cinnamon tray is ever going to get fixed it would have to be done by Arch devs.
Yeah, I requested it to be closed because the users at Fedora are having this problem as well, so it's an upstream bug.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
sb56637 wrote:clfarron4 wrote:OK, so I've put in a bug report against the cinnamon package, specifying which files I think are causing the problem: https://bugs.archlinux.org/task/39989
Unfortunately this bug was closed and labeled as an "upstream" bug. I personally don't agree that it's upstream, because Linux Mint doesn't necessarily use upower 0.99 and therefore are not going to care too much about supporting Arch's upower version. I think if the power applet for the Cinnamon tray is ever going to get fixed it would have to be done by Arch devs.
Yeah, I requested it to be closed because the users at Fedora are having this problem as well, so it's an upstream bug.
But wouldn't the patching for upower 0.99 depend on each specific distro? Or is Mint planning on doing it?
Offline
in /usr/share/cinnamon/applets/power@cinnamon.org/applet.js it takes the else path in _devicesChanged which might explain the missing icon but js is not my language
_devicesChanged: function() {
this._proxy.GetRemote('Icon', Lang.bind(this, function(icon, error) {
if (icon) {
this.set_applet_icon_symbolic_name('battery-missing');
let gicon = Gio.icon_new_for_string(icon);
this._applet_icon.gicon = gicon;
this.actor.show();
} else {
this.menu.close();
this.actor.hide();
}
in /usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js seems to hide if only one language again js not my language
_syncConfig: function() {
let groups = this._config.get_group_names();
if (groups.length > 1) {
this.actor.show();
} else {
this.menu.close();
this.actor.hide();
}
clfarron4 could you upstream the previous patch as it is still needed as I really do not want to create a github account just for that. As for the timedate panel patches if its only an issue for me I will just keep patching it locally.
edit to add links to other patches in case anyone wants them.
Cinnamon control centre timedate patch Cinnamon settings daemon timedate dead code removal patch
Last edited by loqs (2014-04-29 17:19:59)
Offline
This fixes the power panel of cinnamon-settings for me (was crashing without patch ) but I get no icon for power with or without the patch. Patch should work upstream but not tested.
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c index fb8e1b4..43bd2f4 100644 --- a/panels/power/cc-power-panel.c +++ b/panels/power/cc-power-panel.c @@ -934,10 +934,18 @@ disable_unavailable_combo_items (CcPowerPanel *self, -1); switch (value_tmp) { case CSD_POWER_ACTION_SUSPEND: +#if ! UP_CHECK_VERSION(0,99,0) enabled = cc_login1("CanSuspend") || up_client_get_can_suspend (self->priv->up_client); +#else + enabled = cc_login1("CanSuspend"); +#endif break; case CSD_POWER_ACTION_HIBERNATE: +#if ! UP_CHECK_VERSION(0,99,0) enabled = cc_login1("CanHibernate") || up_client_get_can_hibernate (self->priv->up_client); +#else + enabled = cc_login1("CanSuspend"); +#endif break; default: enabled = TRUE;
Issues with date & time panel and it not using timedated as upstream is not systemd yet are more troublesome have patch for that that works for arch though.
Still missing applet icons for me are keyboard and power.
Could you remind me in about 24 hours time please? I'm a little busy now (just checking for dead urgent stuff right now).
Last edited by clfarron4 (2014-04-29 19:57:05)
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Hello everyone,
I managed to reimplement Cinnamon Power Applet to work with upower-0.99. It's available on my GitHub: https://github.com/robin92/cinnamon-power-applet. Hope it will work :-)
Offline
Hello everyone,
I managed to reimplement Cinnamon Power Applet to work with upower-0.99. It's available on my GitHub: https://github.com/robin92/cinnamon-power-applet. Hope it will work :-)
Thanks very much for your hard work on this! Works great for me.
Now, what can be done about the Cinnamon control center "Power" settings, which currently will not open?
Offline
Now, what can be done about the Cinnamon control center "Power" settings, which currently will not open?
It generally doesn't open or only from applet? If you can't open it at all maybe try running
cinnamon-settings
from terminal and look for some information about what's going on.
Offline
Loading Power module
/usr/bin/python2: symbol lookup error: /usr/lib/cinnamon-control-center-1/panels/libpower.so: undefined symbol: up_client_get_can_hibernate
So the Control Center 2.2.3-3 is still using the old up_client_get_can_hibernate. This can be fixed by using the 0.99 version check IF/ELSE.
Offline
Loading Power module /usr/bin/python2: symbol lookup error: /usr/lib/cinnamon-control-center-1/panels/libpower.so: undefined symbol: up_client_get_can_hibernate
So the Control Center 2.2.3-3 is still using the old up_client_get_can_hibernate. This can be fixed by using the 0.99 version check IF/ELSE.
Frankly speaking, no such an issue here on
cinnamon 2.2.3-3
cinnamon-control-center 2.2.3-3
cinnamon-desktop 2.2.0-1
cinnamon-menus 2.2.0-1
cinnamon-screensaver 2.2.0-2
cinnamon-session 2.2.0-2
cinnamon-settings-daemon 2.2.1-3
cinnamon-translations 2.2.0-1
upower 0.99.0-2
Offline
It's not that I'm bashing someone, but it's not the first time things are pushed without being even a bit tested. This version is seriously messed up, themes are not displayed properly, same with applets (when they work), the settings window is sometimes not displayed. And I don't see any updates coming.
Offline