[09:41] <schopin> Does anyone know of a clean way to detect in a postinst script if we're installing via apt (or a libapt-using application) vs manual install ?
[09:42] <cjwatson> That sounds like a very weird requirement.  What are you trying to do?
[09:43] <cjwatson> Packages are not normally permitted to care about that.
[09:45] <schopin> I'm working on making pam use needrestart, and as a first step I'd like for it to just not run its hand-rolled version if running in APT context with the needrestart hook installed.
[09:46] <cjwatson> If this is for an official Ubuntu package then I'm pretty sure you'll need to find another approach.
[09:47] <cjwatson> (There are probably aspects of the environment that would hint at this, but nothing guaranteed by policy)
[09:48] <schopin> I took the idea from the openssl package, which already does this regardless of the way dpkg is called : https://git.launchpad.net/ubuntu/+source/openssl/tree/debian/libssl1.1.postinst#n59
[09:49] <cjwatson> To clarify, what I mean is that packages are not permitted to detect whether they're running inside apt
[09:49] <cjwatson> As far as I know
[09:49] <cjwatson> I have no opinion about how needrestart might be hooked up :)
[11:37] <rbasak> schopin: maybe your check really ought to be reframed to "needrestart is installed and enabled"? Then you could do various things to detect that which less depend on the packaging infrastructure. Eg. /etc/default/, if there's nothing else already.
[11:57] <schopin> rbasak: it all depends on what is the definition of "enabled" for needrestart. AFAICT it only uses APT hooks to do its job, not DPKG triggers, so even if I can tell that it is enabled on the system, I cannot be sure it is going to be active on this particular package installation.
[12:31] <rbasak> schopin: I don't think you need to know that. It would do if you know if it's _supposed_ (ie. configured) to be enabled.
[12:32] <rbasak> You don't need to defend yourself against misconfiguration so much, IMHO.
[12:49] <schopin> OK then, anyone feeling like sponsoring the needrestart patch to pam ? LP #1935972
[12:49] <schopin> vorlon perhaps? ^
[14:36] <bdmurray> schopin: I can and did have a look at pam. The changelog should have impish so it can be more easily sponsored.
[14:37] <bdmurray> schopin: also given that you opened a bug about this you should reference it in the changelog i.e. (LP: #1935972)
[14:54] <schopin> bdmurray: thanks for the review! Fixed.
[19:02] <phibs> anyone know how to generate the by-hash metadata on a repo?
[19:55] <rbasak> cjwatson: o/ you used to have a fork of Debian Policy published somewhere for Ubuntu. But I can't find it any more. Is that still current / intended to form Ubuntu policy?


[10:40] <dahlberg> hello. i have ubuntu 11.04 studio installed , installed VLC from software center. playback is flickering and sound is strange at times. message window gives "signals error: signal 17 overriden (0x7febfc9c4450signals error:  /usr/lib/libQtCore.so.4(?)[(nil)]"  dont know whats wrong here
[10:40] <dahlberg> if you guys have a better suggestion for video playback im all ears ;)
[11:00] <astraljava> Seems to be a tricky one. Been reported somewhat, but no real solutions. :-/
[15:34] <holstein> dahlberg: hey
[15:34] <holstein> are you up to date with package upgrades?
[16:18] <dahlberg> holstein: sorry i was out busking ;) im pdating now ;)
[16:19] <dahlberg> *updating
[16:19] <holstein> i would say, upgrade, and check again
[16:19] <holstein> then, try and determine if its VLC or something in the back end
[16:20] <holstein> try a few other players and see
[16:20] <holstein> VLC was my go-to media player for a long time, but i had some video playback issues not too long ago on a box, and i started looking else where
[16:39] <dahlberg> updated. still same issue. tryed with gnome Mplayer aswell.. this realy buggs me now ;)
[16:40] <dahlberg> im using ATI drivers. btw
[16:40] <holstein> dahlberg: thats when i had the issue
[16:40] <holstein> and actually, i ended up switching cards for some other reason
[16:41] <dahlberg> uninstalling the ATI drivers. just tosee if that makes a difference
[22:43] <astraljava> Come to think of it, Ubuntu's been around for almost 7 years now. ATi/AMD drivers are still as bad as they were, in some cases even worse.
[22:44] <holstein> yeah, what do you do :/
[22:44] <astraljava> Stop buying their hardware, that's what. :)
[22:45] <astraljava> Personally, I've never bought a new ATi card.
[22:45] <holstein> vote with your wallet
[22:45] <astraljava> Granted, during the time it mattered, I've only bought one card, but that was an nVidia. All the others are either 2nd-hand (mostly free) or company-delivered.
[22:46] <astraljava> Damnit, Mike, you should get into metal. You're so fun to talk to, we need a mutual music genre.  Once in a while, I stumble onto completely different genres.
[22:48] <astraljava> Oh, did you know, I've gotten a classical training? Started with the cello at the age of 6, brought the piano along at 10, but then started to get into the guitar at 12.


