Do

How do you change the default action on an item, old way not working in 0.813

Asked by pt123

In earlier versions gnome-do would seem to order the action list based on usage.

But in 0.813 the default action stays there no matter how many times you use the other actions.

I even deleted the ~/.local/share/gnome-do folders
and re-installed gnome-do and still the default action doesn't change

In earlier versions one could open the relevance(8) file in a text editor in GEdit.
Now it is unable to and and this error shows up
gedit has not been able to detect the character coding.

Question information

Language:
English Edit question
Status:
Answered
For:
Do Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
pt123 (pt123) said :
#2

??

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
pt123 (pt123) said :
#4

anyone

Revision history for this message
David Bushong (dbushong) said :
#5

I'd love to know how to get my scripts to suggest Run as the default again instead of Open

Revision history for this message
pt123 (pt123) said :
#6

It is good to know that someone else is facing similar issues, I am surprised not many are using Gnome Do to interact with their bash & pythons scripts.

I even opened a bug report on it but there has been no follow up from the developers.
https://bugs.launchpad.net/do/+bug/349856

When I went on to the gnome-do IRC channel, they were very reluctant to help, esp. at the possbility of reading the relevancy file.

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
pt123 (pt123) said :
#8

still no answer

Revision history for this message
Chris S. (cszikszoy) said :
#9

There's no way to manually change the relevancy of an item or action. If you'd like to do this, select your desired item or action, and hold shift while pressing enter a couple of times. This will increase the relevancy of whatever you have selected. It seems crude -- I know, but that's the way to do it.

As for scripts, for Do to show the "run" action, not the "Open" action, the script must have the executable flag set. This is what Do checks (the x flag) when determining whether or not to show the "Run" action.

Revision history for this message
BrokenTusk (dave-meyer) said :
#10

Here is the bare-bones solution to defining what app Gnome-do uses to OPEN:

Adding this env variable to a session (ie: add to ~/.profile):
export DE="gnome"
makes the OPEN action (using xdg-open) default to Gnome's preferred application settings
which will use the MIME associations set in ~/.local/share/applications/defaults.list

NOTE: you must kill and restart gnome-do for chgs to take affect

Can you help with this problem?

Provide an answer of your own, or ask pt123 for more information if necessary.

To post a message you must log in.