LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permanent modification to desktop shortcut [debian] (https://www.linuxquestions.org/questions/linux-newbie-8/permanent-modification-to-desktop-shortcut-%5Bdebian%5D-4175617262/)

dx486 11-09-2017 02:35 AM

Permanent modification to desktop shortcut [debian]
 
I edit /usr/share/applications/chromium.desktop and modify one line as Exec=/usr/bin/chromium %U --force-device-scale-factor=1.5 to use it more comfortably with my high dpi screen.

However this file reverts to its original state from time to time. I don't know its reason, maybe it happens when Chromium is updated.

How can I make this change permanent? Can I use a custom desktop shortcut as default chromium launcher? How?

I use debian 9 stable with Dash to Dock extension of Gnome.

business_kid 11-09-2017 04:51 AM

Quote:

Originally Posted by dx486
How can I make this change permanent? Can I use a custom desktop shortcut as default chromium launcher? How?

Permissions, perhaps?
Code:

chown root <your-desktop-icon>

dx486 11-17-2017 03:31 AM

I prefer to make a custom shortcut instead of changing permissions.

ondoho 11-18-2017 03:40 AM

^ this.

1. copy it over from /usr/share/applications to ~/.local/share/applications
2. make your mods

if you don't change its name i think it will just override the one in /usr/share/applications - if not, rename it and use it instead.


All times are GMT -5. The time now is 09:46 AM.