[00:03] <pleia2> the one thing that a leader gains us is accountability, making sure things are getting done
[00:05] <pleia2> I *think* the plan is to turn UWN into bi-weekly and have an issue out a little over a week from now, but sitting here today I don't know who is going to make it happen
[00:05] <pleia2> I can pitch in from time to time like with this last issue
[00:06] <pleia2> I also mentioned on my blog that I think we want to document how to do "bite size" contributions, drive by summary writing and the like
[00:11] <nhandler> pleia2: I sort of envisioned that the person assigned to be the publisher for a certain week would sort of handle checking up on people to make sure the sections get done. This is a big job for one person to handle full-time, but I think it is manageable for rotating people
[00:12] <pleia2> mostly I was addressing the chicken and egg problem, who makes sure we have a publisher issue, and who handles what we do if a publisher doesn't step forward
[00:12] <nhandler> pleia2: bite size contributions and drive by stuff are nice, but things go a lot faster if there is a group of people the publisher can go to when stuff needs doing. i.e. When we were trying to find people to proof the issue, it would be a lot easier having a list of people on the wiki who have volunteered to serve as proof readers for that issue (maybe have all the jobs on a rotating schedule)
[00:13] <pleia2> november and december were an interesting example of no one being in charge and nothing getting done
[00:13] <pleia2> (well, fridge chugged along, but not UWN)
[00:14] <pleia2> and yeah, having a group of people a publisher can go to would be good, my bite-size idea is for creating these groups
[00:14] <nhandler> pleia2: I think that was mainly due to confusion from the team as to what is going on.
[00:15] <pleia2> yeah, that was certainly part of it (I was afraid of stepping on toes)
[00:15] <nhandler> pleia2: So what do you think about expanding the idea about rotating positions to the other jobs? People could obviously sign up for multiple slots, but it makes people accountable for getting the tasks done
[00:15] <pleia2> I think that could work
[00:17] <nhandler> pleia2: My big reason for not getting more involved with UWN was that I couldn't commit myself to working on a section every weekend. I have no issue helping every now and then, but full-time is a huge commitment
[00:17] <nhandler> I have a feeling other people are probably in similar positions
[00:17] <pleia2> yeah, me too


[17:21] <knikolla> Hi all, I'm having an issue where installed applications don't appear in the Dash until restarting. Any ideas on what might be the cause?


[00:33] <bazhang> gpg is insecure for first time users
[00:33] <bazhang> thats def ubuntu issue
[02:17] <totem> hi there
[09:56] <bazhang> * [wadadli_] #ubuntu ##linux heds up on this one
[09:57] <bazhang> also heads
[17:56] <wxl> sexy-guy just changed the topic in #ubuntu-meeting. um, assuming people are using meetingology, shouldn't that channel be +t?
[17:57] <k1l_> yes, its a known troll using proxies.
[17:58] <wxl> k1l_: that doesn't explain the fact it's not +t?
[17:58] <dax> we really need to fix -t channels
[17:58] <dax> it's a dumb way to do things these days
[17:58] <k1l_> well, the devs running -touch said they like it -t.
[17:59] <wxl> they should be using meetingology
[17:59] <dax> the devs running -touch have wrong opinions, then
[17:59] <k1l_> imho those smaller team channels dont care that much about irc specifics and find it easier that way
[17:59] <wxl> so we should change everything for one team?
[18:00] <dax> it's not hard to get a list of every non-trivial -t channel on the network
[18:00] <dax> so you're basically inviting this kind of crap
[18:00]  * k1l_ is talking about #ubuntu-touch
[18:00] <wxl> oh
[18:00] <wxl> i'm talking about #ubuntu-meeting
[18:02] <k1l_> atleast cloaked ubuntu members have access at -meeting. but i guess its setup that way for the bot to handle the topic
[18:02] <dax> does the bot have +o?
[18:02] <k1l_> no
[18:02] <wxl> it would seem that would solve the problem
[18:02] <dax> adding it to the ACL with +O should be trivial
[18:03] <wxl> +1 dax
[18:03] <k1l_> yeah.


