You are not logged in.
open thunar -> right click to a *.xlsx file -> click on "properties" -> click "open with" -> "other programs":
https://www.bilder-upload.eu/bild-031cd … 7.png.html
There I have added by mistake "adblock" as favourite App.
Question:
How can I remove "adblock" there?
What I have already tried out:
Right click on "adblock". What happens: A field appears with a greyed out text "remove starter". So as it is greyed out, I can not remove it.
Thank you.
Offline
Delete its entries from ~/.config/mimeapps.list.
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
Thank you ToZ.
I was successful. I had to search for the word "advert" in ~/.config/mimeapps.list.
But just wondering. What does it mean, when the "remove starter"-button is not active?
Offline
But just wondering. What does it mean, when the "remove starter"-button is not active?
My guess is that the desktop file for that entry is located in /usr/share/applications and you do not have the rights to make changes to the file.
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
Yes, it could in fact be, that this desktop files are in /usr/share/applications.
Quote: "... and you do not have the rights to make changes to the file."
But would this action change the desktop file? Wouldn't pressing the "remove Starter"-button just change the file ~/.config/mimeapps.list?
I understand, that this means "remove starter from ~/.config/mimeapps.list".
Do I miss anything?
Offline
Digging through the code.....
Here:
/* append the "Remove Launcher" item */
item = gtk_menu_item_new_with_mnemonic (_("_Remove Launcher"));
gtk_widget_set_sensitive (item, g_app_info_can_delete (app_info));
g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (thunar_chooser_dialog_action_remove), dialog);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);
It sets the sensitivity (greyed out) of the menu item based on the g_app_info_can_delete GIO function and creates a callback to thunar_chooser_dialog_action_remove. In this function, there is the comment:
"This will remove the application launcher that appears in the file "
"context menu, but will not uninstall the application itself.\n\n"
"You can only remove application launchers that were created using "
"the custom command box in the \"Open With\" dialog of the file "
"manager."));
So it appears that it will only delete custom commands, but not actually remove associations.
There is also this bug report.
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
[ Generated in 0.009 seconds, 9 queries executed - Memory usage: 541.12 KiB (Peak: 542.4 KiB) ]