Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-02-12 23:20:32

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Coloring Rhythmbox plugin

I have the rhythmbox plugin on my panel and absolutely hate the look of it. Can I change its color via the gtk.css file? Currently I have this in the file:

 .xfce4-panel, .xfce4-panel button { background-image: linear-gradient(to bottom, shade(#80BCE0, .4), shade(#80CFF0, .6)); border: transparent; border-radius: 0; } 
 
systray-20 box { background-image: linear-gradient(to bottom, shade(#80BCE0, .4), shade(#80CFF0, .6)); border: transparent; border-radius: 0;}

But I can't figure the name of the plugin.

Offline

#2 2022-02-13 00:51:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Coloring Rhythmbox plugin

What is the "rhythmbox plugin"? rhythmbox doesn't seem to come with any tray applets that I can see. Can you screenshot it?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2022-02-13 01:35:22

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: Coloring Rhythmbox plugin

The plugin is available in stock rhythmbox. Just got to preferences/plugins and it's called "Tray Icon". Here's a shot from my screen ... it's the ugly thing nested right in front of the date.

   https://mellowood.ca/temp/Screenshot_20 … -55-50.png

I don't mind the black circle and arrow ... it changes depending on the state of the player ... but the white and then gray background is pretty awful smile

Offline

#4 2022-02-13 01:59:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Coloring Rhythmbox plugin

Looking back through your posts... xubuntu 21.10? Odd that on my 21.10, I don't have a tray plugin listed in the preferences section or available in the repositories. I did, however,  find a couple on the internet:
- https://github.com/mendhak/rhythmbox-tray-icon
- https://github.com/palfrey/rhythmbox-tray-icon

Can you click on the About for the plugin in your preferences to see if you can identify it?

Most likely, it will go in the status tray section - in which case you can't use CSS to modify it. The systray is just a holder and the application controls the icon that is put there. However, you might be able to change the icon that is used. The first link uses tray_playing and tray_stopped icons that are copied to your hard drive that you can replace, and the second one identifies the icon right in the python code that you could change.

The other option, is to enable the MPRIS plugin and it will show up directly in the pulseaudio plugin drop down. (xfce4-pulseaudio-plugin support MPRIS).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-02-13 02:41:50

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: Coloring Rhythmbox plugin

Oh, yes. As they said in Rome: Mea Culpa smile

I had the https://github.com/mendhak/rhythmbox-tray-icon already installed. At least from 2018 if the file dates are anything to go on.

And, I have the MPRIS active. So, it shows up in the pulseaudio plugin. Never occurred to me that not having this plugin would change the pulseaudio behaviour.

However, there are some things that make the tray icon preferable to me ... mainly being able to adjust the volume for that app directly. But, I suppose I could learn to live without that smile

Looks like the simple solution would be to re-color the icons. The gimp files are in the package, so it should be easy enough. Just looking a bit at the python source, it appears that only 2 images are used, so that becomes less daunting. I'll give it a go tomorrow and see what I can come up with.

Offline

#6 2022-02-13 02:46:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Coloring Rhythmbox plugin

Mellowbob wrote:

I had the https://github.com/mendhak/rhythmbox-tray-icon already installed. At least from 2018 if the file dates are anything to go on.

The icons that are used for the tray should be located somewhere in ~/.local/share/rhythmbox/plugins. You can just change the "tray-playing.png" and "tray-stopped.png" files to whatever you want to use (just name the new icons with those names).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2022-02-13 18:00:29

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: Coloring Rhythmbox plugin

Well, I spent a few minutes with gimp and got it a bit better for my screen. I am far from being an artist and have tons of respect for those who can manipulate all these pixels on a screen! But, at least it is no longer a total eyesore! My hacking is not good enough to share, but a bit better.

Thanks for the help!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 559.28 KiB (Peak: 560.13 KiB) ]