Open with using terminal Doesn't cause file to run

Bug #1377472 reported by Darrell Swafford
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Files
Won't Fix
Wishlist
Unassigned

Bug Description

When selecting a file, such as an executable , and pantheon files to use the terminal to open said file, it does not run or open.
It simply opens terminal.

Desired effect would be to run the file selected as an executable, or the default associated program in the terminal to debug by seeing the ran commands.

Revision history for this message
Danielle Foré (danrabbit) wrote :

OP, if I understand correctly are you following these steps?
1. right click on an executable
2. Open With > Other Application
3. View All Applications
4. Select Terminal

If so, I think it should be fairly obvious that Files does not recognize what you're asking as a valid selection. I think this would have to be solved on Terminal's side to accept arbitrary binaries.

Changed in pantheon-files:
status: New → Invalid
Changed in pantheon-terminal:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jeremy Wootten (jeremywootten)
Changed in pantheon-files:
status: Invalid → In Progress
importance: Undecided → Medium
assignee: nobody → Jeremy Wootten (jeremywootten)
Changed in pantheon-files:
milestone: none → loki-beta1
Changed in pantheon-terminal:
milestone: none → loki-beta1
Cody Garver (codygarver)
Changed in pantheon-files:
assignee: Jeremy Wootten (jeremywootten) → nobody
importance: Medium → Low
status: In Progress → Confirmed
Changed in pantheon-terminal:
importance: Medium → Low
status: In Progress → Confirmed
Changed in pantheon-files:
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: loki-beta1 → loki+1-beta1
Changed in pantheon-terminal:
status: Confirmed → In Progress
Changed in pantheon-files:
assignee: nobody → Jeremy Wootten (jeremywootten)
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Branches unlinked and bug marked "Will not Fix" in Files. The simplest way to achieve this is to add a contract in the form:

[Contractor Entry]
Name=Run in Terminal
Icon=terminal
Description=Do something to the selected entry(s)
MimeType=application/x-sh;application/x-executable;
Exec=pantheon-terminal -e %f
Gettext-Domain=pantheon-terminal

An option "Run in Terminal" then appears in the context menu when an appropriate file is right-clicked.

It is debatable whether this should be supplied as standard but that is not a Files issue.

Changed in pantheon-files:
status: In Progress → Won't Fix
importance: Low → Wishlist
assignee: Jeremy Wootten (jeremywootten) → nobody
milestone: juno-beta1 → none
Changed in pantheon-terminal:
assignee: Jeremy Wootten (jeremywootten) → nobody
no longer affects: pantheon-terminal
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

User contracts should be added to ~/.local/share/contracts with a filename ending in .contract.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.