Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 10720  / 2 Years ago, tue, april 5, 2022, 3:56:25

So I'm trying to create a desktop icon for an application, and I dragged it from the top-left menu (I think it's called Dash or something). I clicked on it and it says it is untrusted and refuse to execute it.



I found out that I have go to Permission and check the checkbox saying "Allow executing file as program". However, when I open up the Permission dialog it says "I am not the owner, therefore I cannot change those settings." Everything is disabled and I can't check it.



enter image description here



Why is this happening and how do I "make myself the owner"?


More From » permissions

 Answers
1

  • Open a terminal with Ctrl + Alt +T then run this command:



    cd ~/Desktop
    sudo chmod +x sublime_text.desktop


    Change Desktop to whatever your desktop is called in your language.
    chmod is a command line command to change permissions, +x make it executable


  • or instead you can run:



    cd ~/Desktop
    sudo chown yourusername sublime_text.desktop


    chown is command line command to change file owner



[#28057] Wednesday, April 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
intssive

Total Points: 493
Total Questions: 119
Total Answers: 101

Location: Liberia
Member since Mon, Feb 1, 2021
3 Years ago
;