Freetube has no desktop entry

So, after messing around with different installes of freetube, deleting installations, removing mobile versions and so on I am in a state where my freetube-install has no icon in the KDE Application menu. I can start it via “freetube” from the shell, so it is installed. It also shows its installed state within pacseek or via pacman:

pacman -Q freetube
freetube-bin 0.23.12-1

But there is no entry in my “startmenu”, and when I add the started application via “pin to Task Manager” to my task manager I can start it from there, but it opens a second icon which is then the started app. Very strange behavior. If I search for freetube to edit the application I am greeted with an “empty” application:


Uninstallation and re installation does not change this behavior… halp?

O, and btw, I seem to have lost my manners, beg you pardon who has allready read it: Merry Christmas!

If you search for the app in the KDE Menu (not the editor), does it show up? In my recent testing of KDE, I found this happened on multiple occasions, most notably with kitty.

Does the file /usr/share/applications/FreeTube.desktop exist?

You have to do it manually. Place where you want the icon and refer to the folder with the icon. Luckily @dirn 's icon pack got an freetube icon

EDIT: Merry christmas :christmas_tree:

1 Like

Yes.

ll /usr/share/applications/FreeTube.desktop
ls: cannot access '/usr/share/applications/FreeTube.desktop': No such file or directory

Why, though? I know that there was a proper entry when I originally installed freetube. My first installation method was

yay freetube-bin

And I know that other installations of freetube-bin under endevourOS with KDE have such an entry. So there is something wrong with my side - my imagination is that this is somehow repairable, as far as my knowledge of linux and arch goes…

I think it got deleted some how. You can recreate a .desktop file

This is my freetube.desktop file.

[Desktop Entry]
Name=FreeTube
Exec=/opt/FreeTube/freetube %U
Terminal=false
Type=Application
Icon=freetube
StartupWMClass=FreeTube
Comment=A private YouTube client
MimeType=x-scheme-handler/freetube;
Categories=Network;

you can put this in either /usr/share/applications or in .local/share/applications.

2 Likes

Oh Sorry, I always download FreeTube directly from the website. That option isn’t available there. Sorry, I overlooked the fact that you’re installing from the AUR.

I use the -bin option as well and it does give a .desktop(/usr/share/applications) so I’m not sure why theirs is just gone.

My Freetube.desktop is under .local/share/applications.

[Desktop Entry]
Comment=
Exec=/opt/freetube-0.23.12/freetube
Icon=freetube
Name=Freetube
NoDisplay=false
Path=
PrefersNonDefaultGPU=false
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
1 Like

I actually have both locations (the one being used is .local)

1 Like

I only have the one specified location. As I said, I usually download it directly from the freetube site and also update it from there. There were problems at one point, and AUR took forever to release an update.

1 Like

I switched to the non-bin version, but get it pre-compiled by chaotic-aur. It does tend to get updated more regularly than freetube-bin.

Did your downloaded install happen to place the .desktop entry in ~/Desktop?