Closed roachsinai closed 5 years ago
Added. Please update, using that same command in another issue.
Thanks! May I asked one more question?
Like vnote
icon, the origin is located in theme hicolor
.
After I launch vnote
application, there is a vnote
icon in system tray with hicolor
theme one used.
Is there a way to let system tray use Suru++
theme one? Without use Suru++
icon override the icon of hicolor
.
It means that vnote's desktop file does not have icon code, or is using the fixed icon path or icon generic name. Please, check:
You need to modify manually the vnote's desktop file at /usr/share/applications
or ~/.local/share/applications
.
desktop file for listen1
[Desktop Entry]
Name=Listen1
Comment=One for all free music in China
Exec=env DESKTOPINTEGRATION=no "/opt/appimages/listen1.AppImage" %U
Terminal=false
Type=Application
Icon=listen1
StartupWMClass=Listen1
X-AppImage-Version=2.1.5
Categories=Utility;
X-AppImage-BuildId=1HvKDJ3EUJMJwm6YxKB8wQfQx3p
But I got the original icon:
Maybe the reason is that listen1
is a appimage
application?
Yes, AppImageLauncher creates the desktop file automatically. If you modify again, AppImageLauncher will revert when you open the AppImage. Please check:
https://github.com/gusbemacbe/suru-plus/tree/beta#appimage-built-apps
Thanks for you instructions!
My listen1.desktop
file content at /usr/share/applications
and /home/roach/.local/share/applications
:
[Desktop Entry]
Name=Listen1
Comment=One for all free music in China
Exec=env DESKTOPINTEGRATION=no "/opt/appimages/listen1.AppImage" %U
Terminal=false
Type=Application
Icon=listen1
StartupWMClass=listen1
X-AppImage-Version=2.1.5
Categories=Utility;
X-AppImage-BuildId=1HvKDJ3EUJMJwm6YxKB8wQfQx3p
I have removed appimagelauncher
and rebooted. But, still not work.
btw, sudo StartupWMClassFixer
is not work for https://github.com/bilelmoussaoui/StartupWMClassFixer, have to use sudo /opt/StartupWMClassFixer/fix
.
Change StartupWMClass=listen1
to StartupWMClass=Listen1
because of Name
given to an AppImage.
Remove X-AppImage-Version=2.1.5
and X-AppImage-BuildId=1HvKDJ3EUJMJwm6YxKB8wQfQx3p
.
Change Exec=env DESKTOPINTEGRATION=no "/opt/appimages/listen1.AppImage" %U
to Exec=/opt/appimages/listen1.AppImage
. As AppImageLauncher is removed, no need to keep env DESKTOPINTEGRATION=no
.
After finishing, you need to update the database cache in the terminal if you do not want to reboot again.
Hi, @gusbemacbe , I have rebooted.
Seems don't know what's wrong.
hmank ~ > cat .local/share/applications/listen1.desktop
[Desktop Entry]
Name=Listen1
Comment=One for all free music in China
Exec=/opt/appimages/listen1.AppImage
Terminal=false
Type=Application
Icon=listen1
StartupWMClass=Listen1
Categories=Utility;
hmank ~ > ll /usr/share/icons/Suru++/apps/16 | grep listen
-rw-r--r-- 1 root root 2.7K 3月 16 14:04 listen1.svg
And should I use sudo gtk-update-icon-cache /usr/share/icons/Suru++
to update cache no need reboot?
Yes, it generates the new icon cache to remove old cache.
You can use Stacer to clean the old caches of icons and of desktop files without needing to reboot.
Maybe of Exec=/opt/appimages/listen1.AppImage
, because it is rooted.
I've move it to other places. But not work, too.
But, thanks a lot for the help so far.
Tonight I'll test Listen1. I'm at college now.
That's great!!!
Hi @roachsinai !
It worked here, and I will send a zipped desktop.
Applications/AppImages
in your home folder.~/Applications/AppImages/
listen1
to Listen1
. Make it executable and trusting, using the command chmod a+x Listen1.AppImage
./data/Gustavo/Applications/AppImage/Listen1.AppImage
to $HOME/Applications/AppImages/Listen1.AppImage
~/.local/share/applications/
Hi, does the icon shows on system tray is located at Suru++/panel
?
As I found vnote
and dropbox
svg at Suru++/apps
is
But, dropbox
color could be white at tray
And, last I found there is dropboxstatus-idle.svg
under Suru++/panel/16
.
@roachsinai
Do not confuse apps
with panel
. The dropbox.svg
and vnote.svg
of apps
is for applications icons and not for Dropbox and VNote status panel icon.
Hi, does the icon shows on system tray is located at Suru++/panel?
It does not have VNote status icon. I need to download VNote and find the icons.
Then icons are vnote_ink
, vnote_small
and vnote_update
, according to https://github.com/tamlok/vnote/tree/master/src/resources/icons. I will add to panel
.
Hi @roachsinai
Added.
Run the command:
wget -qO- https://raw.githubusercontent.com/gusbemacbe/suru-plus/beta/install.sh | TAG=beta sh
Thanks!!!
Could you please add icons for: