You are not logged in.

#176 2014-05-14 13:48:06

Reason
Member
From: TN, USA
Registered: 2012-06-25
Posts: 7

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Can anyone confirm that the power module is still causing issues? Still crashing with same error. Checked for updates five minutes ago.

Offline

#177 2014-05-14 14:17:57

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,550
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

I still get crashing with the same error messages mentioned when trying to configure power settings from the settings panel.

(But it seems the "Fade" desktop effect is working now!)


Matt

"It is very difficult to educate the educated."

Offline

#178 2014-05-14 15:28:43

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Same error here patch from page 6 still works for me.

Offline

#179 2014-05-14 22:28:26

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Well that's weird, the Power settings are crashing again for me. Was working before....
EDIT: I'm almost sure that the power@cinnamon.org applet is somehow breaking the Power module in the control center. After removing it from the panel I added this one:
https://github.com/robin92/cinnamon-pow … og.pisz.pl
....I then logged out and back in, and the control center Power module works again.

Last edited by sb56637 (2014-05-15 04:56:52)

Offline

#180 2014-05-15 10:14:28

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

sb56637 wrote:

EDIT: I'm almost sure that the power@cinnamon.org applet is somehow breaking the Power module in the control center.

To me its more the case that robin92s applet stops the crash rather than the default power applet causing it as with no power applet at all it still crashes for me.

Offline

#181 2014-05-15 15:49:31

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

loqs wrote:
sb56637 wrote:

EDIT: I'm almost sure that the power@cinnamon.org applet is somehow breaking the Power module in the control center.

To me its more the case that robin92s applet stops the crash rather than the default power applet causing it as with no power applet at all it still crashes for me.

I see. OK, here's the bug report:
https://bugs.archlinux.org/task/40378

Offline

#182 2014-05-15 16:24:49

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Seems the bug report was closed as a duplicate of https://bugs.archlinux.org/task/40193 which was closed as it referenced a commit in the upstream git repository that had already been applied in the version in arch.
edit:
Tried to reopen the original bug report that is was merged with as follows, sadly it seems the reopen form ignores newlines.  It should have read as follows:

$ cinnamon-settings power
Python module
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

This causes cinnamon-settings to exit and no panel is displayed.

$ pacman -Qi cinnamon-control-center
Name           : cinnamon-control-center
Version        : 2.2.7-1
Description    : The Control Center for Cinnamon
Architecture   : x86_64
URL            : https://github.com/linuxmint/cinnamon-control-center
Licences       : GPL
Groups         : None
Provides       : None
Depends On     : cinnamon-settings-daemon  cinnamon-translations
                 cinnamon-menus  libgnomekbd  network-manager-applet
Optional Deps  : gnome-color-manager: for color management tasks [installed]
Required By    : cinnamon
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 6034.00 KiB
Packager       : Balló György <ballogyor+arch@gmail.com>
Build Date     : Mon 12 May 2014 01:24:05 UTC
Install Date   : Thu 15 May 2014 06:50:01 UTC
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

patch to fix
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;

Last edited by loqs (2014-05-15 17:00:33)

Offline

#183 2014-05-15 16:48:20

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

loqs wrote:

Seems the bug report was closed as a duplicate of https://bugs.archlinux.org/task/40193 which was closed as it referenced a commit in the upstream git repository that had already been applied in the version in arch.

Yes, I requested re-opening. Why would a bug get marked as a duplicate of a closed bug?

Offline

#184 2014-05-15 17:22:14

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,794

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Because it's a duplicate. It doesn't matter if it's closed or not, duplicates are duplicates.

Offline

#185 2014-05-15 17:31:52

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

@Scimmia was I right to request reopening of the original bug then?  The reopen request lost its formatting as I did not know it would ignore newlines when pasting a lot of information into the reopen request to try and avoid it just being closed again.  It should read as in https://bbs.archlinux.org/viewtopic.php … 1#p1415831

Offline

#186 2014-05-15 17:47:23

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,794

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Yep, if the same bug is back, reopening the original report is the correct course of action. I reopened it and the formatting appears correctly in the comments, so you're good to go.

Offline

#187 2014-05-15 17:50:16

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

@Scimmia Thank You smile

Offline

#188 2014-05-15 18:02:30

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Scimmia wrote:

Yep, if the same bug is back, reopening the original report is the correct course of action.

Thanks for clarifying, sorry I didn't know that.

I would say that this isn't exactly the same bug. The patch in FS#40193 was supposedly implemented, but it looks like it missed a few remaining calls to the old upower API.

Offline

#189 2014-05-15 20:33:08

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,794

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

If it's not the same bug, then I made a mistake in closing it. It happens.

It sure appears to be the same, same error and same symptoms.

Offline

#190 2014-05-16 05:10:12

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Scimmia wrote:

It sure appears to be the same, same error and same symptoms.

Very true, the symptoms are the same. Basically, it looks like the original patch that prompted the opening of FS#40193 was applied, but the patch didn't fix everything.

So, for those following the bug in Power settings in the Cinnamon control center, this is the one that's being worked on:
https://bugs.archlinux.org/task/40193

Offline

#191 2014-05-19 12:36:52

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

If anyone is staring at Cinnamon Settings wondering where the "Language" settings are, it was discussed here.

The solution is to build and install mintlocale from the AUR (thanks to loqs for the PKGBUILD).

If you want pre-built packages, I'm hosting the package and the signature here.

NOTE: To use the signature, you'll have to add my GPG key for package signing.

Known Issues: You can't add/remove languages because it relies on an apt_get module. I'll look into this later this week.

Last edited by clfarron4 (2014-05-19 12:57:13)


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