[05:38] <tonyyarusso> h00k: so have you figured out what you're going to call your RSVP app and what to license it under yet?  ;)


[05:13] <greg-g> problem with that I encountered tonight (just using a little bluetooth speaker to listen to Sufjan Stevens while putting up the tree) was when I wanted to go do dishes and listen to a podcast, that interrupted the flow in the living room. Dedicated devices (like the squeezebox touch) are nice.
[13:25] <jrwren> truth
[13:39] <cmaloney> Definitely


[02:20] <cnd> LLStarks, thanks for the report, I marked it as a duplicate of a similar report
[02:21] <cnd> basically, the functionality isn't gone, it's just not enabled by default in natty anymore
[02:21] <RAOF> What are you doing up this late on a Sunday, cnd? :)
[02:22]  * bryceh <-- doing taxes
[02:23] <bryceh> bleah
[02:23] <RAOF> Fun!
[02:30] <RAOF> Hm.  The espresso machine should have warmed up by now.  Coffeeeeeeeeeeee!
[02:35] <LLStarks> cnd, that's not very nice. the "two-fingered scrolling" option now provides ZERO SCROLLING
[02:36] <LLStarks> no side-of-trackpad scrolling. nothing. if you try to scroll, the cursor jumps.
[02:37] <LLStarks> *very nice behavior
[03:36] <cnd> LLStarks, if you set the mouse preferences to edge scrolling it should work
[03:36] <cnd> it's not like we just decided that two finger scrolling shouldn't be allowed :)
[03:36] <cnd> but enabling it by default for certain trackpads can cause erratic behavior
[03:37] <cnd> RAOF, wife is gone for two months biking across the US
[03:37] <cnd> just left yesterday
[03:37] <cnd> so I've got quite a bit more time on my hands
[03:37] <cnd> I spent most of today watching "Weeds"
[03:37] <cnd> which is really good, btw
[03:38] <cnd> bryceh, I hope doing taxes means you get a nice refund :)
[03:38] <cnd> I had to pay a little bit back this year
[03:40] <RAOF> cnd: That sounds both interesting and kinda sucky.
[03:40] <cnd> pretty much :(
[05:24] <LLStarks> cnd, if we're  sticking with this change. the mouse properties interface needs to reflect it. like a greyed out.
[05:24] <LLStarks> *out option.
[05:24] <LLStarks> should i inform the proper people?
[05:25] <LLStarks> btw, is this only for certain touchpads or all?
[05:25] <LLStarks> *all synaptics
[10:11] <RAOF> Sarvatt_: Is there any particular reason mesa -0ubuntu4 is UNRELEASED, or was it just beta-freezed?
[10:16] <jcristau> iirc there was some confusion over some snb stuff?
[10:17] <tjaalton> http://www.ispyce.com/2011/04/video-explains-multitasking-and-user.html
[10:18] <tjaalton> pre-X11 multitasking :)
[10:47] <alkisg> I'm trying to get nvidia/vanta going on a netbooted hardy chroot on my lucid server
[10:48] <alkisg> The nvidia logo displays, but glxgears complains about the glx extension missing
[10:48] <alkisg> xorg.6.log claims that it loaded glx, so I'm at a loss, any help?
[10:48] <tjaalton> what does glxinfo say?
[10:49] <alkisg> It produces some output (can't copy/paste), but every other line it also says "Xlib: extension "GLX" missing on display :6.0"
[10:50] <tjaalton> put the xorg logfile somewhere
[10:52] <alkisg> tjaalton: http://paste.ubuntu.com/589189/
[10:53] <alkisg> and xorg.conf: http://paste.ubuntu.com/589191/
[10:54] <tjaalton> (EE) GLX is not supported with the Composite extension
[10:56] <alkisg> Thank you, so how would I disable composite?
[10:58] <tjaalton> Section "Extensions" Option  "Composite" "Disable"
[10:58] <tjaalton> EndSection
[10:58] <alkisg> Thank you very much
[10:58] <tjaalton> with a linebreak before Option
[11:01] <alkisg> Works fine, thanks again. Now to do this via LTSP instead of manually...
[11:43] <alkisg> xterm scrolls sooooo fast remotely... 5-6 times faster than gnome-terminal, gedit or firefox... :-/
[13:04] <cnd> LLStarks, we can't disable two finger scrolling as an option because these trackpads can still do it, but they have to be tweaked to be able to do so
[13:05] <cnd> this is only for trackpads that report the pressure but not the number of fingers on the trackpad
[13:05] <cnd> I believe this is a small minority of all synaptics trackpads
[13:39] <tjaalton> cnd: is bug 749493 dupe of bug 742567?
[13:39] <ubot4> Launchpad bug 749493 in xserver-xorg-input-evdev (Ubuntu) "evdev ignores axis swap and inversion for Cando touch screen (affects: 2) (heat: 10)" [Undecided,New] https://launchpad.net/bugs/749493
[13:39] <ubot4> Launchpad bug 742567 in xserver-xorg-input-evdev (Ubuntu) (and 1 other project) "multitouch events do not respect swap/invert axes properties (affects: 1) (heat: 8)" [Undecided,Won't fix] https://launchpad.net/bugs/742567
[13:45] <cnd> tjaalton, looks like it
[13:45] <cnd> I'll dupe it
[13:45] <tjaalton> cnd: thanks
[14:32] <cnd`> tjaalton, would you be able to upload a new version of evdev: http://people.canonical.com/~cndougla/utouch/
[14:33] <cnd`> it fixes bug 573006
[14:33] <ubot4> Launchpad bug 573006 in xserver-xorg-input-evdev (Ubuntu) (and 1 other project) "Touch screen driver clicks at wrong location (affects: 8) (heat: 50)" [Medium,Incomplete] https://launchpad.net/bugs/573006
[14:33] <tjaalton> cnd`: I've got a quirk to add to it, but after that yes
[14:33] <tjaalton> a quirk for the ubuntu-branded two-button mouse
[14:35] <cnd`> ahh
[14:35] <cnd> tjaalton, let me push my change to git
[14:35] <cnd> I forgot to do that
[14:36] <cnd> then you can make your change and upload
[14:36] <tjaalton> yep
[14:36] <cnd> ok, pushed
[14:37] <tjaalton> ..pulled :)
[15:02] <tjaalton> cnd: uploaded and pushed
[15:03] <cnd> tjaalton, thanks!
[15:36] <seaLne> hi, for the last few weeks in natty i've lost the ability on my laptop (Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller) to be able to use the external vga or hdmi outputs. they don't appear in xrandr output (or kde system settings display module). all xrandr shows is an output called default whereas before i had something like LVDS1, HDMI1 and VGA1
[15:37] <seaLne> if i connect a monitor to either of those outputs i get what looks like a 1024xsomething view of my laptop screen which is 1366x768
[15:38] <seaLne> i'm not even sure where to start looking to track down what is causing it
[15:41] <seaLne> Xorg.0.log: http://paste.kde.org/8905/
[15:44] <JanC> seaLne: looks like there is no 'intel' driver on your system, so X uses the 'vesa' driver ?
[16:00] <seaLne> JanC: arrg some conflict must have uninstalled it and i never noticed, let me check that
[16:03]  * seaLne hugs JanC
[16:03] <seaLne> JanC: thanks i can't believe i never noticed it got uninstalled
[16:06] <JanC> seaLne: I'm not sure you're familiar with the Xorg logs, but lines that have (EE) near the front are error messages, in this case the error at line 107 in your paste was relevant
[16:07] <JanC> also, (II) = information and (WW) = warning
[16:10] <seaLne> yeah thanks, not sure how i missed that. i think i some how got it into my head that it must be something really complex so missed the obvious things a few years ago when X was harder i'd have noticed instantly
[17:00] <cnd> tjaalton, there's an update to empcommand (the multitouch game you uploaded a while back): bug 749755
[17:00] <ubot4> Launchpad bug 749755 in empcommand (Ubuntu) "unclear licensing for the enclosed font and some samples (affects: 1) (heat: 8)" [Undecided,Fix committed] https://launchpad.net/bugs/749755
[17:00] <cnd> if you're not too busy could you upload it?
[18:19] <bryceh> cnd, I got it
[18:44] <cnd> bryceh, ahh, thanks!
[18:45] <cnd> we at least will have one multitouch game in natty at release :)
[18:46] <bryceh> cnd, :-)
[23:50] <kees> what's the best way to answer the question, "Which versions of Ubuntu's X server have upstream commit 5725849a1b427cd4a72b84e57f211edb35838718 in it?"
[23:53] <bryceh> kees, simplest would be to grep for the commit in the various versions' ChangeLog
[23:54] <bryceh> kees, however that will miss if the commit was added as a patch, so also grep in debian/patches/* for completeness (and then doublecheck patch is enabled in debian/patches/series)
[23:54] <bryceh> kees, an alternative method would involve using git show in the ubuntu git branch for each release
[23:55] <bryceh> however I think we only have branches for maverick and natty, and can't guarantee that someone didn't upload something without committing to the stable branch