LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2015, 04:46 AM   #1
gcdesroches
LQ Newbie
 
Registered: Dec 2015
Location: Tennessee
Posts: 6

Rep: Reputation: Disabled
Question Debian 8 will not allow double click run of .sh files


Hey all,

I recently had a server crash and decided to upgrade my Debian to the newest since I had to rebuild anyway. Now that I have I can no longer run .sh files. No idea why.

I have used chmod to set owner and group and made certain I have execute perm set. I checked that I have the latest bash.

Still, when I double click an .sh file as I did with the old debian it will not run, it just opens the editor. Also, properties does not offer the option to "run as program" as the old version did.

What has changed?? Any clues???
BTW: the script is the same one the old system was using, no changes to it. Tried recreating as a new file as well. no luck
The script opens xterm and executes a java based program... Yes I have latest xterm and yes latest java is installed. the script commands will open a new xterm and run the program if typed into a terminal manually.

Last edited by gcdesroches; 12-06-2015 at 04:53 AM. Reason: clarification
 
Old 12-06-2015, 07:41 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
GNOME3?

For some reason the GNOME team decided to remove the "preference" window in Nautilus.

You can still enable it (via GUI) using dconf-editor (a horrible tool for end-users).

Run dconf-editor, and click:

>org
>>gnome
>>>nautilus
>>>>preferences
... and change (just click on it) executable-text-activation in "launch" or "ask".

Last edited by jens; 12-06-2015 at 07:45 AM.
 
1 members found this post helpful.
Old 12-06-2015, 09:35 AM   #3
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
The double-click action is set in the file manager, whatever you're using. Check the documentation for your file manager and you should find the way to control double-click actions.
 
Old 12-07-2015, 06:15 AM   #4
gcdesroches
LQ Newbie
 
Registered: Dec 2015
Location: Tennessee
Posts: 6

Original Poster
Rep: Reputation: Disabled
Solution

Quote:
Originally Posted by jens View Post
GNOME3?

For some reason the GNOME team decided to remove the "preference" window in Nautilus.

You can still enable it (via GUI) using dconf-editor (a horrible tool for end-users).

Run dconf-editor, and click:

>org
>>gnome
>>>nautilus
>>>>preferences
... and change (just click on it) executable-text-activation in "launch" or "ask".
This did it!
Thanks Very much.
 
Old 12-07-2015, 12:26 PM   #5
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,140

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by jens View Post
GNOME3?

For some reason the GNOME team decided to remove the "preference" window in Nautilus.

You can still enable it (via GUI) using dconf-editor (a horrible tool for end-users).

Run dconf-editor, and click:

>org
>>gnome
>>>nautilus
>>>>preferences
... and change (just click on it) executable-text-activation in "launch" or "ask".
Right click on the Files when it's just right of the Activites button, preferences are there on my Gnome vm.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could Debian have fluxbox package with double click and one with shade_cmd to maximz? frenchn00b Debian 1 12-09-2008 01:16 AM
Double/single click open files klarsin Linux - Desktop 2 02-16-2008 04:32 PM
How can I open WMV files by Double Click? WhiteTree Linux - Software 4 03-26-2005 05:52 PM
Howto open files w/ double-click, not one? in Konqueror Steel Shepherd Linux - Newbie 3 02-19-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration