Ubuntu – Untrusted Application Launcher

launcherpermissionsSecurity

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"?

Best Answer

  • 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

Related Question