Closed blockhead100 closed 1 year ago
You installed opencv for python, but you need for C++. On debian-based systems it's "libopencv-dev" package. Note, that you need "dev" variation to make compiling work. Let me know how it works out for you.
i got one more error. : (
i cant believe i did not think of that, thanks
I am very new to poly bar and this hole rise thing so sorry for being kind of a dummy.
You said it was working, what did you do after that to get this error? (I just need kind of steps to reproduce issue)
I'm getting the same File name too long error after installing libopencv-dev.
@blockhead100 Could you please elaborate how did you resolved this?
I'm on Ubuntu 22.04.
I was able to reproduce it on my machine, thank you @m-debnath for pointing it out. Probably some version related issue here. I am gonna investigate tomorrow and will get back to you as soon as I will figure it out.
Thank you @andreykaere! In the meantime I've created a simple script, which outputs just the icon for the running application. I am using this together with xwindow module. Works well for my need. =)
https://gist.github.com/m-debnath/8b557ff95bb460af3818ece4379878e5
Looks nice too! However, it's quite difficult from what this project gives you, basically you're getting a real icon and not an emoji. I use Brave, Alacritty, Telegram very often and I really like to see a good icon and not some emoji replacement. So maybe you can give it a try yourself. And moreover, you don't have to specify icons yourself 99% of the time. But if your script suits you better, so be it :)
Wow thank so much for finding the fix sorry for not getting back. I will try it later. Thanks
My pleasure! Feel free to reopen issue if problem is not resolved for you or open new issue if you have any other question or problem, will do my best to help you:)
New error yay
Reproduce steps: I'm running pop_os. I installed the package. Then I inputed my ixwindow dir. Then I launched poly bar and got the error above.
I can not reopen lol sorry
Are you sure you have bash installed?
yep bash is installed, I think your script needs to be run as root which I dont know how to do with exec =
. I google it and no one seemed to have a problem where they had a script needs to be run as root with poly bar. I could make a bash script that poly bar runs that then run ixwindow as root.
Of course you don't need to run it as a root. Okay, first of all, can you run it from the command line? Like just ./ixwindow
. Second, show me the output of ls -l ixwindow
(file, not directory)
I got it working i rewrote my config for ploy bar and it works now thanks for making this cool script!
I am glad it worked out for you! I hope you got it working without sudo. If you got it working using sudo, then I advise you to find a way without using sudo.