[07:38] Hi, for some reason Ubuntu Software fails to display any software lists, e.g. under All & Installed. Updates states up to date and last checked 06:07. Fortunatley I can install proggies via Synaptic Prog Mgr but I now cannot search for new software [07:49] 'ubuntu software centre' ? [07:50] you're not giving any information about your setup [07:52] like, version - the #1 :D [07:54] Nokaji: psst, are you off getting replied to in another channel? [07:56] yup, he/dhe appears to have joined channel #impatient&away ;) [08:06] ah well, it's better than #cross-post-and-hassle-others [08:08] :-D [08:52] [please ignore this, testing mobile setup ok] [08:52] [seems to work OK] [10:33] morning boys and girls. [11:34] aww yeah one 65" OLED TV on the way :O [11:58] ...and some cinema seats, popcorn and annoying that bloke wearing a hat will follow [11:59] *that annoying [12:02] BBC News reports: "A coach carrying dozens of tourists becomes trapped in a sinkhole when a water main bursts" [12:02] Guess that TV arrived early!! [12:03] Street couldn't take the extra weight :-O [12:04] :D [12:04] they're crazy light now, if it weren't for the bulk i'm sure i could lift this new one by myself [12:05] i can carry my 55" LED samsung from a couple of years back around by myself [12:06] * SuperEngineer sticks with his theory [12:06] ...all those extra cinema goers using the big tv as a substitute [12:07] our cinema is so bad, i've preferred home viewing for years :> [12:07] [don't forget to buy a popcorn machine [12:08] that would be nice [12:17] * acheronuk sets mode +F1 [12:18] yawn :> [12:20] daftykins: that @ F1? if so, I can sympathise a bit, as in recent years I've struggled to care who wins [12:22] * SuperEngineer also sets same mode. daftykins, acheronuk: motorised gladiators on any size tv... yum yum [12:22] last race of season, title tey to be decided, short odds for one of two... watch it and see [12:23] *yet [12:24] yep, I've been a bit cool on watching the rest of the season, but if this race is competitive then should be good. [12:24] ..and from one who was at the Britidh race: "You weren't there, man!" [15:43] m00 [17:43] how is Nouveau these days? I notice there are quite a lot of cheap fanless Nvidia cards now [17:44] I'm trying to write udev rule to run a script when I insert a blu-ray, but the rule doesn't seem to get triggered. [17:44] I'm clearly missing something big, because even a really simple rule isn't working. [17:46] I've got the following in /etc/udev/rules.d/99-disc-script.rules: [17:46] SUBSYSTEM=="block", KERNEL=="sr0", RUN+="touch /tmp/basic_rule_triggered" [17:47] which I think should touch that file whenever there's an event from /dev/sr0. But I eject and load, which triggers events I can see with udevadm monitor, and no file [17:48] marxjohnson: Is the problem that the rule gets triggered on the creation of sr0 - i.e. when it finds a blu-ray drive, not when media gets inserted? [17:49] marxjohnson: i.e. I've got a /dev/sr0 even though my DVD drive is empty, so I think the rule gets triggered near boot [17:51] penguin42: Right, but as I understand that rule should be triggered for any event from sr0, not just it's creation? [17:52] marxjohnson: Hmm I'm not sure about that [17:59] for example, here is a thread from linux questions where someone uses a similar rule to run ripping software when a disc is mounted https://www.linuxquestions.org/questions/linux-software-2/using-udev-to-automatically-run-a-script-on-optical-disc-mount-792428-print/ [18:02] marxjohnson: did you restart udev? [18:03] sudo udevadm control --reload-rules [18:05] diddledan: ali1234: yep, tried that [18:05] i think penguin42 is right [18:05] to run things when a disk is inserted you probably want to use udisks instead [18:05] also it looks like the command which that guy ended-up using included a detection on the variable DKD_MEDIA_AVAILABLE [18:06] SUBSYSTEM=="block", KERNEL=="sr0", ENV{DKD_MEDIA_AVAIABLE}=="1", RUN+="/usr/local/bin/detectdisc" [18:06] so when the variable flips to =1 rather than =0 (i.e. when the disk is present I believe) then it runs the command. otherwise it's only gonna run on creating /dev/sr0 [18:10] I believe udev rules only fire when the elements match. and then only fired once until the elements unmatch again. [18:10] diddledan: That's not working for me either. I figured less conditions in the rule with mean more matches, i.e my rule should trigger whether a disk is loaded or ejected [18:10] ali1234: THanks, I'll look at udisks [18:12] marxjohnson: I'm kinda guessing though, so please take everything I suggest with a healthy dose of "diddledan is an idiot and obviously wrong" [18:14] now, what can I buy off ebay for at least £25? [18:14] (I got a £20-off when you spend £25+ voucher) [18:16] diddledan: I'm kinda guessing too. Lots of things I've read on the web suggest other people have done something like what I'm trying to do, but I dont really understand udev [18:16] or rather, dont really know about it [18:17] I think udev is one of those things that is somewhat "if it works don't touch it" so we don't find-out how to meddle with it === zmoylan-1i is now known as zmoylan-pi === zmoylan-1i is now known as zmoylan-pi [23:20] I really need to rip-out my desk and cables and reinstall everything neater [23:38] and 15 minutes after you've finished you'll need to re add it to your todo list :-)