Sun02Sep2018 1515 < wxl:#lxqt-dev> agaida: excuse me if this is the wrong forum for this, but are you saying that https://bugs.launchpad.net/bugs/1788542 is a general lxqt bug? Sun02Sep2018 1516 <+agaida:#lxqt-dev> it's a general problem in application and mime handling Sun02Sep2018 1516 < wxl:#lxqt-dev> so a more system-wide problem is what you're suggesting? Sun02Sep2018 1516 <+agaida:#lxqt-dev> not limited to LXQt - heck, you can even notice that in Windows Sun02Sep2018 1517 < wxl:#lxqt-dev> siiiiiiiigh Sun02Sep2018 1517 <+agaida:#lxqt-dev> :P Sun02Sep2018 1517 <+agaida:#lxqt-dev> it's a bit complicated Sun02Sep2018 1518 <+agaida:#lxqt-dev> some applications provide 'hints' for the applications they handle Sun02Sep2018 1518 <+agaida:#lxqt-dev> the last installed application for a mimetype wins Sun02Sep2018 1518 < wxl:#lxqt-dev> oh wow jeez Sun02Sep2018 1519 <+agaida:#lxqt-dev> maybe you remember the funny bug if audacious handle nodes Sun02Sep2018 1519 <+agaida:#lxqt-dev> and try to play a directory :D Sun02Sep2018 1519 < wxl:#lxqt-dev> do you think it Sun02Sep2018 1520 <+agaida:#lxqt-dev> thats a shortcoming in the freedesktop definiton for mime-types - one cant provide priorities in desktop files Sun02Sep2018 1520 < wxl:#lxqt-dev> s something we could do through default-settings? Sun02Sep2018 1520 < wxl:#lxqt-dev> or does that run the risk of it being overwritten by something else? Sun02Sep2018 1520 <+agaida:#lxqt-dev> erm - dunno, where and in which order the things are read Sun02Sep2018 1521 < wxl:#lxqt-dev> alright i'll play with it and see what i can figure out. thanks for the hints Sun02Sep2018 1521 <+agaida:#lxqt-dev> strace xdg-open might give a clue Sun02Sep2018 1521 < wxl:#lxqt-dev> btw has anyone ever filed a bug against freedesktop to get priorities added? Sun02Sep2018 1522 <+agaida:#lxqt-dev> and ofcourse - ir there is a mimetype list in ~/.config - that would help too, no program will override it Sun02Sep2018 1522 <+agaida:#lxqt-dev> best bet is to talk with tsujan, palinek or luis about Sun02Sep2018 1522 < wxl:#lxqt-dev> ok Sun02Sep2018 1522 < wxl:#lxqt-dev> thanks again Sun02Sep2018 1523 <+agaida:#lxqt-dev> and i guess there was more than one rant about - i know this dumbfuck sind 2009 - was some of the first things i encountered in linux Sun02Sep2018 1524 < wxl:#lxqt-dev> that's what i feared :) Sun02Sep2018 1525 <+agaida:#lxqt-dev> if you think about it more - it isn't easy to solve, best would be a kind of alternatives like for applications - and even this alternatives system is only in debian and derivatives Sun02Sep2018 1525 < wxl:#lxqt-dev> yeah Sun02Sep2018 1526 <+agaida:#lxqt-dev> and nobody really knows it or is able to create a alternative by hand :D Sun02Sep2018 1527 <+agaida:#lxqt-dev> nice thing about: if this follows the normal xdg handling there should be a place inbetween the upstream and user stage distributions could use Sun02Sep2018 1528 <+agaida:#lxqt-dev> should be traceble with strace - and maybe gio documentation too Sun02Sep2018 1530 -!- Irssi: You are now talking in #lxqt-dev Sun02Sep2018 1530 < wxl:#lxqt-dev> well i guess that will tell me which application wins Sun02Sep2018 1530 < wxl:#lxqt-dev> it will be a whole different story trying to move the order of installation around Sun02Sep2018 1530 <+agaida:#lxqt-dev> back to the orignal problem - an example: feh, lximage-qt, nomacs, gimp and gview can handle png or jpg - which will win and why Sun02Sep2018 1531 <+agaida:#lxqt-dev> and thats the point where xdg jumps in: there will be some kind of lists somewhere Sun02Sep2018 1532 <+agaida:#lxqt-dev> and these lists will be read in a certain order - last setting will win Sun02Sep2018 1532 <+agaida:#lxqt-dev> to make it more fun we don't know in which order which entry is in which list :D Sun02Sep2018 1533 <+agaida:#lxqt-dev> so - what could a distibution do to solve that - right, place an own list after the generated ones Sun02Sep2018 1534 < wxl:#lxqt-dev> as long as that's easy enough. one of the problems is i don't think we have a lot of control over the order of events with our seeds/germinate Sun02Sep2018 1534 <+agaida:#lxqt-dev> so the last point of failure is the user - and the user can create mimetype lists with any program what can handle that - lxqt-file-associations is an example Sun02Sep2018 1535 <+agaida:#lxqt-dev> beside of this generated things maybe there is a second or third file that will be searched and read if found after these lists :D Sun02Sep2018 1536 <+agaida:#lxqt-dev> so - ultima ratio would be a list placed in /etc/skel/.config/foo.list Sun02Sep2018 1536 < wxl:#lxqt-dev> oh thanks for reminding me Sun02Sep2018 1537 < wxl:#lxqt-dev> i was trying to remember what that darn path was :) Sun02Sep2018 1537 <+agaida:#lxqt-dev> if named with the right foo this list will win Sun02Sep2018 1537 < wxl:#lxqt-dev> you mean i should aim for last alphabetically? :) Sun02Sep2018 1515 < wxl:#lxqt-dev> agaida: excuse me if this is the wrong forum for this, but are you saying that https://bugs.launchpad.net/bugs/1788542 is a general lxqt bug? Sun02Sep2018 1516 <+agaida:#lxqt-dev> it's a general problem in application and mime handling Sun02Sep2018 1516 < wxl:#lxqt-dev> so a more system-wide problem is what you're suggesting? Sun02Sep2018 1516 <+agaida:#lxqt-dev> not limited to LXQt - heck, you can even notice that in Windows Sun02Sep2018 1517 < wxl:#lxqt-dev> siiiiiiiigh Sun02Sep2018 1517 <+agaida:#lxqt-dev> :P Sun02Sep2018 1517 <+agaida:#lxqt-dev> it's a bit complicated Sun02Sep2018 1518 <+agaida:#lxqt-dev> some applications provide 'hints' for the applications they handle Sun02Sep2018 1518 <+agaida:#lxqt-dev> the last installed application for a mimetype wins Sun02Sep2018 1518 < wxl:#lxqt-dev> oh wow jeez Sun02Sep2018 1519 <+agaida:#lxqt-dev> maybe you remember the funny bug if audacious handle nodes Sun02Sep2018 1519 <+agaida:#lxqt-dev> and try to play a directory :D Sun02Sep2018 1519 < wxl:#lxqt-dev> do you think it Sun02Sep2018 1520 <+agaida:#lxqt-dev> thats a shortcoming in the freedesktop definiton for mime-types - one cant provide priorities in desktop files Sun02Sep2018 1520 < wxl:#lxqt-dev> s something we could do through default-settings? Sun02Sep2018 1520 < wxl:#lxqt-dev> or does that run the risk of it being overwritten by something else? Sun02Sep2018 1520 <+agaida:#lxqt-dev> erm - dunno, where and in which order the things are read Sun02Sep2018 1521 < wxl:#lxqt-dev> alright i'll play with it and see what i can figure out. thanks for the hints Sun02Sep2018 1521 <+agaida:#lxqt-dev> strace xdg-open might give a clue Sun02Sep2018 1521 < wxl:#lxqt-dev> btw has anyone ever filed a bug against freedesktop to get priorities added? Sun02Sep2018 1522 <+agaida:#lxqt-dev> and ofcourse - ir there is a mimetype list in ~/.config - that would help too, no program will override it Sun02Sep2018 1522 <+agaida:#lxqt-dev> best bet is to talk with tsujan, palinek or luis about Sun02Sep2018 1522 < wxl:#lxqt-dev> ok Sun02Sep2018 1522 < wxl:#lxqt-dev> thanks again Sun02Sep2018 1523 <+agaida:#lxqt-dev> and i guess there was more than one rant about - i know this dumbfuck sind 2009 - was some of the first things i encountered in linux Sun02Sep2018 1524 < wxl:#lxqt-dev> that's what i feared :) Sun02Sep2018 1525 <+agaida:#lxqt-dev> if you think about it more - it isn't easy to solve, best would be a kind of alternatives like for applications - and even this alternatives system is only in debian and derivatives Sun02Sep2018 1525 < wxl:#lxqt-dev> yeah Sun02Sep2018 1526 <+agaida:#lxqt-dev> and nobody really knows it or is able to create a alternative by hand :D Sun02Sep2018 1527 <+agaida:#lxqt-dev> nice thing about: if this follows the normal xdg handling there should be a place inbetween the upstream and user stage distributions could use Sun02Sep2018 1528 <+agaida:#lxqt-dev> should be traceble with strace - and maybe gio documentation too Sun02Sep2018 1530 -!- Irssi: You are now talking in #lxqt-dev Sun02Sep2018 1530 < wxl:#lxqt-dev> well i guess that will tell me which application wins Sun02Sep2018 1530 < wxl:#lxqt-dev> it will be a whole different story trying to move the order of installation around Sun02Sep2018 1530 <+agaida:#lxqt-dev> back to the orignal problem - an example: feh, lximage-qt, nomacs, gimp and gview can handle png or jpg - which will win and why Sun02Sep2018 1531 <+agaida:#lxqt-dev> and thats the point where xdg jumps in: there will be some kind of lists somewhere Sun02Sep2018 1532 <+agaida:#lxqt-dev> and these lists will be read in a certain order - last setting will win Sun02Sep2018 1532 <+agaida:#lxqt-dev> to make it more fun we don't know in which order which entry is in which list :D Sun02Sep2018 1533 <+agaida:#lxqt-dev> so - what could a distibution do to solve that - right, place an own list after the generated ones Sun02Sep2018 1534 < wxl:#lxqt-dev> as long as that's easy enough. one of the problems is i don't think we have a lot of control over the order of events with our seeds/germinate Sun02Sep2018 1534 <+agaida:#lxqt-dev> so the last point of failure is the user - and the user can create mimetype lists with any program what can handle that - lxqt-file-associations is an example Sun02Sep2018 1535 <+agaida:#lxqt-dev> beside of this generated things maybe there is a second or third file that will be searched and read if found after these lists :D Sun02Sep2018 1536 <+agaida:#lxqt-dev> so - ultima ratio would be a list placed in /etc/skel/.config/foo.list Sun02Sep2018 1536 < wxl:#lxqt-dev> oh thanks for reminding me Sun02Sep2018 1537 < wxl:#lxqt-dev> i was trying to remember what that darn path was :) Sun02Sep2018 1537 <+agaida:#lxqt-dev> if named with the right foo this list will win Sun02Sep2018 1537 < wxl:#lxqt-dev> you mean i should aim for last alphabetically? :) Sun02Sep2018 1537 < wxl:#lxqt-dev> i can see it now: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzz.list Sun02Sep2018 1538 <+agaida:#lxqt-dev> downside - normal operations will never change the list - and thats bad, because what will happend if in this list is an application the user just purged :F Sun02Sep2018 1538 <+agaida:#lxqt-dev> P even Sun02Sep2018 1538 < wxl:#lxqt-dev> oh we could just make a postrm for every package XD Sun02Sep2018 1539 <+agaida:#lxqt-dev> nope Sun02Sep2018 1539 <+agaida:#lxqt-dev> user data in the user home dir are a taboo Sun02Sep2018 1539 < wxl:#lxqt-dev> oh nasty Sun02Sep2018 1540 < wxl:#lxqt-dev> not like i was serious, but… Sun02Sep2018 1541 <+agaida:#lxqt-dev> i know, it did this with the user dirs one time - i had no other choice - and our users "loved" me for this Sun02Sep2018 1541 < wxl:#lxqt-dev> hahahahah Sun02Sep2018 1541 < wxl:#lxqt-dev> is that a "fix" you have since retained? Sun02Sep2018 1542 <+agaida:#lxqt-dev> nope - but i was young and needed the money ...