nautilus

Where to find information about Nautilus D-Bus interface

孤人 提交于 2019-12-12 20:48:01
问题 I am planning to develop a command line application that interact with Nautilus, but I cannot find a reference for the D-Bus interface that Nautilus exposes. 回答1: For the time being, the only DBUS interface that nautilus implements is this: http://www.freedesktop.org/wiki/Specifications/file-manager-interface/ 回答2: Although I haven't found any doc on this either, at least you can use sth like d-feet to find out what interface/method/etc. nautilus has. (and I don't think there are a lot of

ssh tunneling for sftp or GUI

假装没事ソ 提交于 2019-12-12 08:17:43
问题 I am trying to use sftp over an ssh tunnel I have a homePC , that can use a gatewayPC as a jump host to login to a remoteserver i use the ssh tunnel command $ssh -t userid@gateway ssh remoteserver from homePC and it worked great However, I would like to open a nautilus or any other file manager once I am logged into the other machine one option is to be able to sftp or ftp over this tunnel Are there GUI based tools like putty for windows in order to make this happen? Any help is appreciated

Gnome files Nautilus context menu “Open with” application list

流过昼夜 提交于 2019-12-08 01:49:34
问题 I am using Gnome with Archlinux. My default file manager is Nautilus. How add recommended apps in "right-click" menu . (Ubuntu-like) They listed only, when i click "Open with other Application" But it's too long! 回答1: To install nautilus-action on Ubuntu, run simply this command via the Terminal: sudo apt-get install nautilus-actions (or equivalant packet manager as yum or pacman) After the installation is complete, let's now see a quick example of how to add an extra action to the right

Gtk Ckipboard: pasting files from a source with custom URI scheme

这一生的挚爱 提交于 2019-12-08 00:00:06
问题 I'm trying to write a a GTK/C application that puts some files on the Gtk clipboard, so a user with Nautilus will be able to paste them. There is a good example of Gtk Clipboard local file copy and paste on stackoverflow. Unofrtunately the files I need to paste are not on the local disk, and cannot be accessed via a standard GVFS URI scheme like file:// Only my application can access these source file after setting up a TCP connection, authenticating and opening an extra channel. How can I

ImportError: No module named gi.repository

自古美人都是妖i 提交于 2019-12-07 01:46:59
问题 I'm trying to launch python script on Ubuntu 10.04: from gi.repository import Nautilus, GObject It doesn't work: Traceback (most recent call last): File "script.py", line 1, in <module> from gi.repository import Nautilus, GObject ImportError: No module named gi.repository I installed python-gobject-dev , python-gobject , python-nautilus , but it didn't help. Has anyone had this problem? 回答1: 10.04? That's pre-GNOME 3, so the preferred Python bindings were based on PyGTK, not PyGObject. You

Escape whitespace in paths using nautilus script

拥有回忆 提交于 2019-12-06 11:33:47
问题 I didn't think this would be as tricky as it turned out to be, but here I am. I'm trying to write a Nautilus script in Python to upload one or more images to Imgur just by selecting and right clicking them. It works well enough with both single images and multiple images - as long as they don't contain any whitespace. In fact, you can upload a single image containing whitespace, just not multiple ones. The problem is that NAUTILUS_SCRIPT_SELECTED_FILE_PATHS returns all the selected files and

Gnome files Nautilus context menu “Open with” application list

六月ゝ 毕业季﹏ 提交于 2019-12-06 04:28:52
I am using Gnome with Archlinux. My default file manager is Nautilus. How add recommended apps in "right-click" menu . (Ubuntu-like) They listed only, when i click "Open with other Application" But it's too long! To install nautilus-action on Ubuntu, run simply this command via the Terminal: sudo apt-get install nautilus-actions (or equivalant packet manager as yum or pacman) After the installation is complete, let's now see a quick example of how to add an extra action to the right-click menu with nautilus-actions. The example consists of adding to the right-click menu the "Edit With Gimp"

Escape whitespace in paths using nautilus script

十年热恋 提交于 2019-12-04 16:21:31
I didn't think this would be as tricky as it turned out to be, but here I am. I'm trying to write a Nautilus script in Python to upload one or more images to Imgur just by selecting and right clicking them. It works well enough with both single images and multiple images - as long as they don't contain any whitespace. In fact, you can upload a single image containing whitespace, just not multiple ones. The problem is that NAUTILUS_SCRIPT_SELECTED_FILE_PATHS returns all the selected files and directories as a space separated string. So for example, it could look like this: print os.environment[

How to create nautilus C extensions

风流意气都作罢 提交于 2019-12-03 12:29:36
问题 I'm trying to create a Nautilus extension in C, but there are just Python examples and helps. Almost no documentation and literally no examples, but just some complete extensions which are long and hard to understand for a beginner. I need just a simple sample code that creates a new column in Nautilus's list view. How to write and compile it. The code I've tried is: #include <libnautilus-extension/nautilus-column-provider.h> typedef struct _FooExtension FooExtension; typedef struct

Put Java application into file manager's context menu

倾然丶 夕夏残阳落幕 提交于 2019-12-02 08:53:45
I'm using Eclipse IDE on Ubuntu. My app offers encryption services and I want to integrate it into the client OS. My question is: Is there a way to put my app programmatically into the context menu (right-click options) of the file manager, irrespective of the file manager a person is using? I would also like to know if there is any way I could do this on Windows explorer as well. But my guess is that it involves adding values to the registry and can be easily achieved. So, is there a general solution to adding context-menu support on linux file managers, and also please correct me if I'm

工具导航Map