Home folder launcher shortcut launchs Amberol

Hi there

Recently I installed Amberol to use as my music player, and I noticed a small bug.

I use the home folder launcher a lot to access my files, but after installing Amberol, the home folder launcher shortcut open Amberol instead.

It doesn’t matter if I use the standard home folder launcher shortcut, or I change it (which I usually do, using Ctrl+Alt+F), it opens Amberol instead of the home folder.

Is there a fix for that?

Hi @gsiebel, and welcome!

Sounds like the installation messed up your mimetypes. Or rather, if it’s not that, then I don’'t know what it can be. Please provide the output of:

ls -l /usr/share/mime/packages/

…and

cat ~/.config/mimeapps.list

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.


More information:

https://wiki.archlinux.org/title/XDG_MIME_Applications

Hi, thanks for the reply. Here’s both outputs.

ls -l /usr/share/mime/packages/                                                            ✔ 
total 2608
-rw-r--r-- 1 root root     297 mar 19 05:42 audacity.xml
-r--r--r-- 1 root root     296 fev 28 19:21 fmodstudio.xml
-rw-r--r-- 1 root root 2419526 jan 26 06:34 freedesktop.org.xml
-rw-r--r-- 1 root root    5732 out 23 14:22 gcr-crypto-types.xml
-rw-r--r-- 1 root root     519 fev  4 12:06 image-jxl.xml
-rw-r--r-- 1 root root  192521 mar  4 08:45 kde5.xml
-rw-r--r-- 1 root root   13015 mar  9 14:32 libreoffice.xml
-rw-r--r-- 1 root root    2445 set  5  2022 org.gnome.Meld.xml
-rw-r--r-- 1 root root     293 ago 25  2022 pkgbuild.xml
-rw-r--r-- 1 root root    1414 fev 28 06:40 scribus.xml
-rw-r--r-- 1 root root     595 abr 13 12:37 x-alpm-package.xml

cat ~/.config/mimeapps.list                                                                ✔ 

[Added Associations]
text/plain=org.gnome.gedit.desktop;sublime_text.desktop;
application/pdf=org.gnome.Evince.desktop;
x-scheme-handler/sms=org.gnome.Shell.Extensions.GSConnect.desktop;
x-scheme-handler/tel=org.gnome.Shell.Extensions.GSConnect.desktop;
x-scheme-handler/mailto=thunderbird.desktop;userapp-Thunderbird-3TNRZ1.desktop;
image/gif=org.nomacs.ImageLounge.desktop;
image/png=org.nomacs.ImageLounge.desktop;
image/bmp=org.nomacs.ImageLounge.desktop;
image/tiff=org.nomacs.ImageLounge.desktop;
image/x-eps=org.nomacs.ImageLounge.desktop;
image/x-ico=org.nomacs.ImageLounge.desktop;
image/x-portable-bitmap=org.nomacs.ImageLounge.desktop;
image/x-portable-graymap=org.nomacs.ImageLounge.desktop;
image/x-portable-pixmap=org.nomacs.ImageLounge.desktop;
image/x-xbitmap=org.nomacs.ImageLounge.desktop;
image/x-xpixmap=org.nomacs.ImageLounge.desktop;
x-scheme-handler/mid=userapp-Thunderbird-3TNRZ1.desktop;
video/x-matroska=io.github.celluloid_player.Celluloid.desktop;
application/octet-stream=org.kde.ark.desktop;
video/mp4=mpv.desktop;
image/x-canon-cr2=org.nomacs.ImageLounge.desktop;

[Default Applications]
text/html=brave-browser-beta.desktop
x-scheme-handler/http=brave-browser-beta.desktop
x-scheme-handler/https=brave-browser-beta.desktop
x-scheme-handler/about=brave-browser-beta.desktop
x-scheme-handler/unknown=brave-browser-beta.desktop
x-scheme-handler/mailto=userapp-Thunderbird-3TNRZ1.desktop
image/jpeg=org.nomacs.ImageLounge.desktop
image/gif=org.nomacs.ImageLounge.desktop
image/png=org.nomacs.ImageLounge.desktop
image/bmp=org.nomacs.ImageLounge.desktop
image/tiff=org.nomacs.ImageLounge.desktop
image/x-eps=org.nomacs.ImageLounge.desktop
image/x-ico=org.nomacs.ImageLounge.desktop
image/x-portable-bitmap=org.nomacs.ImageLounge.desktop
image/x-portable-graymap=org.nomacs.ImageLounge.desktop
image/x-portable-pixmap=org.nomacs.ImageLounge.desktop
image/x-xbitmap=org.nomacs.ImageLounge.desktop
image/x-xpixmap=org.nomacs.ImageLounge.desktop
message/rfc822=userapp-Thunderbird-3TNRZ1.desktop
x-scheme-handler/mid=userapp-Thunderbird-3TNRZ1.desktop
video/x-matroska=io.github.celluloid_player.Celluloid.desktop
text/plain=sublime_text.desktop
video/mp4=mpv.desktop
image/x-canon-cr2=org.nomacs.ImageLounge.desktop
inode/directory=amberol.desktop

I see there’s something with the Amberol desktop file in the end. It’s something about that?
I don’t know exactly what it is the “inode/directory” but I assume it’s somthing to do with it, maybe?

I think so.

AFAIK this means all directories.

Seems I was right:

Run the following command to remove that association:

sed -i 'd/inode/directory=amberol.desktop/g' ~/.config/mimeapps.list

Or open the file in your favorite text editor and delete that line.

Then you should update the Mime database:

update-mime-database ~/.config/mimeapps.list

Hope it helps!

When I try to run

update-mime-database ~/.config/mimeapps.list 

it gives me an output saying:

Directory '/home/siebel/.config/mimeapps.list/packages' does not exist!

That, theoretically, be no problem.

AFAIK anyway.

Well, it ended up not working that way. But I did fix it another way.

In the ~/.config/mimeapps.list I changed

inode/directory=amberol.desktop

for

inode/directory=org.gnome.Nautilus.desktop

It’s working, at least for now :upside_down_face:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.