This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Run or show script

46

Votes
50
4
Tags: nautilus, dolphin, interface nautilus, dolphin, interface nautilus, dolphin, interface
(comma "," separated)
User avatar
RazrFalcon
Registered Member
Posts
23
Karma
0
OS

Run or show script

Fri Aug 12, 2011 2:00 pm
Let Dolphin show message with actions like: "Show", "Run" and "Cancel", when i click on bash scripts (*.sh with 777 permission etc.).
I mean something like in Nautilus.
Example:
Image
User avatar
hook
Registered Member
Posts
205
Karma
0
OS

Run or show script

Mon Aug 29, 2011 9:08 am
Isn't something like that (but more automatic and fine-tunable) already possible by using left mouse button (e.g. run) for one action and middle mouse button for the other (e.g. open in Kate).


It's time to prod some serious buttock! ;)
User avatar
RazrFalcon
Registered Member
Posts
23
Karma
0
OS

Run or show script

Mon Aug 29, 2011 11:23 am
hook wrote:Isn't something like that (but more automatic and fine-tunable) already possible by using left mouse button (e.g. run) for one action and middle mouse button for the other (e.g. open in Kate).

Nope.
User avatar
hook
Registered Member
Posts
205
Karma
0
OS

Run or show script

Mon Aug 29, 2011 11:26 am
RazrFalcon wrote:
hook wrote:Isn't something like that (but more automatic and fine-tunable) already possible by using left mouse button (e.g. run) for one action and middle mouse button for the other (e.g. open in Kate).

Nope.


OK. Could you then further explain it please?


It's time to prod some serious buttock! ;)
airdrik
Registered Member
Posts
1854
Karma
5
OS

Run or show script

Wed Aug 31, 2011 5:55 pm
(in KDE 4.5, but I don't think this has changed in later versions) With the right-click options, you can select how you want to open a script, but there is no "run in konsole" option.
I just tried clicking on an executable script and it didn't do anything that I could see. It may have executed it in the background, but there was no feedback, no konsole window to show any output.


airdrik, proud to be a member of KDE forums since 2008-Dec.
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Run or show script

Fri Sep 02, 2011 2:54 pm
Try this service menu.


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
flying sheep
Registered Member
Posts
56
Karma
0
OS

Run or show script

Fri Sep 02, 2011 6:46 pm
My proposal:

KDE should have a setting if the dialog should pop up at all, only for scripts, or for all executables.

* For non-scripts it has the options [Execute] [Execute in Terminal] [Cancel]
* For scripts additionally [Open with] (A Button with attached menu. On short click, it opens with the default Text editor set up to open this type of script, on long click it shows the list of apps registered to open it.)
* For mono-, windows- jvm-executables possible the same as for scripts. (as you can open them as archives, too)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]