You are not logged in.
i have many desktop files in ~/.local/share/applicaitons that I have modified the exec line. after package updates the whisker menu entries don't change. perfect.
there is one package that doesn't behave. it's Teamviewer. every time i update the package the whisker menu entry gets overwritten with the program's default.
i can't figure out how to stop this.
any hints? thanks
EDIT: I've played around with the file names and desktop names to makes sure they are same. still really no luck
Last edited by callmejoe (2022-04-09 18:09:24)
Offline
there is one package that doesn't behave. it's Teamviewer. every time i update the package the whisker menu entry gets overwritten with the program's default.
Is there a teamviewer desktop file in ~/.local/share/applications?
What do the following commands return:
fgrep -ri teamviewer /usr/share/applications/ | awk -F':' '{print $1}' | uniq
fgrep -ri teamviewer ~/.local/share/applications/ | awk -F':' '{print $1}' | uniq
EDIT: I've played around with the file names and desktop names to makes sure they are same. still really no luck
It sounds like there are two teamviewer files with different names. Do you have 2 teamviewer icons in your menu?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Is there a teamviewer desktop file in ~/.local/share/applications?
yes there is
What do the following commands return:
fgrep -ri teamviewer /usr/share/applications/ | awk -F':' '{print $1}' | uniq
/usr/share/applications/mimeinfo.cache
fgrep -ri teamviewer ~/.local/share/applications/ | awk -F':' '{print $1}' | uniq
/root/.local/share/applications/teamviewer8.desktop
file teamviewer8.desktop in /usr/share/applications is symlinked to /opt/teamviewer/tv_bin/desktop/teamviewer8.desktop
here are the contents
[Desktop Entry]
Type=Application
Name=TeamViewer8 Scheme Handler
Exec=/opt/teamviewer/tv_bin/script/teamviewer --url %u
NoDisplay=true
StartupNotify=false
MimeType=x-scheme-handler/teamviewer8;
file teamviewer8.desktop in /root/.local/share/applications content is
[Desktop Entry]
Type=Application
Name=TeamViewer8 Scheme Handler
Exec=/opt/teamviewer/tv_bin/script/teamviewer -r
NoDisplay=true
StartupNotify=false
MimeType=x-scheme-handler/teamviewer8;
GenericName=TeamViewer
Offline
file teamviewer8.desktop in /root/.local/share/applications content is
Why is this in /root? Are you logging in as root? If not, it should be in your user account's ~/.local/share/applications location.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
yep. i log on as root.
Offline
I just noticed that in both of those desktop files, NoDisplay is set to true, meaning they won't be displayed. I thought my command would of picked up all of the teamviewer desktop files. Do you have another desktop file for teamviewer?
Which distro are you running?
Edit: Assuming Arch Linux, the actual viewable teamview system desktop file is /usr/share/applications/com.teamviewer.TeamViewer.desktop. And it runs the /opt/teamviewer/tv_bin/script/teamviewer executable.
Do you have a file in /root/.local/share/applications with the same filename (com.teamviewer.TeamViewer.desktop)?
Last edited by ToZ (2022-04-09 11:42:39)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Do you have a file in /root/.local/share/applications with the same filename (com.teamviewer.TeamViewer.desktop)?
yes i am running Arch
and no, this file, com.teamviewer.TeamViewer.desktop, is not in /root/.local/share/applications
i would have never thought to look for a file name starting with something other than "team..."
so i guess i need to copy that one from /usr/share/applications into my /root/.local/share/applications directory.
i wonder if the other ones were left over from past installations and i can just nuke them.
EDIT: I figured I would uninstall teamviewer and then find any file with teamviewer in the name and remove them. I re-installed and it did still install multiple teamviewer.desktop files again. But looks like that file, com.teamviewer.TeamViewer.desktop, was the correct one to copy to my .local folder.
thanks for the help Toz!
Last edited by callmejoe (2022-04-09 16:02:21)
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 559.68 KiB (Peak: 560.52 KiB) ]