tag:blogger.com,1999:blog-977684764667858073.post2610621269903115143..comments2024-02-09T21:43:15.143+00:00Comments on /bɑs ˈtjɛ̃ no ˈse ʁɑ/ (hadess) | News: OMG! I haz designed a bug fix!Bastien Nocerahttp://www.blogger.com/profile/14621847888418739807noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-977684764667858073.post-27388800364282254942013-01-29T00:54:48.269+00:002013-01-29T00:54:48.269+00:00This comment has been removed by the author.Juan Camilo Pradahttps://www.blogger.com/profile/09724568172950697242noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-37088989925165848002012-09-16T02:17:21.700+01:002012-09-16T02:17:21.700+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-90023738824713323672011-10-31T17:39:44.349+00:002011-10-31T17:39:44.349+00:00Just so people know, suspending and then rapidly c...Just so people know, suspending and then rapidly connecting back to the network again is something which I believe is called something like DHCP fast start. Basically Apple does this on OSX and it's the ability to reconnect to the network really quickly without actually doing the full DHCP process. You simply send some ARP messages (or something like that) and if the IP you were using is still available, just keep using it... no need to go through the whole request, response system. This solves a lot of the cases of slowdowns on resume from suspend.<br /><br />My laptop for example resumes in about 2s but the network lags behind by quite a bit.<br /><br />In the not too distant future, I believe the tools needed to implement this feature will start getting rolled out and we can look forward to a much faster suspend.<br /><br />I know many Mac users for example who happily suspend and resume their laptops even for < 1 minute... "Oh wait I forgot..." and it's really no problem.<br /><br />So I agree that this is a setting that should be kept hidden. We need instead to push the lower levels to deal with things more quickly and more efficiently for us so the whole problem becomes moot!<br /><br />Disclaimer, I've likely got some of the terminology wrong, but the concepts I'm pretty certain of :)Colin Guthriehttp://colin.guthr.ie/noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-16799679972586859922011-10-25T09:53:45.307+01:002011-10-25T09:53:45.307+01:00Hahaha... ow wow... now I know why I stopped carin...Hahaha... ow wow... now I know why I stopped caring about GNOME. Since version 3 it's broken and to fix it it needs a lot of "cool apps" like this one. Congratulations! Start selling them right away in GNOME "cool apps" store. I'm saying with Xfce now - where designers don't screw up so badly.Johnny Bitnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-88025853964875992152011-10-08T09:20:54.637+01:002011-10-08T09:20:54.637+01:00The fact that this hack is needed is why Linux on ...The fact that this hack is needed is why Linux on the desktop is doomed to irrelevance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-7621681858910048742011-09-20T20:09:46.173+01:002011-09-20T20:09:46.173+01:00I do understand I'm not the target user of GNO...I do understand I'm not the target user of GNOME settings, but I would be much more happy if people writing about that wouldn't repeat the same mistakes every time. I've said it, many people have said it before: "no one would change settings just before closing the lid of the laptop to avoid it suspending, it's something you want to change once".<br /><br />You see, laptops have a suspend button, so if I want my laptop to suspend I can just use that. If I close my laptop lid I'm just doing that, because I don't want people to watch my screen, because it's easier to carry to another room or because I don't want the keyboard to get dust. If people would account for that, and say that's not a common use case, fine. But talking about changing settings before changing rooms is just not a real use case, seriously. Show me one person that uses the laptop like that or just please stop using that as an example, even for jokes.Luciana Fujiihttp://blog.fujii.eti.brnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-60869781586812937042011-09-19T15:32:29.142+01:002011-09-19T15:32:29.142+01:00way to troll your own userbase, you condescending ...way to troll your own userbase, you condescending assholeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-33364667678357315762011-09-17T21:27:55.595+01:002011-09-17T21:27:55.595+01:00@emmanuele
I am going by the picture that is list...@emmanuele<br /><br />I am going by the picture that is listed in the gnome shell pages, but I've no doubt you are right (I haven't been able to find pics of the entirety of Mac's power settings). My point wasn't so much copy Apple but only that even Apple offers far more options to the user when it comes to power management (here is a link for any interested: http://www.dssw.co.uk/blog/2011/04/14/how-to-make-your-mac-sleep-after-inactivity/ their scheduling feature looks interesting). More important than that, however, what it offers it can actually do. Macs can suspend and hibernate reliably thus they have designed for that. To make something the default that is widely known to be unreliable is not a good design decision. I am not trying to be harsh and I like much of GS so please don't think I'm one of the "grumble grumble grumble.. Gnome 2 was the best possible DE why change it... etc" types. I know Apple is well thought of by the Gnome designers but I wish the reality of our particulars would guide their decisions.liamhttps://www.blogger.com/profile/14414946099433267898noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-25238374710711622762011-09-17T16:21:08.667+01:002011-09-17T16:21:08.667+01:00I'm not really convinced by the idea. Wouldn&#...I'm not really convinced by the idea. Wouldn't it be much easier to just modify the default behaviour so the laptop just suspends after 5 (or 10) minutes after closing the lid? That way you wouldn't even require the user to do anything at all to move his laptop.Your friendly Julianhttps://www.blogger.com/profile/14510204561539304259noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-72117111664477977172011-09-17T13:50:33.476+01:002011-09-17T13:50:33.476+01:00I can't see the posted image but taking a swir...I can't see the posted image but taking a swirl at the comments, I probably should not <br /><br /> (which we feel is the single most reason to stop laptops suspending)<br /><br />This is the difference between (you) GNOME developers and (we) interface designers. We usually know what we are doing, and don't guess or feel.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-86037353121429924502011-09-17T08:37:17.920+01:002011-09-17T08:37:17.920+01:00Liam: for all your mentions of power management on...Liam: for all your mentions of power management on OS X, I just checked (Lion, here, but I'm pretty sure Snow Leopard was the same); in the Power Saving section of the system settings you cannot change the action on lid-close. there is no option whatsoever. the design team worked on the various similarities and differences of different operating systems, as you can see here: https://live.gnome.org/Design/SystemSettings/PowerEmmanuelehttps://www.blogger.com/profile/14797939115552193382noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-23951785432229243862011-09-17T05:10:09.459+01:002011-09-17T05:10:09.459+01:00Why you, the gnome developers, just dont ask users...Why you, the gnome developers, just dont ask users about what their want?<br /><br />Why are you breaking your own principles?<br />http://developer.gnome.org/hig-book/3.0/principles.html.en<br /><br />1.7 PUT THE USER IN CONTROL!!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-27607098138992579372011-09-17T04:50:49.887+01:002011-09-17T04:50:49.887+01:00@hadess
Thanks for the reply!
I realise, and appr...@hadess<br /><br />Thanks for the reply!<br />I realise, and appreciate, the humorous aspect. I was merely pointing out that the other DEs (even Apple) realise that PM is important enough that people should manage it on their own. Provide sensible defaults (something Gnome is usually amongst the best anywhere at doing) but realise that no design handles every situation. I don't think this solution in particular solves even a majority of cases where someone doesn't want to suspend with the lid closed, but I'd be willing to be shown otherwise.<br /><br />As for code clean-up, how much code does it add to provide checkbox (or slider) that toggles off suspend/hibernate on battery when laptop lid closes? As you said, the option is still there, just not shown and this application you wrote adds how many lines of code? Over 400 lines (even the bits that are simply fun add to maintenance, surely) that are essentially acting as a timer and working with gsettings. To add the toggle box would result in far less code addition, and be more consistent with the GS interface.<br /><br />Apple has shown that PM options can be given and things still look elegant. This is a time when looking to them is not a bad thing.<br /><br />Lastly, the kernel is the kernel. We simply don't have choices there b/c Linus is just not going to add this in, and the best user space option I'm aware of (the previously mentioned suspend-utils) is too dependent on kernel/hardware. Perhaps Gnome should tie itself to another kernel since Gnome is no longer willing to work around the reality of the kernel. If Gnome wants to provide the whole stack then they should recommend the tuxonice kernel.<br /><br />BTW, shooting for the Apple default of hybrid suspend is laudable but the Linus tree is not going to get this for a long time (again, tuxonice has hybrid suspend, and no I am not affiliated with the project:) ).<br /><br />Sorry to keep saying this but Gnome really needs to consider reality when it comes to making these decisions. <br /><br />Perhaps a quick glance at <a href="http://live.gnome.org/GnomeShell/Design/Principles" rel="nofollow">Gnome Shell Principles</a> would be a useful reminder. Specifically, 1. this isn't designed with an understanding that a users requirements change; in fact, it is so rigid it allows (not always, but nevertheless in some important cases) no other way of doing something and 2. this single button window is not consistent with the least astonishment principle (granted it is a simple UI, but still, it is anomalous).<br /><br />Thanks again,<br />Liamliamhttps://www.blogger.com/profile/14414946099433267898noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-79699968280389961922011-09-17T02:14:05.279+01:002011-09-17T02:14:05.279+01:00Having this as a separate application seems excess...Having this as a separate application seems excessive; this functionality ought to integrate with the power icon, so that I can click the "don't suspend" button from the power icon's menu.<br /><br />Also, having a 10-minute limit means this doesn't actually solve the problem for me. When I say "don't suspend", I mean "don't suspend", not "make me rush so I don't lose my network connections". My laptop battery lasts for hours, not minutes; if I want to stop and chat with someone for a while, holding the laptop under an arm, I still don't want the laptop suspending. If I want to suspend my laptop, I'll do so.<br /><br />In any case, this still means I have one more step I have to perform every time I close the lid of my laptop, but as a hack it'll suffice until a better solution comes along.<br /><br />If you feel the need to have a "thermal shutdown" mechanism to prevent overheating laptops, how about addressing that separately? You've said before that you prefer to solve the root problem rather than hacking around it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-18086982218244901292011-09-17T01:39:05.595+01:002011-09-17T01:39:05.595+01:00Actually, bought it put together. Did get to choos...Actually, bought it put together. Did get to choose the case, PSU, CPU, DVD/combo drive and HDD that came with it, though. It was cheep, but works decent.<br /><br />Back on topic: it's an interesting application. Think you could make it play music (something dramatic) while the lid is closed? ;-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-20819720674225358452011-09-17T01:27:44.089+01:002011-09-17T01:27:44.089+01:00Hey Bastien, I love how you solved the problem wit...Hey Bastien, I love how you solved the problem with a game :) Some ideas for further development!!<br /><br />* Time how long it takes to get to the meeting and have a 'HI-SCORE' list!<br /><br />* Alternatively, give a time challenge? Not sure what the prize would be though.<br /><br />* If the laptop has some kind of accelerometer... it could be a challenge, e.g., there is an egg on top of a table, if you can keep your laptop flat the whole time, then the egg stays on the table and when you open your laptop lid back up you see the egg's okay, punch in that you made it to your meeting, and you get a bonus time deduction. If you tilt the laptop while getting to your meeting, when you get back to the screen the egg will have rolled off and broken, and you get a cracked egg time penalty.<br /><br />Okay, these are maybe too silly but were fun to think about :)Máirín Duffyhttp://blog.linuxgrrl.comnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-34429410902888854112011-09-16T23:05:48.489+01:002011-09-16T23:05:48.489+01:00Anonymous: Using the same "Alt" behaviou...Anonymous: Using the same "Alt" behaviour as the main menu has its uses indeed. The problem is that, again, it would be "hidden" (probably too hidden), and it would lack the limited time it works (10 minutes max in Office Runner, so it suspends instead of overheating if you're going out for lunch from the meeting instead of back to your desk).<br /><br />I'd be happy to see somebody experiment with a gnome-shell extension for that.Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-18380966637012557682011-09-16T22:56:54.170+01:002011-09-16T22:56:54.170+01:00Nobu: Ha, self made desktop. I consistently break ...Nobu: Ha, self made desktop. I consistently break self-made machines, so I try to save on repairs by having somebody else build them. The easiest is probably to strip the machine down, and start adding items back in, or try unplugging as much as possible from the machine (such as USB devices). Not sure that's very helpful though.<br /><br />Liam: The solution has a very limited scope, because it was trying to solve one particular problem. I don't think there are any other use cases that we want to cater for, and it was a humourous and practical solution for this problem.<br /><br />You can certainly say that we created the problem by removing the settings in GNOME 3.0, but we were also able to clean up tons of code from gnome-power-manager, and created a more integrated, and removed loads of bugs and possible moving parts from the new power plugin.<br /><br />As I mentioned earlier, there are other ways to disable the suspend, and that's still there, for people who need to compile things.<br /><br />As for the kernel options, what we would really want is a hybrid suspend, with various levels of suspension, and thus battery usage (for mobile devices). We don't have that yet.<br /><br />In the meanwhile, suspend to RAM is reliable, or it should be, and if it isn't, then you should be kicking up a fuss about the kernel sucking, not about the lack of options to avoid suspending (like fixing the blocked toilet instead of putting a sign that it doesn't flush...).Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-66178560093058369232011-09-16T22:49:54.831+01:002011-09-16T22:49:54.831+01:00I'd tie the non-suspend function to having the...I'd tie the non-suspend function to having the battery power estimate 'menu' dropped down. Just let that display:<br /><br />"You can close the laptop lid and the computer will not go to sleep while this message is displayed."<br /><br />No separate application, no separate button. And the menu will auto hide when something else is focused.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-59170282183034531302011-09-16T22:08:35.599+01:002011-09-16T22:08:35.599+01:00So you fixed a bug that wasn't broken until gn...So you fixed a bug that wasn't broken until gnome 3 removed the option?<br />Ignoring the limited use scope of this particular solution (objective) and its inelegance (subjective), this particular problem was one of Gnome 3's creation.<br />Now addressing your actual solution:<br />creating an application for something that is really simply a single setting is overkill and adds needless complexity (very much anti-Gnome, I'm kinda surprised this didn't bug you, in fact). This doesn't really address people who have other reasons for wanting the PM to such and such upon lid closure. This is a really personal thing b/c there are simply many more common situations that this simply doesn't cover. Suppose you are running a long compilation and have kids/animals, it is easiest to simply close the lid (and more power efficient than using a screen lock, which, BTW, would be an additional step someone would have to go through to use).<br />Look at the whiteboards for the power manager. Even Apple offers much more configuration possibilities in this area than we do b/c limiting PM isn't a place where design decisions should take precedence over usability. Remember Ram's 10 rules, after all. This is failing at least #5 and #10.<br />As for this being the kernel's/driver's/user/s fault, that is not helpful. We are all using linux. I'm using Fedora. I'm using it with a thinkpad. Suspend let alone hibernate is not reliable with the standard kernel. Tuxonice works well for me but good luck getting those changes merged. As a DE engineer you really need to work with reality not the way things should be, and I'm not sure this will force the kernel developers to move better suspend/hibernate code into the kernel where, IIRC, Linus doesn't think it belongs. The best user space solution is provided by the suspend-utils package but that is extremely hardware dependent.<br />In short, unless you want to make a broken by design DE you need to look at reality for the majority and that reality for other desktops is that there are more use cases than Gnome is thus far designing for.<br /><br />Best/Liamliamhttps://www.blogger.com/profile/14414946099433267898noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-13323205329001017802011-09-16T21:49:38.222+01:002011-09-16T21:49:38.222+01:00hadess: Seems more like a motherboard issue than a...hadess: Seems more like a motherboard issue than anything else. (and, actually, it's not as bad as I remembered) nouveau drivers been kickin' ass since Fedora 13/14 (now on 15).<br /><br />It suspends (screen blanks and power light begins flashing), but the fan stays on and it doesn't sound like the hard drive spins down (although, I don't know if I could even hear it if it did, with the fan so loud). As such, I don't know if it's worth it to suspend, except that the desktop comes back up much faster (less than 3 seconds, as apposed to ~25).<br /><br />MB Chipset: MCP51<br />MB: Biostar GeForce 6100 AM2 (v 1.3)<br />Video Card: GeForce 7100 (NV44)<br /><br />I really need to replace my case fan; it's a 120mm (or 110mm) beast, and it's cranky when it first spins up. :/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-80994533621901693782011-09-16T20:52:30.632+01:002011-09-16T20:52:30.632+01:00Nobu: if you're using in-kernel drivers, I wou...Nobu: if you're using in-kernel drivers, I would ask around in your distribution's forums or mailing-lists, because failing to resume from suspend is really bad, and it needs to get fixed. I use suspend on my desktop machines (mostly because the fans get clogged up and make loads of noise) and I've had no failures so far.<br /><br />alex: it was possible (in GNOME 2.x), and it still is, it's just that there's no UI for it anymore. You can still use gsettings on the command-line or dconf-editor to change the behaviour though. You're lucky you can do that with your laptop, for most users, this would make their bags melt...<br /><br />Christoph: you shouldn't need any settings for that, because it's the way it's supposed to work. If you have an external display connected, the laptop won't go to sleep. If it doesn't work that way for you, file a bug against gnome-settings-daemon, and we'll look into it. As for the gnome-tweak-tool options, I might have talked too fast. I hope they implement it for cases such as wdomburg's.<br /><br />Olav: I'm not sure it's worth mentioning in the release notes, to be honest. I just hope people who need that functionality see the funny side.Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-25987183965759547562011-09-16T20:05:28.239+01:002011-09-16T20:05:28.239+01:00This makes my head spin! Really cool, but too late...This makes my head spin! Really cool, but too late for feature freeze and we just closed the release-notes as well :-(Olavhttps://www.blogger.com/profile/09315812426732221936noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-20893032189322030892011-09-16T20:04:30.845+01:002011-09-16T20:04:30.845+01:00What I still miss is a way to configure this depen...What I still miss is a way to configure this depending on AC status: When my laptop is on battery, I like it to suspend when I close the lid. However when my laptop is on AC, it is most likely docked and I use a external display, mouse and keyboard. I'd like to be able to close the lid then - without having to press a button every time, no matter how awesome it's designed.<br /><br />Is this really such an exotic use case that nobody thought about when GNOME 3 was designed? Is it so exotic it needs to be in gnome-tweak-tool?<br /><br />BTW: I do NOT have these options in gnome-tweak-tool even though gnome-power-manager is running.Christophhttp://www.christoph-wickert.de/blog/2011/06/25/gnome-developer-quote-of-the-day/noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-44883733378528687462011-09-16T19:55:31.540+01:002011-09-16T19:55:31.540+01:00you see, I love my small eeepc.
I use to walk down...you see, I love my small eeepc.<br />I use to walk down the street with its lid_closed, listening to groovy music. well, now it's not possible anymore. I like music, my friends like my music. sad me, sad friends, sadder world :(<br /><br />anyway this run button is certainly a joke, right?<br /><br />gnome3 is great, but this and the power-off thing are really bugging me.. a clash between 2 designers against too many users, just for a button.Anonymousnoreply@blogger.com