[04:01] i don't use xmltv personally.. [05:32] tgm4883, superm1: well, the storage location is $HOME/.mythtv/$NAMEOFSOURCE.xmltv, there's not much to choose from. [06:37] dekarl, ah i just looked over the question. [06:38] either approach would solve it short term, but long term it should hopefully be N/A with web based mythtv-setup [06:41] superm1: where shall I put this so it doesn't get lost? [06:41] well ideally in the form of a patch that can be merged immediately :) [06:41] as the web setup with xmltv... is not going to happen RSN [06:42] uhh, I don't even know how to start mythtv-setup with "mythtv" credentials and still being able to access the screen [06:42] then a bug against the mythtv source package or the mythbuntu project is fine [06:42] it's just a one line change to the wrapper, but how should that look like? [06:44] oh i forgot there's all that other logic in the line to run it single threaded and in a terminal window [06:44] it might just be a matter of adding $SU_TYPE to the beginning of that xterm launch [06:45] hmm [06:47] yes, but it has to be a variant of $SU_TYPE that sus to mythtv, not root and gets the environment setup correctly :( [06:48] so it might be $SU_TYPE su mythtv -c xterm -title ... [06:50] but $SU_TYPE (cd ~mythtv/.mythtv; ln -s $HOME/.mythtv/*.xmltv .) should work, too (if it wasn't for spaces in the names of the video sources :( [06:50] does $SU_TYPE su mythtv -c xterm -title ... change $HOME to ~mythtv ? [06:50] well you run into bigger problems if you are symlinking directories around [06:50] what if several users have .xmltv directories already [06:50] or files in there? [06:51] do you keep them, rename them? [06:51] so i think the better way to solve it is mythtv-setup as mythtv user for now [06:51] and yes that should change $HOME to ~mythtv [06:51] that's good, I agree it's better to change the wrapper to run setup as mythtv [06:52] another way to do it would be to add support to mythtv-setup to drop permissions and change uid/gid and then require it to run as root [06:52] similar to what mythbackend supports now [06:53] kees, any opinions about above what you think would be the best approach? [06:54] imho dropping permission in backend or setup is an ugly kludge ;) [06:54] I'm looking at the su variant atm [06:54] well in backend it's the only way to cleanly do it with upstart [06:54] then upstart has a bug there [06:54] well because using su in an upstart job creates an interactive consolekit session [06:55] so suddenly anything that normally would "log out" of a session sees a "user" logged in [06:55] I think upstart needs auxillary tools like daemontools have [06:55] but that's another topic [06:55] i think this cycle it actually gained support for user jobs, i haven't explored that yet [06:56] it might be a possibility to just have a job in ~mythtv that gets spawned by upstart directly as the right user [07:07] this seems to be ok: $SU_TYPE su mythtv -c xterm -title ... [07:07] hmm [07:07] gksu -- sudo -u mythtv -i set | grep HOME [07:07] notice the "-i" for getting a fresh mythtv login session [07:08] * dekarl gotta run [12:44] I've been going thru all the ubuntu 11.04 bluetooth guides... what I am doing *should* work. But it's not. I can'f ro the life of me work out why mythbuntu didnt have all the bluetooth packages installed by default. I suspect that ubutnu != mythbuntu but others might be able to help me out with this [15:14] superm1: I didn't follow what the original need was. something relating to xmltv, but I think it is lost in my backscroll. [15:55] kees, basically xmltv config needs to be setup for ~mythtv since mythbackend uses it [15:56] but you run mythtv-setup as $USER meaning the xmltv config gets saved in ~$USER [15:56] everything else about running mythtv-setup as $USER is fine I think [18:21] ah, well, yeah, I think the stuff you mentioned should be fine (since mythtv-setup is run by root anyway, so switching away to the mythtv user to the piece that needs it is okay afaict) [18:27] ok, i'll double check that thing dekarl posted works and merge that in then