/srv/irclogs.ubuntu.com/2013/07/13/#ubuntustudio-devel.txt

OvenWerksQuestion, in an sudo application, is it least confusiong to the user to ask for authorization before startup or only after the user is asking for an action that requires upgrading authority?07:12
OvenWerkssynaptic uses the first and the user managment app uses the second.07:14
* OvenWerks is thinking out loud07:15
MishAFAIK I've seen only synaptic do that07:15
MishI mean the package management utilities that I use like deborphan ask only when it is required07:16
OvenWerksI am thinking  that the first is prefered unless there are actions that can be preformed that don't require permitions.07:17
Mishbut I don't know if that's better or not07:17
OvenWerksThis is for my studio meta installer07:17
OvenWerksThe only safe option is exit :)07:17
OvenWerksI think it makes sense to just run the whole thing under pkexec07:19
OvenWerksAsking for a password right off informs the user they are doing system changes right away07:22
OvenWerksAnyway, thanks for the input. I am off to bed.07:24
zequenceOvenWerks: depends on what the application does. If it's strictly for administration, and nothing for non admins stuff, then the whole app could be sudo09:32
OvenWerkszequence: that was what I finally figured out. In my case, the only non-admin selection is "cancel" which exits the program.14:56
OvenWerkszequence: Re: getting Jack etc. RT priv. When installing our audio meta (from a GUI) right now we need the user to be in the audio group. You are working on something better. should I include an option to put the user(s) in the audio group?15:06
OvenWerksnext question :) do we want to allow removing metas? There are Alligators in these waters, removing the meta will not remove the applications it installed if it was installed from the ISO.15:09
OvenWerksThis goes farther, even if we remove all the apps listed in the meta, the packages brought in as depends will not be removed. Also, some packages in one meta are dependants of other metas...15:13
OvenWerksOk, forget that, I have talked myself out of allowing removale of metas.15:15
OvenWerksquestion 4) should there be an option to remove the generic kernel? Or at least the upgradability?15:19
OvenWerksAside from all that, Kubuntu has set things up so that their GRUB entry actually shows "Kunubtu". I would like to use the same method in our settings package for us as well I think it is important to make sure the lowlatency kernel is always default even if a generic somehow gets installed. (via distro upgrade for example)15:25
OvenWerksHi Mish15:25
MishHi OvenWerks15:25
OvenWerksMish: I was hoping to have at least one release of ubuntustudio-menu as is because it is such a change from the last version. (from pre xfce days)15:32
OvenWerksbut if all the icons are going in there we should at least start working on a mergable branch I would guess.15:33
MishWhat is the deadline before testing starts?15:33
MishI mean if there is one15:33
MishI don't exactly know how the process works15:34
OvenWerksI am not sure, but I think we are opting in for beta 215:34
OvenWerksAs I have built and tested -menu as is, it is probably safe to make changes in icons though.15:35
OvenWerksChanging the names of icons, means editing all the *.directory files as well.15:36
Mishyeah15:36
OvenWerksI guess I should change the names first then you can branch for icon work.15:38
OvenWerksI am going to eat breakfast with my wife for a bit. Back later.15:38
zequenceOvenWerks: the idea was that we make a -controls application to handle stuff like realtime privilege and audio group - it's a two part problem, and both need to be in place in order to get things right. But, since then, I realized it's better to solve the problem by setting a standard that exists everywhere, both Debian and Ubuntu, and in that way, we won't need to create a tool for it. Still, it might be interesting to tweak many opt15:44
zequenceI made a -controls app all in python/gtk in the past, where one portion of it was bash and the gui thing you are using now (I forget the name)15:45
zequenceso, I already did something quite similar to what you are doing now15:46
zequenceor, I did that partly for the -controls I did15:46
zequenceit didn't install workflows, but it was able to set realtime options, as well as install restricted extras15:46
zequenceMish: We have the chance to make changes easily until feature freeze15:47
zequenceMish: Testing is done continuously, and only after feature freeze do we do proper bug testing. The features should already be in place by then15:48
zequenceFeature freeze is aug 22 https://wiki.ubuntu.com/UbuntuStudio/DevelopmentReleaseSchedule15:49
Mishok cool thanks15:55
OvenWerkszequence: my thought was that the time to ensure RT was at the time jack/lowlatnecy was installed.16:42
OvenWerkscertainly setting group should be a temporary thing that we hope see fixed "soon" (ish)16:43
OvenWerksThis would not be a tool for tuning or turning these things on and off. Just setting things to what an ISO install would be.16:44
OvenWerksIt occures to me we have two kinds of setting in our -settings pkg. DE settings and tweaks.16:45
OvenWerksshould they be two packages?16:45
OvenWerksThe reason I ask is because DE settings are part of xfce while the tweaks are part of audio really16:48
OvenWerkswith another DE the tweaks on their own are worthwhile, but the DE settings could be a problem.16:49
zequenceOvenWerks: If we need to have separate -settings packages, it would be best to separate DE specific stuff, yes16:53
OvenWerksI am thinking a -tweaks package16:53
OvenWerkszequence: ubuntustudio-meta-install ok for packagename/scriptname?16:54
zequenceI'd just call it ubuntustudio-installer16:55
OvenWerksok will do.16:55
zequenceor, if only installing metas, ubuntustudio-meta-installer, but the former might be handier, if adding things to it16:56
OvenWerksyes There is a possibilty of using it to replace USC for our extras menu items so they are DE agnostic16:57
OvenWerkszequence: So much for that.... pkexec does not to forward the stuff needed for a GUI to work. So authentication will happen for the action instead.19:48
OvenWerksGood news is that all the user input stuff ends up being gui.19:49
zequenceOvenWerks: What's pkexec?19:52
OvenWerksit is the only gui bassed sudo that seems to be in all flavours.19:53
zequenceI solved it by doing apt-get install commands with the -y parameter, however, it's important to do an update too of course19:53
zequenceah19:53
zequencewhy not just make gksudo a dependency?19:53
OvenWerkskubuntu doesn't have gksudo19:53
zequenceI mean to ubuntustudio-installer19:54
OvenWerksThat pulls gtk libs into kubuntu19:54
zequenceah19:54
OvenWerksmind you I think all our metas do anyway.19:54
zequenceyeah, probably, but still..19:55
OvenWerksbut I wanted the installer to be very light weight19:55
zequenceKubuntu uses pkexec for the same sort of stuff?19:55
OvenWerksyes19:55
OvenWerksit is part of the mini.iso image I think19:55
zequencewell, as long as it works, I guess19:55
OvenWerksit will also work cli19:56
OvenWerksthere are reasonable security concerns with giving gui access to an su app.19:56
OvenWerksAt least on a system with many users :)19:58

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