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