[opensuse] make a file clickable
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64 If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying. Can I make it click and execute? Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/01/2016 20:40, buhorojo a écrit :
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute? Thanks
it should. Does it really execute? Some partitions can be made noexec and there nothing can be executed jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op woensdag 27 januari 2016 20:40:30 schreef buhorojo:
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute? Thanks
When you create a .desktop file which refers to this executable and you click on the .desktop this executable will be started. Copy an existing .desktop file and change what needs to be changed. It is quite easy. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Freek de Kruijf wrote:
Op woensdag 27 januari 2016 20:40:30 schreef buhorojo:
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute? Thanks When you create a .desktop file which refers to this executable and you click on the .desktop this executable will be started. Copy an existing .desktop file and change what needs to be changed. It is quite easy. Try it. If you copy an existing .desktop file e.g.
cp /usr/share/applications/a_program.desktop ~/Desktop/ you see the icon immediately on the (KDE) desktop. The icon has an exclamation mark at first. If you click on the icon, you will see a warning with the options Continue (execute the program) and Cancel. This is a security warning. Users should not always trust .desktop icons, which were installed by scripts. I do not know how to disable the warning. But the warning comes only once, if you click Continue. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-01-27 20:40, buhorojo wrote:
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute?
That's up to the program that you are running which displays the icon or entry for that executable. It is a security measure, and a very important one, that differentiates yet Linux from Windows. It is intentionally done to bother you and ask if you really want to execute that file or open it. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlapZCUACgkQja8UbcUWM1zPXQD/QQdm9N8HuGQFjNa7rcmXDSVJ N0yOkC9Z3JSrLkViQCIA/0O/F2Z3Od/dZzAGD6h2cuU7k2NXZK1SyJyLiIAMDWO/ =klRx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 28/01/16 01:43, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute? That's up to the program that you are running which displays the icon or entry for that executable. It is a security measure, and a very important one, that differentiates yet Linux from Windows. It is intentionally done to bother you and ask if you really want to execute
On 2016-01-27 20:40, buhorojo wrote: that file or open it.
Hi OK, so I don't think it's possible. I tried copying a .desktop file and changing the program but it has to be run from inside a folder where the license is. Give up:( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 28.01.2016 um 20:21 schrieb buhorojo:
Hi OK, so I don't think it's possible. I tried copying a .desktop file and changing the program but it has to be run from inside a folder where the license is. Give up:(
Have you set the Path= entry in the .desktop file to the folder where the license is? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-01-29 11:31, Martin Helm wrote:
Am 28.01.2016 um 20:21 schrieb buhorojo:
Hi OK, so I don't think it's possible. I tried copying a .desktop file and changing the program but it has to be run from inside a folder where the license is. Give up:(
Have you set the Path= entry in the .desktop file to the folder where the license is?
If that doesn't work, create a wrapper script and a corresponding desktop file for that script. Many programs are started via a script. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 01/28/2016 11:21 AM, buhorojo wrote:
On 28/01/16 01:43, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi I have this file: -rwxr-xr-x 1 br2 users 1678728 Jun 15 2014 StarTools-Linux64
If I click it, it tells me it is executable and asks if I want to execute it or open it. Annoying.
Can I make it click and execute? That's up to the program that you are running which displays the icon or entry for that executable. It is a security measure, and a very important one, that differentiates yet Linux from Windows. It is intentionally done to bother you and ask if you really want to execute
On 2016-01-27 20:40, buhorojo wrote: that file or open it.
Hi OK, so I don't think it's possible. I tried copying a .desktop file and changing the program but it has to be run from inside a folder where the license is. Give up:(
I just ran into this the other day. I seem to remember that the same screen that asked me if i wanted to run it or openit also gave me an option to make my choice permanent. I didn't have to set up and desktop file. The next time I clicked it, it just ran. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Bjoern Voigt
-
buhorojo
-
Carlos E. R.
-
Freek de Kruijf
-
jdd
-
John Andersen
-
Martin Helm