Closed baduhai closed 3 years ago
This already updated : https://github.com/bilelmoussaoui/Hardcode-Tray/commit/3f5845259dd4ad39e1bd3df4e372e35c9f54b5ae And i don't know why this not worked for you
please show list files on discord directory:
ls -l ~/.config/discord/
Output of ls -l ~/.config/discord/
total 832
drwxr-xr-x 3 william william 4096 May 25 15:52 0.0.15
drwx------ 3 william william 4096 Jun 2 17:49 blob_storage
drwx------ 3 william william 372736 Jun 2 23:56 Cache
drwx------ 4 william william 4096 Mar 10 20:58 'Code Cache'
-rw------- 1 william william 20480 Jun 2 23:57 Cookies
-rw------- 1 william william 0 Jun 2 23:57 Cookies-journal
drwx------ 2 william william 4096 Jun 2 23:57 'Crash Reports'
drwx------ 2 william william 4096 May 14 18:11 Dictionaries
-rw-r--r-- 1 william william 0 Mar 10 21:29 domainMigrated
drwx------ 2 william william 4096 Mar 10 20:58 GPUCache
drwx------ 3 william william 4096 Mar 10 20:58 'Local Storage'
-rw-r--r-- 1 william william 362177 Jun 2 23:49 modules.log
-rw------- 1 william william 2173 Jun 2 17:48 'Network Persistent State'
-rw------- 1 william william 172 May 15 11:04 Preferences
-rw-r--r-- 1 william william 34 Jun 2 17:49 quotes.json
drwx------ 2 william william 4096 Jun 2 17:49 'Session Storage'
-rw-r--r-- 1 william william 203 Jun 1 22:44 settings.json
drwx------ 3 william william 4096 Jun 1 00:13 shared_proto_db
lrwxrwxrwx 1 william william 19 Jun 2 17:49 SingletonCookie -> 4756792196376522399
lrwxrwxrwx 1 william william 11 Jun 2 17:49 SingletonLock -> Z600-271224
lrwxrwxrwx 1 william william 37 Jun 2 17:49 SS -> /tmp/.org.chromium.Chromium.wbC6Nh/SS
-rw------- 1 william william 1009 Jun 2 23:54 TransportSecurity
-rw-r--r-- 1 william william 289 Jun 2 17:49 tray-connected.png
-rw-r--r-- 1 william william 365 Jun 2 17:49 tray-deafened.png
-rw-r--r-- 1 william william 381 Jun 2 17:49 tray-muted.png
-rw-r--r-- 1 william william 718 Jun 2 17:49 tray.png
-rw-r--r-- 1 william william 420 Jun 2 17:49 tray-speaking.png
-rw-r--r-- 1 william william 906 Jun 2 17:49 tray-unread.png
drwx------ 2 william william 4096 Jun 1 00:13 VideoDecodeStats
reinstall hardcode-tray-git
from AUR & try again
It's what I have installed. I've tried both with hardcode-tray-git
and hardcode-tray
, neither work
you can check local database file and compare with git-version:
/usr/share/hardcode-tray/database/discord.electron.json
https://github.com/bilelmoussaoui/Hardcode-Tray/blob/master/data/database/discord.electron.json
Looks exactly the same:
{
"name": "Discord",
"app_path": [
"{userhome}/.config/discord"
],
"icons_path": [
"{userhome}/.config/discord/0.0.15/modules/discord_desktop_core/"
],
"binary": "core.asar",
"script": "electron",
"icons": {
"tray": {
"original": "app/images/systemtray/linux/tray.png",
"theme": "discord-tray"
},
"tray-unread": {
"original": "app/images/systemtray/linux/tray-unread.png",
"theme": "discord-tray-unread"
},
"tray-connected": {
"original": "app/images/systemtray/linux/tray-connected.png",
"theme": "discord-tray-connected"
},
"tray-deafended": {
"original": "app/images/systemtray/linux/tray-deafened.png",
"theme": "discord-tray-deafened"
},
"tray-muted": {
"original": "app/images/systemtray/linux/tray-muted.png",
"theme": "discord-tray-muted"
},
"tray-speaking": {
"original": "app/images/systemtray/linux/tray-speaking.png",
"theme": "discord-tray-speaking"
}
}
}
it's strange. I'm now test it with DEB-version 0.0.15 and this worked fine:
command:
sudo -E hardcode-tray -ct RSVGConvert -o discord.electron
Well, that command worked. Question is, why did hardcode-tray not auto recognise Discord?
i don't know )) worked for me:
Specifications
4.3
Arch Linux
3.24.29-1
Inkscape 1.1 (c4e8f9ed74, 2021-05-24)
if installed1.17.4-5
if installedDiscord
0.0.15-1
Expected behavior
Hardcode-Tray recognises Discord, and applies the icon.
Actual behaviour
Hardcode-Tray does not recognise Discord.
Steps to reproduce the problem