After some inactivity time, I’ve started to devote time to Meiga again and developed a set of new cool features, apart of solving some bugs. The result is this new 0.3.0 release.
The most significant new feature is the support for multiple forwarding backends. Now the user can choose not only UPnP, as before, but also SSH forwarding or no forwarding at all (direct connection). What the new SSH forwarding backend does is to connect to a central SSH server and forward the Meiga serving port on it. This way, all the users in the remote SSH server or having direct connection to it, can access to the forwarded port. This connectivity for users having direct visibility of the server is only possible if it’s allowed by the SSH server configuration, though.
The second new feature is the addition of “Share on Meiga…” context menus for Nautilus and Konqueror. That way you don’t have to bother about finding the right folder path in the file selector. For improved security, this context menu will only work if Meiga is already running. No share will ever be served without the user noticing it by seeing the Meiga icon shown in the system tray.
The rest of the changes are minor fixes or collateral changes needed to implement the main ones.
I hope you to enjoy this new version. As always, it’s available for download from: http://meiga.igalia.com
The trayicon’s menu don’t show between exit and restore, the “copy url” or a similar message. Only seen a blank.
Hmmm… You’re right. I’ll try to fix that as soon as possible.
Thank you very much for having pointed it out.
is there a command line way to add shares, in case one wants to add something using thunars custom actions?
Yes, you can add shares from the command line.
Have a look at the script /usr/share/nautilus-scripts/share-on-meiga. It’s designed to be used as a context menu script for Nautilus and for Konqueror. It expects a directory path as its first parameter (or as the NAUTILUS_SCRIPT_SELECTED_FILE_PATHS environment variable), and shows a dialog to the user asking for the share name.
Maybe you need some customization for what you want and you’re more interested into issuing the DBUS call by yourself with the parameters you like. In that case, this is how it’s done in that script:
dbus-send –session –dest=com.igalia.Meiga
–print-reply –type=method_call /com/igalia/Meiga
com.igalia.Meiga.RegisterPath string:”$FILE” string:”$SHARE” > /dev/null
There are some other DBUS methods available. Just install the d-feet utility and browse the DBUS methods offered by MeigaServer. Playing with d-feet you can call the D-BUS methods by hand to check their results.
An important note: Meiga GUI has to be running for new shares to be accepted. This is a security measure to avoid sharing anything if the Meiga GUI hasn’t registered itself to MeigaServer, that is, if the user isn’t seeing the Meiga icon in the system tray.
The tray icon menu problem is now fixed in master.
Help! I have just installed Meiga on my Ubuntu 8.10 (Intrepid Ibex) to try and share files with the 2 Kubuntu PC’s on my home network. The install seemed to work ok – and the programme turned up on my Applications list, but when I click it nothing happens – no GUI pops up to greet me.
When I right click on folders I am now given the option to share using Meiga, but when I try this then browse on my local machine (localhost:8001/sharename) I get File Not Found – same result from the other machines.
I am guessing this is something to do with the GUI not loading – can you help me?
It seems that Meiga 0.3.1 has some compatibility problems with Hardy, Intrepid and Karmic due to differences between GtkBuilder versions.
I’m trying to correct this for a next release by forgetting about GtkBuilder and coding the GUI from scratch. In the meanwhile, try Meiga 0.3.0 or some other previous versions. You can get them from the previous versions section for Intrepid.
It’s normal to get nothing when trying to share a folder using the Nautilus context menu without previously having launched the Meiga GUI. It’s a safety measure.