Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How create FF Standard shortcut in panel

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Waldo Jeffers
Posts: 52
Joined: 2021-12-30 19:38
Has thanked: 1 time
Been thanked: 2 times

How create FF Standard shortcut in panel

#1 Post by Waldo Jeffers »

We uninstalled FF ESR and installed FF Standard. Used this instructions
https://www.how2shout.com/linux/how-to- ... -bullseye/
To create an Application launcher shortcut doesn't work

Code: Select all

root@xxx:~# cp ~/Desktop/firefox.desktop /usr/share/applications/
cp: cannot stat '/root/Desktop/firefox.desktop': No such file or directory
root@xxx:~# 
The firefox.desktop is there on the desktop!
Want to get it into the panel. And delete the one on the desktop.
How does that work?
Waldo Jeffers has reached his limits.

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

Re: How create FF Standard shortcut in panel

#2 Post by canci »

Code: Select all

The firefox.desktop is there on the desktop!
But you're not logged in as root into a desktop. Why do you expect the file be on root's desktop? It's probably on your regular user's desktop. In the example above, you're logged in as root in your terminal, so ~ refers to /root in that case instead of /home/waldo or whatever you call the regular user.

And by the way, you don't have to copy stuff into /usr . You can make custom launchers for your user only. So, open a normal user terminal, don't become root and do:

Code: Select all

cp ~/Desktop/firefox.desktop ~/.local/share/applications/
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

Re: How create FF Standard shortcut in panel

#3 Post by canci »

There's also a nice GUI for editing .desktop files which will automatically make launchers in .local/share/applications. It's called alacarte:
https://screenshots.debian.net/shrine/s ... 4270a1.png

Code: Select all

apt show alacarte
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

Post Reply