-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where; documentation for python API #29
Comments
in the docs/reference folder? please have a look at the examples as well. |
@info-cppsp I've looked there. Unfortunately, none of those explain how to bind keyboard modifiers and a mouse action to some code. |
now all this is deep inside caja. I don't think there is a way to use extensions to override this.
What looks useful here is the menu. Maybe have a look at caja-extensions/gksu - that is the open as admin menu |
The context menu option to start with |
to add shortcut: yes, I get what you are trying to do, but I still don't think it is possible with extensions... |
I see.... In that case, I guess I won't be able to do it unless I help
developing caja.
I'm quite full on time so I'm unsure I can. Unless it is to add an
extension point that allows doing just this.
Any documents on how to contribute to caja with the intention of adding
extension points?
…On Tue, Mar 6, 2018 at 1:36 PM, info-cppsp ***@***.***> wrote:
to add shortcut:
caja/src/file-manager/fm-directory-view.c fm_directory_view_class_init()
at the end of this function there are signal bindings for deleting files.
One could add a shortcut here - and add it for the other views as well.
yes, I get what you are trying to do, but I still don't think it is
possible with extensions...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAnB68Z22CpesK3F66oENZUxoodcJSSZks5tbpDagaJpZM4SVsWJ>
.
|
http://wiki.mate-desktop.org/applications:caja @monsta @lukefromdc |
All my experience is with C and I really don't know much about Python |
that's, ok, the actual question is: can the default double-click action (on a file) in caja be redefined? |
Right click on a file, then click "properties" in the menu that opens, then select "open with" and you will get a list of applications with radio buttons. Whichever one is the active radio button will be the one that double-clicking files of that type opens them with |
@lukefromdc I want a different action for when |
I do not know how to do something like that, maybe someone else here does. @monsta? |
You can add a list view column, a property page tab, and a context menu item. I recall there also was an ability to add a toolbar button, but it got lost at some point. I think that's all. Note that there's a preference setting (in Caja, not here) to open folders with single click instead of double one, so I'd be careful with changing anything that could be related. |
In that case.... Nothing I can do except going to caja and add code for such feature, right? |
Where can I find the documentation of the python API?
I want to make an extension in python to:
When:
Instead of (default):
Do:
Ctrl
andShift
are currently pressed-- (if so) Execute
gksudo -u root
+ {start command}-- (else) Execute default
caja already has a right click command to "start as administrator" (root) but I'd like a step further and have a keyboard shortcut.
The text was updated successfully, but these errors were encountered: