How to copy ChromeDev to desktop?

Ubuntu 24.04 new install
Gnome, X11, dash-to-panel plugin
I’ve installed ChromeDev from Flatpak, the launcher is located at /var/lib/flatpak/exports/share/applications/, when I tried to paste into my desktop, the paste option, when click on an empty space on the desktop is grayed out, is there another way for me to copy launcher to desktop? This is not the only one, I have other launchers that behave the same way.

Are you using 24.04, 24.04.1 or 24.04.2?
Is it possible this is related to Firefox’s apparmor profile?
You might also check the permissions on the copied launcher.

It seems possible that copying the launcher to the desktop puts it
in a different apparmor context (whatever that is).

On 24.04.1 I was unable to change Firefox’s download directory until
I replaced its apparmor profile with an unconstrained one.
(nb: I installed from the deb not snap or flatpak).
But in 24.04.2 this was not a problem.

Can you right click the pasted, grayed out icon and select Allow launching? Or what message do you get when double clicking the grayed out icon?

@reckless-symmetry it’s Ubuntu 24.04.2 LTS, the file is fully open,
lrwxrwxrwx 1 root root 103 Apr 18 11:46 com.google.ChromeDev.desktop -> ../../../app/com.google.ChromeDev/current/active/export/share/applications/com.google.ChromeDev.desktop

@g-schick sorry for my bad English, what I meant is I coudn’t paste it into desktop (not that the pasted icon is grayed out), I did CTRL + C on the desktop file in /var/lib/flatpak/exports/share/applications/ then CTRL + V on my desktop, no icon was pasted, then tried to right click on empty space on the desktop, and the paste option is grayed out. The icon could not be pasted.

Are you allowed to paste other files on desktop? Are you allowed to paste in nautilus in ~/Desktop?

@g-schick yes, I can, actually I could paste most of the apps I use frequently to my desktop, but some of them I could not. I’m using Krusader, not Nautilus, I recall that before switching to Krusader, I had paste problem with Nautilus too.

The option to past is also grayed out if there is nothing to paste in clipboard. Can you paste these files in other locations?

Can’t you just right click on the ChromeDev icon and select Add this launcher to desktop?

I’m using Ubuntu Mate 24.04.2 and I simply go into my Applications menu and do the above and done.I can’t imagine it’s that much different in Gnome but maybe I’m wrong?

@Norm24 in Krusader there’s no option to Add this launcher to desktop (since I moved to Ubuntu from MX, never found this option, tried with Thuna, Nautilus, and Krusader.) Nautilus allowed me to copy and paste, when tried to click, it said broken link

Another guess: it seems you try to copy a symbolic link which contains a relative path. So the relative path wont be correct in new location.

Maybe you can try copying the original desktop file (Careful! I guessed the paths considering posts #4 & #5):
cp /var/lib/flatpak/app/com.google.ChromeDev/current/active/export/share/applications/com.google.ChromeDev.desktop ~/Desktop

[Edit]
Or you try to copy the original desktop file from the location with full path using graphical tools.

1 Like

I’m not familiar with the Gnome desktop just Mate.I have only one Flatpak installed on my machine kweather and I can right click on it in my Applications menu and I can add it to the desktop without issue.I can also drag it to the desktop but will get the broken link message and this goes for all Flatpak apps.Debs and Snaps can be added to the desktop using both methods.On my installation there’s no reason to use a file manager to accomplish this.

in mine, using Gnome and X11, I have only 3 options: 1) New Window 2) Pin to Dash 3) App Details

Like I said I’m not to familiar with Gnome these days but it would appear you’ve solved your problem and in the end that’s all that matters!

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