[Solved] UMS in Fedora 20 : no tray icon

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
mediaklan
Posts: 3
Joined: Fri Jan 03, 2014 9:32 am

[Solved] UMS in Fedora 20 : no tray icon

Post by mediaklan »

Hi everyone !
First, I must tell, UMS is by FAR the best media server i've tried. And I've tried a LOT under linux. I'm not a great fan of java apps (because of the way they look on Linux, mostly) but it was able to do right pretty much everything I've failed with others : external subtitles, video & audio extern stream from my server (to my android phone with 3g and bubbleupnp) and etc etc. So thanks anyone that is more or less responsible to make it this good :)
Now, a few questions :
I was able to make a service (systemctl) in Fedora after a few headaches, and everything seems to run fine except for two annoying stupid things :
- First : as a service, UMS runs as root, so at first it didn't take the conf files in /home/$USER/.config/UMS. My quick fix was to copy this folder into /root/.config/UMS but did you know a way to avoid this, please ?
- Second, when running from systemctl, the icon app won't appear on my xfce panel, but i could need it somehow, so, how could I make the icon appear again along with the service running ? (I don't even know why it is not showing anyway ...)
A little help please ?
Thanks !
Last edited by mediaklan on Mon Jan 06, 2014 7:53 am, edited 1 time in total.
- - - - -
Plan B : try again Plan A until it works
mediaklan
Posts: 3
Joined: Fri Jan 03, 2014 9:32 am

Re: UMS in Fedora 20 : no tray icon

Post by mediaklan »

Solved. Mostly. For now I think. The tray icon won't appear unless I run UMS under my normal user, so I chmod the tmp directory (/tmp/universalmediaserver and /tmp/jna) for rw rights (without that, UMS complains it can't access some files and fails). I don't know if this solution is permanent, because I remember tmp folder is periodically clean from a cron job in Fedora. However, it works after a reboot, so I consider my two questions solved ;)
- - - - -
Plan B : try again Plan A until it works
Vallimar
Posts: 36
Joined: Fri Oct 04, 2013 1:15 pm

Re: [Solved] UMS in Fedora 20 : no tray icon

Post by Vallimar »

Sounds to me like you are going about this somewhat wrong.
Systemd supports user services along with system ones, and since you appear to
want to access UMS with a specific user, you should configure it as a user service.
Install your .service file into /etc/systemd/user/ instead of /system/.

Then to start/stop/enable/disable, use 'systemctl --user' to manage it. You shouldn't
have to do all that monkeying around with permissions and whatnot that way.
Post Reply