/srv/irclogs.ubuntu.com/2015/02/10/#ubuntu-unity.txt

=== snadg3 is now known as snadge
=== jamesh_ is now known as jamesh
tsdgeoshe lol09:03
tsdgeossomeone has translated Aim as if it was a word09:03
tsdgeosnot a chat network09:03
tsdgeosso now i can give my "PropĆ³isito" name09:03
* tsdgeos opens a bug09:03
seb128why is that string even marked as translatable?09:12
tsdgeosi dont' know09:23
tsdgeos:D09:23
tsdgeoshttps://code.launchpad.net/~aacid/address-book-app/aim_is_not_aim/+merge/24916109:24
=== vrruiz_ is now known as rvr
robertoperHi  I have a question about this bug: https://bugs.launchpad.net/ubuntu/+source/unity8-desktop-session/+bug/132035610:27
ubot5Launchpad bug 1320356 in unity8-desktop-session (Ubuntu) "mir-session doesn't loads" [Critical,Confirmed]10:27
robertoperIs there a workaround?10:27
Saviqrobertoper, there's not much detail on the bug, is it 'unity8-desktop-session-mir' that you have installed?10:29
robertoperYes of course10:29
Saviqrobertoper, so you say you're not even taken away from the lightdm screen? looks like unity-system-compositor never started10:30
Saviqrobertoper, if you could clear /var/log/lightdm, try again, and see if there are any interesting log messages there10:30
Saviqrobertoper, also, what's your GPU?10:30
robertoperMy GPU is GTS25010:31
robertoperI see the log now10:32
Saviqrobertoper, that's nvidia?10:34
robertoperSaviq: yes10:34
Saviqrobertoper, that would be your problem, proprietary drivers don't yet support Mir10:34
robertoperI use nouveau because of tthis10:35
robertopersorry, but now I need to go, but I'll be back soon10:37
facubatistaHola11:23
tsdgeosSaviq: Cimi: this is what we wanted, right? https://code.launchpad.net/~aacid/unity8/hack_location_data_i18n/+merge/24917411:31
Saviqtsdgeos, looks good enough11:32
Saviqtsdgeos, maybe add TODO/FIXME mentioning the bug#11:33
tsdgeossure11:33
tsdgeospushed11:35
CimiI need help with this scope backend signal, if someone can...12:10
Cimitrying to diggin in, blocked on C++ as usual12:11
=== MacSlow is now known as MacSlow|lunch
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|lun
=== MacSlow|lunch is now known as MacSlow
Saviqwhoever made our CI jobs relatively stable again: THANK YOU :D14:07
Cimi:D14:11
Cimiwho can help me with this model triggered method?14:11
=== alan_g|lun is now known as alan_g
tsdgeosSaviq: it was the fix for carousel not loading all its child, at least in qmluitests side14:23
tsdgeosCimi: i can help you, what do you need14:23
Saviqtsdgeos, yeah, that I know we can get done, AP is something I didn't have heart to look into14:23
Cimitsdgeos, I want to fake this triggered method of the model14:24
Cimitsdgeos, if I understood, we need the preview widgets to emit a signal with an action (open_click) and an uri14:26
Cimitsdgeos, then we need to mock the model to react on this open_click / uri14:26
tsdgeosthe first already happens, no?14:26
Cimitsdgeos, not in the mocks14:30
tsdgeosCimi: not in the mocks because there's no button14:31
tsdgeoswhat you need to do is make the mock model return some button14:31
tsdgeosand then preview will have a button14:31
tsdgeosand then it'll happen14:31
tsdgeosand call the triggered signal14:32
Cimitsdgeos, but not with open_click14:32
tsdgeosCimi: with whatever you set in your mock for it to do14:33
tsdgeosyou don't even need it to be open_click14:33
tsdgeosyou control the mock14:33
tsdgeosso it can be "givemethisrandomscope"14:33
tsdgeosand then from the mock if you get "givemethisrandomscope"14:33
tsdgeosyou do the openScope/gotoScope14:33
tsdgeosno?14:34
Cimitsdgeos, but somewhere I think the model calls givethisrandomscope14:34
Cimitsdgeos, so I read click scope code, and it calls open_click [uri]14:35
Cimitsdgeos, but in Preview.qml, to this onTriggered the model is called14:36
Cimitsdgeos, then I lost the track and I don't know how magically we have the openScope signal14:36
tsdgeosok, let me write it up somewhere14:36
mterrydednick, heyo!  You reviewed https://code.launchpad.net/~mterry/unity8/greeter-profiles/+merge/237155 back in the day -- it's been revived (with less features) and I wondered if you would mind giving it another go?14:37
tsdgeossee if i can explain it well enough14:37
mterrydandrader_, mzanetti: I'm looking for someone to review my greeter refactor branch.  It's a big one.  Do either of you have time this week?14:38
dandrader_mterry, I would like to review it14:38
mzanettiworks for me :)14:38
mterrydandrader_, awesome -- you actually had some comments in there before.  here's the link again: https://code.launchpad.net/~mterry/unity8/greeter-refactor/+merge/24882914:38
dandrader_mterry, I will get to it at some point this week14:38
* dandrader_ claims the MP14:39
=== dandrader_ is now known as dandrader
mterrydandrader_, thanks!  I've tested it myself of course, but there is the high potential for regressions.  So don't be gentle  :)14:39
dandraderI'm not know for my gentleness :)14:40
dandraderknown14:40
mterry:)14:40
Cimimterry, I noticed that you can see the infographics on the passcode screen14:42
mterryCimi, in which branch?14:42
Cimimterry, rtm?14:42
mterryCimi, oh huh?  What do you mean by see it?  Like, it's sitting behind the pin entry screen?14:43
Cimimterry, not the entire infographics, just a edge of the circles14:43
Cimimterry, are passcode entry and the infographics horizontally on the same page?14:43
Cimimterry, in the case of the phone?14:44
Cimibecause tablet, yes14:44
mterryCimi, no not on same widget14:44
Cimimterry, well, in trunk you can see the inforgraphics circles go outside the screen14:46
mterryCimi, oh!  I see, the circles are so big, they overlap edge of screen and so they peek out from edge on the passcode entry?14:47
Cimimterry, yes http://i.imgur.com/X3TsyC9.jpg14:48
mterryCimi, ah thanks -- looks like some piece needs the clip: true property14:48
mterryCimi, will look at that today14:49
Cimimterry, the locker for sure14:49
Cimi:)14:49
tsdgeosCimi: http://paste.ubuntu.com/10159405/ does that make sense?14:49
mterryCimi, do you know if there's a bug for that overlap thing already?15:07
Cimimterry, probably not15:15
mterryCimi, i filed bug 142033615:20
ubot5bug 1420336 in unity8 (Ubuntu) "Infographic bubbles can overlap edge of welcome screen, bleed into lockscreen" [Undecided,New] https://launchpad.net/bugs/142033615:20
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
dednickmterry: sure. what was the reason behind the delay of it?15:48
mterrydednick, design issues -- which still aren't resolved, so I took out any actual user-visible changes for the moment, but left the backend work, ready to be used (and will be used for a different effort: the split greeter)15:49
dednickmterry: you dont seem to be testing the dynamic switching15:55
mterrydednick, no...  well I'm not using it right now so I figured I'd skip that test15:56
dednickmterry: heh. well that wont happen!15:56
mterryI can see an argument for including a version of the test anyway15:56
mterrydednick, what do you mean?15:57
dednickmterry: i mean that when we eventually do use it, there wont be a test added. it's just assumed to work since the functionality exists.15:57
mterrydednick, :)  I left a test with a skip() call at it's top for it.  But fair...15:58
mterrydednick, let me do a version of that test that forces the change15:58
dednickmterry: should be an easy one though. just merge two tests into one. testPluginInterfaceProfile1 & testPluginInterfaceProfile215:58
mterrydednick, wait...  I think I added one like that?15:58
mterrylet me look at branch again15:58
mterrydednick, test_shellProfileChangesReachIndicators ?15:59
dednickmterry: you added a test for the greeter changing the profile, but not the indicator manager.15:59
mterrydednick, that goes through the manager15:59
mterrydednick, greeter->manager->indicators15:59
mterryOr actually greeter->model->manager->indicators16:00
dednickmterry: hm. not exactly a unit test though16:00
mterrydednick, I can test a switch in tests/plugins/Unity/Indicators/indicatorsmanagertest.cpp16:01
mterrydednick, let me add one16:01
dednickmterry: thanks16:02
mterrydednick, done16:05
dednickmterry: thanks.16:07
Saviqmterry, there is a bug for the infographic bleed somewhere already... but for the life of me can't find it16:11
mterryhuh16:11
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD
dandradermterry, taking a look at your greeter refactoring now18:27
dandradermterry, just run "make tryGreeter". I get a black screen on the left side. clicking the "show greeter" button has no visible effect. Is that expected?18:28
rubbieanyone available here for my question ?18:57
rubbieRunning Unity 7.2.2 on Ubuntu 14.04 "trusty" ; I want an icon on the desktop (NOT in the Launcher), and this for all users. This must be achieved with command-line instructions only (no GUI manipulations)19:00
rubbiehiya bschaefer19:02
bschaeferrubbie, hello19:02
rubbieI am trying to find a place with many people knowledgable about Unity tweakings19:03
rubbieRunning Unity 7.2.2 on Ubuntu 14.04 "trusty" ; I want an icon on the desktop (NOT in the Launcher), and this for all users. This must be achieved with command-line instructions only (no GUI manipulations)19:03
bschaeferwell each user has its own desktop19:04
bschaeferas far as i know19:04
rubbieyes, each user has his own $HOME/Desktop19:05
rubbiebut there are of course also system-wide settings19:05
rubbiedefaults19:05
rubbiesuch as the Launcher contents19:05
bschaeferthe launcher stuff is all done based on /usr/share/applications/*.desktop19:06
bschaeferwhere it gets it icons and stuff19:06
rubbieso I need to find out how, just like what's configured as default applications in the Launcher, how I can force an icon to appear on each user's desktop background19:06
rubbietrue, that's for the Launcher19:06
bschaeferthat im not sure about, maybe Trevinho knows?19:06
rubbieHow about getting an icon on the background of all users19:07
bschaeferthat im not sure about either :(19:07
bschaeferrubbie, maybe this helps? http://askubuntu.com/questions/142159/desktop-shortcut-to-create-a-new-desktop-shortcut-doesnt-do-anything19:07
bschaeferthough im not super sure sorry!19:08
rubbiethx bschaefer. The page at that URL describes how to place an application icon on one (not all) user's desktop via  mouse clicks ; altough that will work, I want it to be there per default for all users. So it needs to be set/forced in the system defaults, just like you do for the Launcher19:12
rubbiesome new people joined this group, so please allow me to re-phrase my question of some minutes ago : Running Unity 7.2.2 on Ubuntu 14.04 "trusty" ; I want an icon on the desktop (NOT in the Launcher), and this for all users. This must be achieved with command-line instructions only to have effect for all users (no GUI manipulations per user)19:25
ChrisTownsendrubbie: I have a thought, but I don't know what restraints you may be under for this.  My thought is to use a script and get all directories under /home and then copy the file in question to /home/$(SOMEUSER)/Desktop, but this requires root to do this and also doesn't help if a new user is created.19:36
ChrisTownsendAnd the file's owner will need to be changed to match who owns the particular home directory, otherwise it would be owned by root.19:37
rubbieChris, thx for responding. Indeed that's possible to do, my scripts manage the user creations and indeed could directly place the file in their $HOME/Desktop. However, since they own it, they could easily remove it as well.19:40
rubbieIs there a way to lock what's in their $HOME/Desktop ? If I turn down the permissions of that directory and chown it to "root", won't that break anything ?19:40
ChrisTownsendrubbie: If you change the ownership to root, then the user might not be able to access what is on the desktop.  I think you would need to play around with that to see how it would act.  But ~/Desktop is only there to put things on the desktop, so it shouldn't break anything else.19:42
rubbieI wouldn't expect this way of working to break anything : the user I currently use, does not have a $HOME/Desktop19:42
rubbieok, let's give it a try19:42
ChrisTownsendrubbie: Hmm, I thought it was there by default, but it may be created once something is placed in it.  But anyways, that should work by creating ~/Desktop.  Good luck!19:43
rubbienoop : I create the $HOME/Desktop directory as root in the home-dir of a ordinary user ; but that user seemingly can simply 'rmdir' it again from his $HOME19:44
rubbieok, gotcha : of course, the 'rmdir' is not possible anymore if there is a file in the directory19:45
rubbie"Directory not empty"19:45
ChrisTownsendrubbie: Hmm, maybe make the permission of ~/Desktop something like 755 and owned by root.root.19:46
rubbieyep, did that.19:46
rubbieok, I copied "/usr/share/applications/firefox.desktop" into this user's $HOME/Desktop19:47
rubbieIt doesn't appear on its own on my currently opened desktop, so likely is only picked up during login19:47
ChrisTownsendrubbie: Yeah, I think it's read a login if created from "underneath", ie, not the GUI.19:48
rubbieor can I 're-init' my currently active window-manager so that it re-reads anything under the user's $HOME ?19:48
ChrisTownsendrubbie: You might try "setsid unity", but it will basically reset your Unity session.19:49
rubbiewill try that now ; if I get disconnected, please bare with me for a minute, I will popup again ;-)19:50
ChrisTownsendrubbie: Sure, I'll be here:)19:50
rubbieok, still there ; lots of flickering on the screen, but no new firefox icon on my desktop19:50
rubbieok, will go through a logout/login to see if that works19:51
ChrisTownsendrubbie: Ok, I'm not sreally sure when that gets read.19:51
rubbie_back19:52
rubbie_did logout / login, but still no firefox icon on the desktop :-(19:52
ChrisTownsendrubbie:  Strange.  I wonder if it's due to the permissions.19:52
rubbie_hmm ... didn't I read somewhere that a file in $HOME/Desktop requires execute permissions in order to show up ?19:53
ChrisTownsendrubbie_: Maybe.  This is a little out of my domain.  But try it and see.19:54
rubbie_ok, added execute permissions (755 now)19:54
rubbie_the 'setsid unity' didn't do it, trying logout/login again19:55
ChrisTownsendrubbie_: Yeah, the folder definitely needs world execute permissions if owned by root.19:55
rubbieback19:56
rubbiestill no icon on the desktop :-(19:56
ChrisTownsendrubbie: Well, not sure.  On my Trusty system, my files/icons are in ~/Desktop with the folder being owned by my user and the permissions set to 755.  Not sure what happens if owned by root.19:58
rubbiewhat's especially frustrating, is that there is little or no documentation about how to configure things via CLI and not via GUI19:58
rubbieChris, ok, will try that indeed; let's start with having all owned by the user itself, if that doesn't work then there is something else misconfigured19:59
ChrisTownsendrubbie: As another data point, if I just copy a file into ~/Desktop, then it shows up immediately.19:59
rubbieboth $HOME/Desktop and the file "firefox.desktop" inside it, are now owned by the user (and group) itself20:00
rubbienothing appears by itself on my desktop20:01
rubbiewill do logout/login once more ...20:01
rubbie_noop, still no icon20:02
rubbie_is there any logfile that gets populated with messages from my session startup ?20:02
ChrisTownsendrubbie_: Dang, it must be some other configuration mucking with this.20:02
rubbie_hopefully it contains meaningfull reasons about that desktop icon20:02
rubbie_gotcha !20:03
rubbie_I work in a language different from English ...20:03
rubbie_so $HOME/Desktop is not named like that (English name) , but exists under another name (= 'Desktop' translated in my own language)20:04
ChrisTownsendrubbie_: Yeah, there are 3 possible files to look in: ~/.cache/upstart/{gnome-session.log | gnome-session-Unity.log | unity7.log}20:04
ChrisTownsendrubbie_: Ah, I see.20:04
rubbie_I moved the "$HOME/Desktop/firefox.desktop" in that one, and poof it appears on my screen20:04
rubbie_Chris, thx a lot for that info about the logfiles, will tatoe it immediately !20:05
ChrisTownsendrubbie_: Cool.  So it seems you can try to fiddle with permissions and try to get it to work the way you want it.  Best of luck!20:05
rubbieChris , if you're still there : might be usefull to inform you that the file under $HOME/Desktop indeed needs execute permissions20:11
rubbieIf not, then an icon appears, but with some letters in it, not the well-know firefox icon ; as soon as I add the execute permissions, the icon changes to the correct firefox icon20:11
ChrisTownsendrubbie: Ok, good to know.20:13
rubbiefurthermore, all still works as expected if the ownership of the $HOME/Desktop (and contents) is 'root'20:14
rubbieso: goal achieved !20:14
ChrisTownsendrubbie: Great!20:16

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