zalesyc / budgie-media-player-applet

Media Control Applet for the Budgie Panel
GNU General Public License v3.0
7 stars 0 forks source link

Unable to add applet to panels (Arch) #5

Closed WinnerWind closed 5 months ago

WinnerWind commented 5 months ago

I am unable to add the applet to the panels even after installing using Arch Linux and the guide given. The option exists but I am unable to add it. Will add further details if needed.

WinnerWind commented 5 months ago

I thought more information would be necessary : I have all the dependencies as mentioned in the readme (budgie, python 3.11, python-pillow, python-requests, and budgie already comes with GTK) The applet has a named entry in the desktop manager, but when trying to add it, it simply does not add it, nor throw an error message. Every other applet works, but not this one. TestWin,py shows a blank window when no music is playing, and when music is playing, the window shows the correct art and working media buttons (as expected) image

However, it seems that Budgie refuses to make this work.

WinnerWind commented 5 months ago

SOLUTION! If dependencies are not installed after first meson, install them, then proceed to go into the folder where the git was cloned and delete the build folder. Install dependencies using the following commands (You should already have Budgie and GTK, I believe python too is pre-installed with every budgie system, so I am omitting those) sudo pacman -S python-requests sudo pacman -S python-pillow

for good measure, run the meson command given. then run the install command cd build && sudo ninja install

Then it should work as intended Note : deleting the plugin folder in /usr/lib/budgie-desktop/plugins is also a good measure, before running the above few commands

Arch Linux x86_64 Budgie 10.9.1 Hope it helps the next person.

zalesyc commented 5 months ago

I am glad that you were able to resolve the issue, I will try to improve the readme to prevent similar future issues.

WinnerWind commented 4 months ago

HI there! Just a follow up. I thought it would be helpful to state exactly which package is needed instead of python3-requests, writing python-requests reduces confusion. Thank you though :)

zalesyc commented 4 months ago

I've just updated the readme, I moved the dependencies section into a dropdown in the install section, to be less confusing, 19e2b27.

In the now dropdown it's python3-requests instead of just python-requests because there also is a version for python2, link.

But I still think that your comments are useful, because I am deeply involved in the project, so I don't see the issues from the perspective of an ordinary user.