#192 2014-05-19 16:46:38

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

clfarron4 wrote:

Known Issues: You can't add/remove languages because it relies on an apt_get module. I'll look into this later this week.

patch to keep the buttons hidden if no apt_pkg ( the second button system language included as I have no "set-default-locale" )

diff --git a/mintlocale-1.1/usr/lib/linuxmint/mintLocale/mintLocale.py b/mintlocale-1.1.patched/usr/lib/linuxmint/mintLocale/mintLocale.py
index 990e39b..89267b5 100755
--- a/mintlocale-1.1/usr/lib/linuxmint/mintLocale/mintLocale.py
+++ b/mintlocale-1.1.patched/usr/lib/linuxmint/mintLocale/mintLocale.py
@@ -89,6 +89,11 @@ class MintLocale:
         self.accountService.connect('notify::is-loaded', self.accountservice_ready)
         self.accountService.connect('changed::', self.accountservice_changed)
 
+        try:
+            import apt_pkg
+        except ImportError:
+            return
+
         groups = grp.getgrall()
         for group in groups:
             (name, pw, gid, mem) = group

I did not see the buttons as my normal user is not a member of adm or sudo groups

Offline

#193 2014-05-19 21:16:12

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

loqs wrote:
clfarron4 wrote:

Known Issues: You can't add/remove languages because it relies on an apt_get module. I'll look into this later this week.

patch to keep the buttons hidden if no apt_pkg ( the second button system language included as I have no "set-default-locale" )
[snip]
I did not see the buttons as my normal user is not a member of adm or sudo groups

The patch does what is intended here. I noted that in the patch file itself and updated the packages.


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

#194 2014-05-20 14:52:23

loqs
Member
Registered: 2014-03-06
Posts: 613

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Patch for the power panel was not accepted by mint sad https://github.com/linuxmint/cinnamon-c … /issues/65

Offline

#195 2014-05-28 08:12:25

scionix
Member
Registered: 2014-05-12
Posts: 11

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Hi, I'm a complete arch novice and came across this thread when searching for an answer to my problem before creating a thread about it.  Sorry if this is a dumb question, first time linux user here.

From what I'm gathering, trying to access "power settings" from cinnamon just doesn't work right now?  For me it just does nothing, the "all settings" window just closes.  I snagged the other version of the power applet from github that was posted earlier and that worked great, but the power settings menu is known to not be working right now, correct?

Offline

#196 2014-05-28 10:42:46

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

loqs wrote:

Patch for the power panel was not accepted by mint sad https://github.com/linuxmint/cinnamon-c … /issues/65

Mint developers are stupid. While compiling:
cc-power-panel.c:937:9: warning: implicit declaration of function 'up_client_get_can_suspend' [-Wimplicit-function-declaration]
cc-power-panel.c:940:9: warning: implicit declaration of function 'up_client_get_can_hibernate' [-Wimplicit-function-declaration]

That function is declared nowhere. The resulting binary will contain a link to this symbol but will never be able to resolve it. Don't know why and how it works on fedora, but this is clearly wrong. Either they have to add a #define that makes it a noop function or use #ifdef to remove calls to up_client_get_can_* functions when they don't exist.

Offline

#197 2014-05-28 12:35:45

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

JGC wrote:
loqs wrote:

Patch for the power panel was not accepted by mint sad https://github.com/linuxmint/cinnamon-c … /issues/65

Mint developers are stupid. While compiling:
cc-power-panel.c:937:9: warning: implicit declaration of function 'up_client_get_can_suspend' [-Wimplicit-function-declaration]
cc-power-panel.c:940:9: warning: implicit declaration of function 'up_client_get_can_hibernate' [-Wimplicit-function-declaration]

That function is declared nowhere. The resulting binary will contain a link to this symbol but will never be able to resolve it. Don't know why and how it works on fedora, but this is clearly wrong. Either they have to add a #define that makes it a noop function or use #ifdef to remove calls to up_client_get_can_* functions when they don't exist.

I'm trying to work out how they build their packages so I can work out what they're doing, but I haven't a clue. Let me look at this later.

EDIT: I've commented over there, as I'm using a more recent version of Cinnamon, done by upping the pkgver in the PKGBUILDs from community.

Last edited by clfarron4 (2014-05-28 18:25:47)


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

#198 2014-05-31 01:58:01

madscience
Member
From: Ontario, Canada
Registered: 2014-02-11
Posts: 47
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

Is anyone else missing the 'switch user' button on the lockscreen since the upgrade?  I've tried toggling the option in dconf-editor, but no luck.  I don't see an issue on github, so I'm a little unsure if it's a config on my machine that's messed up.

Offline

#199 2014-05-31 03:35:05

sb56637
Member
Registered: 2009-02-18
Posts: 62

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

madscience wrote:

Is anyone else missing the 'switch user' button on the lockscreen since the upgrade?  I've tried toggling the option in dconf-editor, but no luck.  I don't see an issue on github, so I'm a little unsure if it's a config on my machine that's messed up.

Mine does work. I'm using LightDM, not sure if that makes a difference.

Offline

#200 2014-05-31 11:18:31

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: [Cinnamon] Issues after update to Cinnamon 2.2 and GTK 3.12

madscience wrote:

Is anyone else missing the 'switch user' button on the lockscreen since the upgrade?  I've tried toggling the option in dconf-editor, but no luck.  I don't see an issue on github, so I'm a little unsure if it's a config on my machine that's messed up.

Which Display Manager are you using? You need to use one that implements user switch with Cinnamon natively (I know LDXM doesn't).


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

Board footer

Powered by FluxBB