Nokaji | 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:38 |
---|---|---|
daftykins | 'ubuntu software centre' ? | 07:49 |
daftykins | you're not giving any information about your setup | 07:50 |
daftykins | like, version - the #1 :D | 07:52 |
daftykins | Nokaji: psst, are you off getting replied to in another channel? | 07:54 |
SuperEngineer | yup, he/dhe appears to have joined channel #impatient&away ;) | 07:56 |
daftykins | ah well, it's better than #cross-post-and-hassle-others | 08:06 |
SuperEngineer | :-D | 08:08 |
SuperEngineer_ | [please ignore this, testing mobile setup ok] | 08:52 |
SuperEngineer_ | [seems to work OK] | 08:52 |
brobostigon | morning boys and girls. | 10:33 |
daftykins | aww yeah one 65" OLED TV on the way :O | 11:34 |
SuperEngineer | ...and some cinema seats, popcorn and annoying that bloke wearing a hat will follow | 11:58 |
SuperEngineer | *that annoying | 11:59 |
SuperEngineer | BBC News reports: "A coach carrying dozens of tourists becomes trapped in a sinkhole when a water main bursts" | 12:02 |
SuperEngineer | Guess that TV arrived early!! | 12:02 |
SuperEngineer | Street couldn't take the extra weight :-O | 12:03 |
daftykins | :D | 12:04 |
daftykins | they're crazy light now, if it weren't for the bulk i'm sure i could lift this new one by myself | 12:04 |
daftykins | i can carry my 55" LED samsung from a couple of years back around by myself | 12:05 |
* SuperEngineer sticks with his theory | 12:06 | |
SuperEngineer | ...all those extra cinema goers using the big tv as a substitute | 12:06 |
daftykins | our cinema is so bad, i've preferred home viewing for years :> | 12:07 |
SuperEngineer | [don't forget to buy a popcorn machine | 12:07 |
daftykins | that would be nice | 12:08 |
* acheronuk sets mode +F1 | 12:17 | |
daftykins | yawn :> | 12:18 |
acheronuk | daftykins: that @ F1? if so, I can sympathise a bit, as in recent years I've struggled to care who wins | 12:20 |
* SuperEngineer also sets same mode. daftykins, acheronuk: motorised gladiators on any size tv... yum yum | 12:22 | |
SuperEngineer | last race of season, title tey to be decided, short odds for one of two... watch it and see | 12:22 |
SuperEngineer | *yet | 12:23 |
acheronuk | 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 |
SuperEngineer | ..and from one who was at the Britidh race: "You weren't there, man!" | 12:24 |
diddledan | m00 | 15:43 |
penguin42 | how is Nouveau these days? I notice there are quite a lot of cheap fanless Nvidia cards now | 17:43 |
marxjohnson | 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 |
marxjohnson | I'm clearly missing something big, because even a really simple rule isn't working. | 17:44 |
marxjohnson | I've got the following in /etc/udev/rules.d/99-disc-script.rules: | 17:46 |
marxjohnson | SUBSYSTEM=="block", KERNEL=="sr0", RUN+="touch /tmp/basic_rule_triggered" | 17:46 |
marxjohnson | 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:47 |
penguin42 | 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:48 |
penguin42 | 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:49 |
marxjohnson | penguin42: Right, but as I understand that rule should be triggered for any event from sr0, not just it's creation? | 17:51 |
penguin42 | marxjohnson: Hmm I'm not sure about that | 17:52 |
marxjohnson | 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/ | 17:59 |
diddledan | marxjohnson: did you restart udev? | 18:02 |
ali1234 | sudo udevadm control --reload-rules | 18:03 |
marxjohnson | diddledan: ali1234: yep, tried that | 18:05 |
ali1234 | i think penguin42 is right | 18:05 |
ali1234 | to run things when a disk is inserted you probably want to use udisks instead | 18:05 |
diddledan | also it looks like the command which that guy ended-up using included a detection on the variable DKD_MEDIA_AVAILABLE | 18:05 |
diddledan | SUBSYSTEM=="block", KERNEL=="sr0", ENV{DKD_MEDIA_AVAIABLE}=="1", RUN+="/usr/local/bin/detectdisc" | 18:06 |
diddledan | 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:06 |
diddledan | I believe udev rules only fire when the elements match. and then only fired once until the elements unmatch again. | 18:10 |
marxjohnson | 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 |
marxjohnson | ali1234: THanks, I'll look at udisks | 18:10 |
diddledan | 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:12 |
diddledan | now, what can I buy off ebay for at least £25? | 18:14 |
diddledan | (I got a £20-off when you spend £25+ voucher) | 18:14 |
marxjohnson | 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 |
marxjohnson | or rather, dont really know about it | 18:16 |
diddledan | 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 | 18:17 |
=== zmoylan-1i is now known as zmoylan-pi | ||
=== zmoylan-1i is now known as zmoylan-pi | ||
diddledan | I really need to rip-out my desk and cables and reinstall everything neater | 23:20 |
zmoylan-pi | and 15 minutes after you've finished you'll need to re add it to your todo list :-) | 23:38 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!