Bug 172038 - Options to open scripts
Summary: Options to open scripts
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 149471 179628 232000 324891 326378 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-02 15:30 UTC by usrrgt
Modified: 2014-12-27 09:47 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Nautilus opening script options. Nautilus options are: - Open in a terminal - Show (at gedit) - Cancel - Run (15.41 KB, image/png)
2008-10-02 15:31 UTC, usrrgt
Details
Nautilus approach (67.11 KB, image/png)
2012-11-07 05:02 UTC, fglopez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description usrrgt 2008-10-02 15:30:48 UTC
Version:            (using KDE 3.5.10)
OS:                Linux
Installed from:    Ubuntu Packages

Nautilus show these options opening scripts (look the snapshot).

I propose this feature for Dolphin. But with one more option: "Open in terminal as root".
Comment 1 usrrgt 2008-10-02 15:31:38 UTC
Created attachment 27658 [details]
Nautilus opening script options.

Nautilus options are:
- Open in a terminal
- Show (at gedit)
- Cancel
- Run
Comment 2 usrrgt 2008-10-02 15:34:42 UTC
Comment on attachment 27658 [details]
Nautilus opening script options.

Nautilus options are:
- Open in a terminal
- Show (at gedit)
- Cancel
- Run

Nautilus options are:
- Open in a terminal
- Show (at gedit)
- Cancel
- Run
Comment 3 Frank Reininghaus 2010-03-25 12:33:23 UTC
*** Bug 179628 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2010-03-25 12:34:07 UTC
*** Bug 232000 has been marked as a duplicate of this bug. ***
Comment 5 FiNeX 2010-08-15 14:07:43 UTC
Bug #246238 is a similar request.
Comment 6 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:56 UTC
Resetting assignee to default as per bug #305719
Comment 7 fglopez 2012-11-07 05:02:55 UTC
Created attachment 75065 [details]
Nautilus approach

In fact ... in Nautilus they have an interesting approach for this issue. 


In the PREFERENCES dialog three options are provided (see Nautilus-approach.png)  :

       -  RUN executable text files when they are opened

       -  VIEW executable text files when they are opened

       -  ASK each time



Is it viable to implement something similar in Dolphin ???????
Comment 8 Frank Reininghaus 2013-06-28 13:05:15 UTC
*** Bug 149471 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2013-07-12 01:13:14 UTC
Bug 275405 has more information and a patch. I am too tired to follow the discussion there, but maybe someone can test the patch.
Comment 10 Christoph Feck 2013-09-14 12:25:06 UTC
*** Bug 324891 has been marked as a duplicate of this bug. ***
Comment 11 Frank Reininghaus 2013-10-21 14:26:39 UTC
*** Bug 326378 has been marked as a duplicate of this bug. ***
Comment 12 Philipp A. 2013-10-31 10:53:51 UTC
another option would be to go with overlays: when setting dolphin to “one click to open files”, clicking the upper left corner adds it to a selection instead. could we e.g. use the upper right corner to display that a file is executable (see bug 268750), and make it only run when clicking that corner?

so we have, in the 4 corners:

add/remove selection (if hovered) | cog (if executable)
VCS status (if under VCS) | symlink icon (if symlink)

clicking any part other than the cog or plus/minus opens it, clicking the cog executes it, and the plus/minus is for selection.
Comment 13 Frank Reininghaus 2013-10-31 12:51:43 UTC
(In reply to comment #12)
> so we have, in the 4 corners:

Please note that we don't have 4 well-defined corners at all if the icon size is quite small (which is the default in Details and Compact View). So I'm afraid your idea would basically only work in Icons View.