/srv/irclogs.ubuntu.com/2015/04/02/#ubuntu-desktop.txt

didrocksgood morning06:02
jhenkehi any firefox involved people here?06:39
Laneyhey hey!08:03
seb128hey Laney,  how are you?08:04
Laneytea, sun, #ubuntu-desktop08:04
Laneywhat more could anyone need?08:04
Laneyyou?08:05
Laneyoh, and fake friday!08:05
seb128coffee, blue sky, nothing to complain about today!08:05
seb128yeah, it's between troll day and troll day08:06
Laneychpe even applied my patch08:08
Laneywhat a world we live in08:08
didrocksgood morning Laney08:08
Laneyhey didrocks08:09
Laneywhat's happening?08:09
didrocksLaney: normal Thursday for me ;)08:10
didrockshappy that we found the systemd autopkgtests issue and now reverted in experimental08:11
Laneyoh yes, let's see if my container has network this morning ;-)08:11
Laneynope!08:19
darkxsthey laney, seb128 didrocks09:09
darkxstcan someone take a look at bug 1437150, more fallout from the adwaita-icon-theme switch09:10
ubot5bug 1437150 in apturl (Ubuntu) "nautilus samba sharing services failed to install" [Undecided,New] https://launchpad.net/bugs/143715009:10
Laneyok09:12
Laneywhat package does it try to install?09:12
seb128Laney, I'm unsure about your nautilus question from yesterday, why what got used?09:15
seb128Laney, the new .desktop? because I guess that's what upstream use as an autostart or is dbus activated09:16
seb128that's not something I did/know about, you did that update iirc :-)09:16
darkxstLaney, it tries to install some part of samba for the sharing09:17
Laneyyes - you've done some changes around this area recently so I thought you might know09:18
seb128well, I though we ought to use the new name09:20
seb128so I migrated the unity config, default&upgrade to use that09:20
Laneydarkxst: I just wanted to know what to uninstall to reproduce this09:20
seb128which makes the launcher matching work now with the running nautilus09:20
seb128but it creates an issue still with the dash09:20
seb128unsure what to do next09:21
Laneydoes it work if you swap the NoDisplay?09:22
darkxstLaney, probably just uninstall samba09:28
darkxstnot sure if this affects the ubuntu themes though, they may still have the legacy icons09:28
seb128Laney, I didn't try, but I guess, it would make the dash list the one used in the launcher/by nautilus09:29
Laneyif so, then maybe you can make nautilus.desktop be NotShowIn=Unity and org.gnome.Nautilus.desktop be OnlyShowIn=Unity09:30
Laneywhich should keep compatibility with panel/xfce/whateveritwas and work with your new stuff09:31
seb128Laney, hum, right09:33
=== greyback__ is now known as greyback
Laneyhmm10:18
didrocksLaney: I'm happy to use g_clear_error(), even if it doesn't match what other part of the code is doing11:36
didrocksLaney: I'm wanting to avoid using initctl for now, as it seems those things can be slow on the bq device (that's what I was doing first, when asking people with a bq to test)11:37
Laneyreally?11:40
didrocksLaney: yeah, I have this issue as well when using invoke-rc.d status already11:42
didrocksand as it's dbus sync call (apparently…)11:42
didrocksLaney: I'm rebuilding with g_clear_error11:42
didrocksLaney: reuploaded11:43
Laneyseems fast enough here11:44
Laneymeh11:44
Laneyit's really shit that we can't do correct solutions11:44
didrocksLaney: well, ask seb, he did the test11:44
Laneythanks for the other fix11:44
didrocks(on bq)11:44
didrocksLaney: TBH, the systemd one is the correct solution, and I hope the phone will switch to it soon enough11:44
Laneyit's about using the best interface available for the job11:45
didrocksthe best interface would have been to have a dbus one11:46
didrocksinstead of grepping on tools output or reading files11:46
Laneydoesn't exist though does it11:46
Laneybest interface *available*11:46
didrocksI disagree that grepping on output is better than reading a file11:46
Laneyif I edit this file and comment out the manual line11:47
Laneythen you give the wrong answer now11:47
didrocksLaney: well, it was giving the wrong answer before as well (the fact to create the file would have given the wrong answer)11:48
didrocksand same with the enabled even before11:48
LaneyI'd choose right over less wrong11:51
Laneybut okay11:51
larsuLaney, the idealist11:56
=== alan_g is now known as alan_g|lunch
GunnarHjinfinity: Thanks for rescuing me yesterday. Embarrassing mistake this late in the cycle. :(12:09
Laneylarsu: is there an enviornment variable to change the icon theme à la GTK_MODULES?12:15
Laneycan't see anything in the docs, so I guess not12:16
=== MacSlow is now known as MacSlow|lunch
larsuLaney: XDG_DATA_DIRS12:36
Laneyand copy the one I want to use?12:39
larsuoh wait, I misread sorry12:40
larsuyou want a different theme, not a different search path12:40
larsuthat's a xsetting, no?12:40
Laneyye12:40
Laneyjust wanted to override it once12:41
* larsu looks at the source12:41
=== alan_g|lunch is now known as alan_g
larsuLaney: no such thing exists. You could set it in the overrides key of the xsettings g-s-d plugin12:42
larsubut then, you might as well change the icon-theme key itself12:43
* Laney nods12:43
LaneyI just did that12:43
Laneythanks for checking!12:43
larsumaybe it makes sense to add that?12:44
larsuI've never felt a need for it myself though12:44
LaneyI use GTK_THEME from time to time12:44
Laneyprobably would use an icon one less frequently12:44
larsuwe have kind of changed the definition of theme anyway12:46
larsuit includes icons now12:46
larsuat least in the user-facing ui12:46
larsumaybe it makes sense to formalize that and make GTK_THEME respect it?12:47
Laneyyou mean our UI sets both?12:47
larsuyes. It sets a lot of things12:47
Laneyhow does this work?12:47
Laneydoes the theme say what its matching icon theme is?12:47
larsuthere are files somewhere in /usr/share that describe a full theme12:48
* larsu tres to find them12:48
Laneyya index.theme has this12:48
larsuindeed12:49
larsunot saying we should teahc gtk about that file12:49
larsubut we could think about it12:49
Laneywhat does consume it now?12:50
larsua myriad of things from xsettings, gsettings, and env variables12:51
* Laney feels hungry and realises he hasn't eaten yet13:01
didrocksLaney: quick, go eating! :)13:03
=== MacSlow|lunch is now known as MacSlow
Laneygot to eat outside14:08
LaneySPRING!14:08
ogra_in the snow yu mean ?14:16
Laneydon't curse me14:16
Laneysunny, no wind14:16
Laneyit was at least 10°!14:16
ogra_nah, i cant blame you that it snows in germany since two dasys :)14:16
ogra_*days14:16
Laneyyou need to get yourself a jet stream14:17
ogra_heh, my house is that tall14:18
ogra_*isnt14:18
Laneyseb128: do you know if https://bugzilla.gnome.org/show_bug.cgi?id=744282 got looked at further?15:51
ubot5Gnome bug 744282 in gio "gvfs-open for application/x-virt-viewer changed behaviour between 2.40 and 2.42" [Normal,New]15:51
seb128Laney, no, desrt never got back to me here15:54
Laneythat guy!15:57
=== CrazyMelon is now known as CrazyLemon
seb128desrt, ^ can you comment on that please?16:09
desrtinteresting16:10
desrtiirc that conversation was quite old16:11
desrtseb128: i'd be interested to know if gedit is installed in ~/.local/share or ~/.config somehow16:13
seb128desrt, yeah, well it's making apport files open in gedit rather than being sent to launchpad16:13
desrtlike in a mime config file16:13
seb128no it's not16:13
desrtnot even in the mimeapps?16:13
seb128it's just that glib prefers a default handler for a subtype than an handler for that exact type16:13
desrtoh.16:13
seb128text/x-crash has only one handler, apport-gtk.desktop16:14
seb128but it's a subtype of text/plain16:14
desrtbut it's not in defaults.list16:14
seb128which has gedit as default handler16:14
seb128no16:14
desrtright16:14
desrtokay16:14
desrtthat's a different issue from what i think i was talking to teuf about16:14
seb128but it's the only handler for that exact type16:14
desrtand i'm not 100% sure i agree that the behaviour is wrong16:14
seb128I don't think so16:14
seb128so if you have 1 handler for the exact type that should not be the one used?16:14
seb128lot of types subclass text/plain16:15
desrtnot if you explicitly listed a default for the less specific type16:15
seb128it seems wrong to prefer gedit rather than the "native" handler16:15
desrtwell, you could just as well add the native handler to the defaults list16:15
seb128that's a workaround16:15
desrti'd say it's the correct solution16:15
desrtbut to be honest, i'm not sure16:15
desrtand i don't think the spec says one way or the other16:15
seb128so you say it's normal that .ui files open in gedit rather than glade if glade is not set default16:16
seb128or apport files in gedit rather than apport16:16
seb128that seems backward to me16:16
desrtgimme a sec.  reading the spec.16:16
seb128thanks16:16
desrtthe spec is totally oblivious to inheritence and aliasing :(16:17
seb128well to me it would make sense to pick an handler for the exact type if possible, whatever the case is16:17
desrtthe patch to make the spec do what you want would be smaller than the patch to make the spec do the other thing16:17
desrtso let's assume you're right :p16:17
seb128lol16:17
desrti'll look into it today16:18
seb128thanks16:18
nrosvallHi, I'm working on a quite big software project. Now when Unity 8 is coming and all that new stuff I'm wondering how much Unity 7 and 8 api will be different16:23
nrosvallsay indicators? will indicators written for unity 7 work with unity 8?16:23
nrosvall(not sure if this is the right place to ask)16:24
desrtnew favourite bug summary: " many aspects of human life have no main category. "16:32
desrtalong with a bunch of other bugs advocating the creation of main categories for things like "farm management"16:33
* desrt doesn't even know what a main category is, but is pretty sure 'farm management' isn't one16:34
=== alan_g is now known as alan_g|EOW
desrtseb128: aside: how goes the migration from defaults.list?17:21
seb128desrt, we didn't do anything for that, I've it somewhere on my list of things we should look at but forgot the detauls so needs to sit down and read what we said on that topic back then17:37
desrtbasically, it ought to be renamed to gnome-mimeapps.list17:39
desrtor unity-mimeapps.list, accordingly17:40
desrtie: defaults depend on which desktop is logged in17:40
seb128desrt, oh, right, that's good, we need to do that next cycle ... or maybe while in London ;-)17:43
desrtit is also (theroetically) supported by qt17:43
desrtdefaults.list has never been17:43
desrtseb128: you've thrown me into some fun territory here18:03
desrtthe "consider each type separately logic" obvious logic gets non-obvious with negative results18:03
desrtlike if i have an app that is listed as both text/html and text/plain18:03
desrtand someone has removed the text/html association18:04
desrtthat app could still end up opening the file on the basis of the text/plain association, if that one was not also explicitly blacklisted18:04
desrtin that case, this "handle the subtype before moving up to the supertype" logic breaks down a bit18:05
desrtseems the spec will need some deeper clarifications...18:07
desrtit gets extra hard when the super-type match comes from the defaults list but the "removed" association was made via the more specific type.  the code has absolutely no way of dealing with this possibility, at present18:08
larsudesrt: do people even use all those features? Nautilus only lets you change associations, no? Not explicitley remove them18:11
seb128I don't think we have any UI that let you remove associations18:11
seb128we just have a way to set defaults18:12
larsuright18:12
larsuand that makes this whole thing *a lot* easier18:12
seb128indeed18:12
seb128in practice you just want to say "open that type of file with this software"18:12
* larsu knows that desrt likes to solve the tricky problems18:12
larsuseb128: ya...18:12
seb128mitya57, thanks for sponsoring those u-s-d/gnome-desktop3 SRUs18:16
desrtyou can definitely remove associations18:17
seb128desrt, how/where?18:17
seb128you can in the spec, I just don't think we have an UI for it18:17
desrtnautilus18:17
desrtright click a file, open properties18:17
desrtgo to the "open with" tab18:17
desrtright click an app18:17
desrt"forget association"18:17
larsudude, install ubuntu18:17
seb128right click doesn't do anything here18:18
desrtwell, it does on upstream nautilus18:18
larsuhm/18:18
desrt(or at least nautilus as packaged by debian)18:18
larsuseb128: right click / propeerties works for me18:18
seb128new feature in 3.16?18:18
seb128larsu, I don't have a context menu on right click here?18:18
larsudesrt: in any case, that's a questionable feature18:18
desrti don't think so18:18
desrtif a user doesn't like an app they may very well want to break an association made at the system level18:19
larsuseb128: you don't have a context menu in nautilus?! Craziness18:19
desrtlarsu: i think he means on the apps in the open-with tab18:19
larsudesrt: no, more likely they'll want to set a different app18:19
desrtseb128: it doesn't work for the default app -- only the others18:19
desrtunder "recommended applications"18:19
larsuoh18:19
larsuhm, it works for *some* of the others18:20
desrtanyway18:20
larsumeh, it's neither discoverable nor useful18:20
desrti can see what you mean18:20
larsuseb128 and I didn't even know it existed18:20
desrtremoving apps is a bit weird18:20
desrtbut it's something that we have in the spec since prehistoric times18:20
larsuand considering that it makes the implementation considerably simpler18:20
larsu...18:20
desrtsince before it was a spec, frankly18:20
larsunothing we can't change18:21
desrtdunno18:21
desrtthe ability to remove associations is also API18:21
desrtalthough we could redefine that to "this is used for breaking incorrect associations that the user made themselves"18:21
desrtnot for blacklisting stuff made at a different level18:21
larsuthe most sacred asset we have. API. We never break or deprecate any of it!18:21
desrtie: if you say that gedit can open jpegs18:21
desrtand later you decide that this wasn't a good idea after all18:21
desrtthen you can fix it18:22
desrtbut if gedit claims MimeType=image/jpeg in its desktop file, it is there forever18:22
desrtdoing this would simplify things a fair bit....18:22
larsuif gedit claims it's name is GEdti in its desktop file, it is there forever18:23
desrtlarsu: where were you when we were discussing this? :p18:23
larsudesrt: glad to save you some man-hours by dropping by this channel and quipping about something I have no business in18:23
desrti guess none of us at the table, at the time, really considered just axing that part of the spec18:23
larsudesrt: not sure. When did you discuss this?18:23
larsuin NUR?18:24
desrtya18:24
desrt(NUE, btw)18:24
larsuoh. thanks.18:24
desrtyou were there :p18:24
larsudrunk maybe? Sleeping? Talking to rishi?18:24
desrtmaybe18:24
desrtit was mostly david and i arguing over it18:24
desrti guess we could say that handling of removed apps is optional18:24
larsusounds good to me :)18:25
* desrt is not yet convinced18:25
larsuI bet KDE is of a different opinion18:25
desrt:)18:25
larsuI don't know enough to convince you all the way I'm afraid18:25
desrti'll open a bug and see if anyone says anything18:25
larsumaybe seb128 can help18:25
larsudesrt: I love how this works sometimes... I didn't even think much when typing this into here18:26
larsuwas eating some bread and idly reading the last few lines of backlog18:26
desrtya... having some outside-the-box stuff injected is often helpful18:29
desrtunfortunately i don't think it's actually helpful for today18:29
desrtsince i'm certainly not making this change in glib now18:29
desrtso i'll still have to implement this mess18:29
larsuwhy?18:29
desrtbut the one benefit is that i can tell myself that i don't have to bother trying to explain it consistently in the spec18:29
desrtbecause seb wants a bug fixed now, and this 'kill remove' thing is going to take some discussion18:30
larsuwhat's the bug?18:30
* larsu does like a five-year old and asks all the whys18:30
desrtwe prefer a default app for text/plain over a non-default (but available) app for a more specific type18:30
desrtlike if gedit handles text/plain and we have firefox installed, but not marked as a default for text/html18:31
desrtthen gedit would be picked as the default for text/html18:31
desrtsince there is no "default" for text/html18:31
larsuthat's a bug indeed, but I don't see how that's related18:31
larsuhm, I think I can imagine cases where you don't want this18:31
larsuah no, should be fine18:32
desrtthe problem comes when we have gedit with its association explicitly broken for text/httml, but still capable of handling text/plain18:32
desrtdo we consider the text/html "removed association" as effecting gedit's ability to handle text/plain for a file that happens to be html?18:32
desrtor do we say "well, no... we didn't find anything for text/html, and it still handles text/plain... so let's do it!"18:32
desrtie: we move towards a place where we consider each mimetype separately, in sequence, from most specific to least specific18:33
larsuhard to say18:33
desrtbut it seems that there is a reason to want this process to be not-entirely-separated18:33
larsuI think if we don't have any other app, we should let gedit open it18:33
larsubut then, I think this whole removal thing is stupid18:33
desrtya...18:33
desrtkilling off remove would solve so many open questions like this18:34
desrtand you're right -- it's pretty borderline, as far as features go18:34
desrtit solves another more general annoying problem as well18:37
desrtwith respect to user intent18:37
desrtif i right click on a html file and say "remove association for gedit"18:37
desrtam i intending to do that for html files, or for all text files?18:37
desrtsince gedit doesn't really explicitly list text/html18:37
desrtit's sort of a random detail that the file that i used to open that dialog happened to be html18:37
desrtwhat if it was something even more texty, like a desktop file, but still had its own mime entry?18:38
desrtso now i have to take care to find a real 'text/plain' text file in order to do the operation i want?18:38
larsuhaha yeah18:38
larsuthat's a problem with mime types anyway: some of them are more "alike" than others18:39
desrtalso reduces some of the complexities in dealing with mime aliases18:41
=== meetingology` is now known as meetingology
=== siel_ is now known as siel
=== alexabreu is now known as alex-abreu|off
=== FatBack changed the topic of #ubuntu-desktop to: penis
=== cyphermox changed the topic of #ubuntu-desktop to: Welcome to the Desktop Team | https://wiki.ubuntu.com/DesktopTeam | For support please join #ubuntu | Issues with GTK 3.14? Check here: http://pad.ubuntu.com/gtk-update-v
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!