Comments (42)
I don't know. I can try on Plasma 5 later (Arch Linux), but I don't know how does it work (I'm using Mate).
What is this? Is it an app launcher or system tray?
from qmplay2.
This panel launcher "tasks widget (icon only)". Maybe this icon on binary or program not like SVG. You can test this with icon:
https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme-kde/0d2972a72e7bc02437475bb16fdf9be1154a5fac/papirus/48x48/apps/QMPlay2.svg
from qmplay2.
Maybe just export it in Inkscape as PNG (e.g. 128x128) and replace the icon: /usr/share/icons/hicolor/128x128/apps/QMPlay2.png
?
from qmplay2.
By the by this symlink /usr/share/icons/hicolor/128x128/apps/QMPlay2.png > ../../../QMPlay2.png
from qmplay2.
sudo rm /usr/share/icons/hicolor/128x128/apps/QMPlay2.png
sudo rm /usr/share/icons/QMPlay2.png
And then just paste your new PNG icon here (/usr/share/icons/hicolor/128x128/apps
) or maybe SVG will also work.
Which distribution do you use? If Arch Linux you can currently switch to qmplay2-git
- it doesn't create the symlink :)
from qmplay2.
This not working (also i clear cache icon and plasma):
i'm use stable version on Manjaro KDE
from qmplay2.
Ok, i'm compile git-version from AUR and check this
from qmplay2.
I don't know if deleting cache doesn't help... Did you restart plasma? This is QMPlay2 independent...
from qmplay2.
Yes i'm delete cache and restart plasma:
rm -rf ~/.cache/plasm*
killall plasmashell
from qmplay2.
It's strange hm...
Git-version:
from qmplay2.
use xorg icon
from qmplay2.
Check whether /usr/share/icons/QMPlay2.png
does not exists.
Check whether /usr/share/icons/hicolor/128x128/apps/QMPlay2.png
exists.
and check the icon name in *.desktop files.
Delete caches, restart plasma...
from qmplay2.
Player closed - use system icon
from qmplay2.
Maybe there is another problem - does plasma update the icon from application icon?
from qmplay2.
/usr/share/icons/QMPlay2.png does not exists - confirm this
/usr/share/icons/hicolor/128x128/apps/QMPlay2.png exists - confirm this.
Desktop:
[Desktop Entry]
Exec=QMPlay2 %F
Icon=QMPlay2
Name=QMPlay2
StartupNotify=false
Type=Application
Categories=Qt;AudioVideo;Player;Audio;Video;
MimeType=video/mp4;video/mpeg;video/ogg;video/quicktime;video/x-msvideo;video/x-flv;application/x-shockwave-flash;application/vnd.rn-realmedia;video/vnd.rn-realvideo;video/3gpp;video/3gpp2;video/dv;video/webm;video/x-matroska;application/x-matroska;video/x-ms-asf;video/x-ms-wmv;video/x-ogm+ogg;video/x-theora+ogg;video/mp2t;audio/x-ape;audio/mp4;audio/AMR;audio/aac;audio/webm;audio/x-matroska;audio/ac3;audio/flac;audio/mp2;audio/ogg;audio/x-flac+ogg;audio/x-aiff;audio/x-wav;audio/x-vorbis+ogg;audio/x-tta;audio/x-wavpack;audio/x-musepack;audio/x-ms-wma;audio/x-ms-asx;audio/x-mod;audio/x-s3m;audio/x-stm;audio/x-xi;audio/x-xm;audio/x-it;audio/mpeg;audio/x-mpegurl;audio/x-scpls;audio/prs.sid;audio/x-j2b;audio/x-sfx;audio/x-umx;audio/x-gme;video/x-bink;
Now del cache and restart PC and check
from qmplay2.
I think that Plasma5 just loads the application/window icon instead of system icon if QMPlay2 is open.
from qmplay2.
I think that this line:
Line 570 in 42c5d1c
from qmplay2.
For example, my friend programmer and use this variant:
Maybe help this :)
setWindowIcon(QIcon::fromTheme("krudio",QIcon(path+"krudio.svg")));//иконка окна
if(save){//сохраняем изменения в базу
QString str;
QSqlQuery a_query;
bool b;
//Вставить значения
QString str_insert = "UPDATE "+tableSettingName+" SET value = %1 WHERE setting ='%2';";
str = str_insert.arg(colorNumb).arg("color");
b = a_query.exec(str);
if (!b) {qDebug() << "Данные не сохнаняются";}
}
}
from qmplay2.
restart pc and clear cache not solved problem
from qmplay2.
Use system icon (if available) or not available use fallback icon from hicolor or another method.
from qmplay2.
Ok, I'll try :)
from qmplay2.
Please recompile & test :)
from qmplay2.
ok
from qmplay2.
Not working - use xorg icon :(
from qmplay2.
from qmplay2.
Hmm, ok, switching to Plasma 5 (please wait)...
from qmplay2.
Ok. I'm clear all cache and icons too, restart plasma, convert png to svg and copy to system icons folder... but always show xorg icon
from qmplay2.
No problems (tried with CMake icon 😃)... Try to remove rm ~/.cache/icon-cache.kcache
or maybe all files from cache
directory and then restart Plasma.
from qmplay2.
delete all ~/.cache but not solved. convert svg to png (VLC icon), restart plasma. Please see on /usr/share/applications and hicolor vlc icon, but on launcher xorg
from qmplay2.
And what if you close QMPlay2? Still Xorg icon?
from qmplay2.
No, close - use system icon (VLC now)
from qmplay2.
I can't reproduce. Everything is OK on my Plasma5 and on Mate.
What if you do: sudo ln -s /usr/share/icons/hicolor/128x128/apps/QMPlay2.png /usr/share/icons/QMPlay2.png
? Maybe it still remembers the old icon location /usr/share/icons/QMPlay2.png
and tries to load non-existing file at runtime? Maybe it has another cache somewhere else?
from qmplay2.
I convert vlc.svg to vlc.png on gimp. Moved new QMPlay2.png to /usr/share/icons/breeze/apps/48/ and to /usr/share/icons/hicolor/128x128/apps/
On dolphin and KMenu show VLC icon, also if touch player icon on panel - show VLC icon too (player closed). Bur run player and show Xorg icon on panel
from qmplay2.
from qmplay2.
What icon do you have in tray (expand it, the indicator on the left of the temperature) if player is running?
What if you copy/move the QMPlay2.png to /usr/share/icons
?
from qmplay2.
from qmplay2.
The system tray icon is exactly the same icon as on taskbar (see f2facc5 - it uses the window icon). Something must be wrong with your KF5. Could you try on Xfce4, Mate or any other DE/WM? You can try to load openbox in Plasma5 yaourt -S openbox; openbox --replace
and then try. Then go back to kwin kwin_x11 --replace
from "Alt+F2" launcher. Maybe kwin5 has bug? If you are using Manjaro "stable" repo then you probably have old Qt 5.6.0. Qt 5.6.1 is much better than Qt 5.6.0 (less bugs).
from qmplay2.
It's strange because other Qt5-apps show system icon, example qbittorrent.
Ok i try this latter... and go now sleep :)
from qmplay2.
I think this is Kwin5 or Plasma5 bug (or something wrong with cache), because Qt loads tray icon from window icon and the tray icon is OK, but window icon is not OK on Plasma/Kwin (internally in Qt is OK).
from qmplay2.
Ok, mee too 😃 2:20 AM in Poland
Later (if it still will work bad) please try with openbox WM on Plasma5 :)
from qmplay2.
I'm check on openbox - use system icon on panel, it's OK. This bug Qt or Kwin. After upgrade Qt5 and Plasma check again. Thx for support :)
from qmplay2.
So probably Kwin5 bug (or unknown other cache) :)
According to #30 (comment) probably it has problem because of changed icon directory (qmplay2 and qmplay2-git). Sorry, but I can't help, this is out of scope...
from qmplay2.
Related Issues (20)
- Desktop files needs to be fixed for flatpak HOT 2
- [Question] Friends! How can I display the lyrics when playing a song? HOT 5
- dotting the Is and crossing the Ts ;) HOT 10
- Equalizer presets cannot be switched HOT 8
- App does not launch after updating python to 3.12 HOT 6
- Screen goes to sleep mode after playback ends HOT 8
- YouTube playlist link won't play! HOT 3
- 我感觉QMPlay2在网络处理方面存在问题,有待加强。 HOT 1
- QMplay2/Win11 no longer connects to internet? HOT 25
- No AppImage? HOT 12
- Make RadioBrowser Connection Error Optional HOT 3
- Recording File Name Customization HOT 2
- Improve Recording Status
- HDR function support (ARIB STD-B67) HOT 9
- QMPlay2 24.05.23 compiled successfully on fedora 37 but failed to start HOT 15
- can not open a playurl HOT 4
- Some questions about downloading
- Windows Xp v20.12.16 minor update for youtube-dl HOT 2
- QMPlay2 does not sort playlist correctly...
- Help in selecting Multi files to send to Top or Bottom of very long playlists? Cheers to the developer on the great work on this player.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmplay2.