ricotz | jbicha, hi, I am a bit sceptical about pushing all those 3.21/22 apps to yakkety without having the matching gtk+ | 06:36 |
---|---|---|
jbicha | ricotz: we should be ok if GNOME respects their freeze | 06:37 |
ricotz | those can easily still receive some 3.21 specific themeing tweaks or even use some newer symbols | 06:37 |
ricotz | *if* | 06:38 |
ricotz | I hope they don't include some conditionals which would require a rebuild later | 06:38 |
jovaro | Hi! I could use some help troubleshooting an issue with the power settings in Ubuntu-Gnome 16.04 for my laptop | 07:21 |
jovaro | in the gnome-tweak-tool I choose under 'Power', Power Button Action: Interactive; When lid closed: Suspend | 07:22 |
jovaro | But what happens is, for the button: suspend. For the lid: nothing | 07:22 |
jovaro | are there some other settings somewhere maybe that influence this? | 07:23 |
mgedmin | huh | 07:25 |
mgedmin | afaiu when the gnome session is running, systemd delegates all power decisions to it | 07:26 |
mgedmin | otherwise it has its own config somewhere in /etc | 07:26 |
mgedmin | I'm running ubuntu-gnome 16.04, and my laptop goes to sleep when I close the lid | 07:26 |
mgedmin | power button I haven't tried recently | 07:27 |
jovaro | I'll have a look if I can find anything in /etc/systemd | 07:27 |
mgedmin | /etc/systemd/logind.conf is the relevant file | 07:28 |
mgedmin | still, it should be gnome handling these things | 07:29 |
jovaro | it says suspend there as well | 07:29 |
jovaro | for the lid I mean | 07:30 |
jovaro | but there is also LidSwitchIgnoreInhibited=yes. I am not sure what that means? | 07:30 |
mgedmin | is it uncommented? | 07:30 |
jovaro | ah no, everything there is commented | 07:30 |
mgedmin | it means closing the lid will always suspend, even if some app says "please don't suspend" | 07:32 |
jovaro | ah I see, thanks for the info | 07:32 |
mgedmin | have you looked at log messages with journalctl? what appears where when you close the lid? | 07:32 |
jovaro | I'll check it out | 07:33 |
jovaro | ok first the kernel says unknown key pressed | 07:37 |
jovaro | and then systemd says Lid closed | 07:37 |
jovaro | here is everything in journalctl when closing and opening the lid: http://paste.ubuntu.com/23066632/ | 07:40 |
mgedmin | huh | 07:42 |
jovaro | at the moment there is an external monitor connected, but the behavior is the same when it isn't (Suspend even if external monitor is connected is set to On) | 07:42 |
mgedmin | here's mine: http://paste.ubuntu.com/23066640/ | 07:42 |
mgedmin | but I actually unplugged my external monitor just before closing the lid | 07:42 |
jovaro | I'll do the same just to be sure | 07:43 |
mgedmin | gsettings list-recursively org.gnome.settings-daemon.plugins.power says here: | 07:44 |
mgedmin | lid-close-suspend-with-external-monitor false | 07:44 |
mgedmin | lid-close-ac-action 'suspend', lid-close-battery-action 'suspend' | 07:45 |
jovaro | Ok, the unknown key message from the kernel and then Lid closed from systemd | 07:45 |
jovaro | gsettings is the same here apart from the external-monitor-line | 07:46 |
jovaro | so maybe it is related to the unknown key message from the kernel than | 07:47 |
jovaro | this seems to be common for HP laptops, reading a bug report now : https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120 | 07:52 |
ubot5 | Launchpad bug 1574120 in systemd (Ubuntu) "Notebook doesn't suspend when lid is closed after update to 16.04" [Medium,Confirmed] | 07:52 |
mgedmin | interesting workaround in #5! | 07:53 |
mgedmin | TIL about systemd-inhibit | 07:55 |
mgedmin | amazing redundancy | 07:56 |
jovaro | what does TIL mean? | 07:56 |
mgedmin | two separate inhibitors for "multiple displays attached", one from my session, and one from the gdm login session that is always running in the new gnome architecture why god why | 07:56 |
mgedmin | TIL = "Today I Learned" | 07:57 |
jovaro | thanks | 07:57 |
mgedmin | so if I understand things correctly, changing the "suspend when external monitor connected" switch in tweak tool does nothing | 07:57 |
mgedmin | because the background gdm login session that also runs gnome will inhibit the suspend anyway | 07:57 |
jovaro | true | 07:57 |
mgedmin | amazing | 07:58 |
jovaro | I'll give the workaround a try, that requires a reboot right? | 08:05 |
jovaro | ok that works | 08:14 |
mgedmin | it's a shame logind doesn't emit a "not suspending because <reason>" message | 08:15 |
mgedmin | would make this sort of issue easier to debug | 08:15 |
jovaro | now it suspends, with or without monitor plugged in, regardless of the external monitor setting in the gnome-tweak-tool | 08:19 |
mgedmin | because LidSwitchIgnoreInhibited=yes is default, according to the logind.conf manual page | 08:23 |
jovaro | I am note sure I am getting it, so the option in the gnome-tweak-tool will never work because of the default value in the logind.conf file? | 08:28 |
mgedmin | AFAIU yes :/ | 08:29 |
mgedmin | one of the reasons why it will never work is that | 08:30 |
mgedmin | (the other reason is the background gdm session that issues its own inhibitions) | 08:30 |
jovaro | wonderful :/ | 08:30 |
jovaro | I changed the value in the logind.conf file now, let's see what happens | 08:31 |
jovaro | no difference | 08:35 |
mgedmin | :( | 08:36 |
jovaro | but with an external monitor, the computer shouldn't suspend right? Because of the default value of LidSwitchIgnoreInhibited and also because of the background gdm session? | 08:37 |
jovaro | the workaround was to suspend even when docked, so systemd probably believes that the laptop is docked permanently | 08:45 |
jovaro | mgedmin, do you have a /sys/devices/platform/dock.0/docked file? | 08:47 |
mgedmin | yes | 08:47 |
jovaro | ok, there we have it then probably | 08:47 |
mgedmin | it says 0 inside | 08:47 |
jovaro | I don't | 08:48 |
mgedmin | in fact I have three dock.* directories, all of which have docked with a 0 inside | 08:48 |
pchoo | Hi all, has anyone got any advice on installing Nvidia drivers on Ubuntu Gnome 16.04 on an optimus laptop? | 08:49 |
jovaro | I don't have any dock.* directories.. I'll google a bit on that | 08:49 |
jovaro | mgedmin, could you check the value of /proc/sys/vm/laptop-mode ? | 08:58 |
mgedmin | no such file | 08:58 |
mgedmin | /proc/sys/vm/laptop_mode says 0 | 08:59 |
jovaro | sorry, wrong -_ :) | 08:59 |
jovaro | ok thanks, thats the same for me | 08:59 |
damolima | How do I resize a "Movies" window? | 09:23 |
damolima | How do I find the name / command of a program that uses a translated, generic name? | 09:23 |
mgedmin | you can alt-rightclick-drag anywhere in the window to resize any (resizable) window | 09:26 |
mgedmin | this is customizable and I don't remember what the defaults are; could be alt-middleclick-drag | 09:27 |
mgedmin | could be super-{middle/right}click-drag | 09:27 |
mgedmin | or you could grab it by the (invisible) border, just outside the window, where the mouse cursor changes shape | 09:27 |
mgedmin | again, this assumes the window is resizable | 09:27 |
mgedmin | Movies -- is that Totem or what? | 09:27 |
mgedmin | re: 2nd question -- one trick (if you're not using wayland) is to run xprop in a terminal, click on the window, then look at the properties | 09:28 |
mgedmin | WM_CLASS is often helpful | 09:28 |
mgedmin | _NET_WM_PID gives you the pid you can then look up with ps | 09:28 |
mgedmin | to get the full command | 09:28 |
damolima | xprop wors, thanks, and yes it's totem. | 09:57 |
damolima | Why would a window support maximize but not resize? They're not fullscreen so it cannot be a fixed resolution. Is there any way to force it to beP | 10:03 |
damolima | Alt+middle +drag worked, THANK YOU! | 10:05 |
damolima | ID still like to enable borders, I know "normal" CSS but not where in the theme to look. But that's less important now. | 10:09 |
damolima | Sorry for being so slow to respond. | 10:10 |
Furai | Hey, how can I debug ubuntu gnome dash? I have two custom installed versions of firefox, normal and dev one. I have for both dekstop entries. | 20:45 |
Furai | But when I luaunch dev version it shows up as the normal firefox. | 20:45 |
jbicha | check the Exec= line of your firefox dev .desktop | 20:51 |
jcjordyn120 | is there a ubuntu-gnome offtopic channel? | 22:12 |
jbicha | no | 22:13 |
jbicha | this channel isn't very talkative | 22:13 |
jcjordyn120 | oh okay | 22:13 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!