Giter VIP home page Giter VIP logo

mate-user-share's Introduction

mate-user-share is a small package that binds together various free
software projects to bring easy to use user-level file sharing to the
masses.

The program is meant to run in the background when the user is logged
in, and when file sharing is enabled a webdav server is started that
shares the $HOME/Public folder. The share is then published to all
computers on the local network using mDNS/rendezvous, so that it shows
up in the Network location in Gnome.

The dav server used is apache, so you need that installed. Avahi or 
Howl is used for mDNS support, so you need to have that installed and
mDNSResolver running.

mate-user-share's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mate-user-share's Issues

mate-user-share hates "$HOME/Downloads" directory :-)

For some odd reason this package crashes the desktop when trying to access ~/Downloads folder or a symlink with the name Downloads that point to some directory.
The desktop or file manager to be more precise (caja) restarts but every window that was opened in caja does not reopen.
No other folder or symlink do that, or if I rename "Downloads" to "Download" or "downloads" the file manager doesn't crash upon opening the folder, it has to do something with the name "Downloads"...
$HOME/Downloads is not a bookmark BTW.
If I open ~/Downloads with thunar on mate-desktop nothing happens...
I even created a new user and tested it to be sure that is not related to some odd config...
~/.xsession-errors doesn't say anything...
The permissions are fine, I even created the folder manually and after with xdg-user-dirs and logout - login and still the same.
No matter how I open the "Downloads" folder/symlink to a directory, be it double click, context menu > Open in New Tab or Open in New Window...
I've managed to reproduce the bug on virtualbox with archlinux but I can't be sure if it's present on other distros (with the latest packages).
I first installed (on arch-virtualbox) the mate group "pacman -S mate" then saw that everything was fine and caja didn't crashed, then installed the extra packages with "pacman -S mate-extra" and caja crashed when opening ~/Downloads.
So I knew that some package in "mate-extra" was to blame so I removed them one by one...
After removing mate-user-share the desktop crashes once maybe because it was still loaded in memory but after that everything was ok, no more crashes.
Culprit found :D
Xmas morning and I'm writing novels ... I mean reporting bugs... haha.

Get location of "downloads" folder from xdg

At the moment, files via bluetooth recieving to the hard-coded folder ~/Downloads. It's will be good to take location of folder via xdg, because in various localizations it is called by the different names.

mate-user-share doesn't work on firewalled systems

In short, mate-user-share doesn't work on port 80, which everybody would expected.
It doesn't use a any pre-defined port but a random port (from range 32768-65535).
This behaviour makes it impossible to handle by a firewall.
see https://bugzilla.redhat.com/show_bug.cgi?id=1018204
https://bugzilla.redhat.com/show_bug.cgi?id=1013385#c17
Same with old versions of gnome-user-share, see
https://bugzilla.redhat.com/show_bug.cgi?id=179187#c23
https://bugzilla.gnome.org/show_bug.cgi?id=336201#c5
It seems that gnome found a solution, but i didn't really understand how this work.
For me using a system without a firewall is a huge security risk nowadays,
which prevent me to bring in the package to rhel7.

rpm scriptlet output error

If i install/uninstall this new package i get an minor rpm scriptlet output error.
In /etc/xdg/autostart/mate-user-share.desktop are two entries with gconf instead of expected mateconf.

Changing gconf to mateconf in mate-user-share/data/desktop_mate_file_sharing.schemas.in fix the error.

.desktop file lacks Keyword key

I: mate-user-share: desktop-entry-lacks-keywords-entry usr/share/applications/mate-user-share-properties.desktop
N:
N: This .desktop file does either not contain a "Keywords" entry or it does
N: not contain any keywords not already present in the "Name" or
N: "GenericName" entries.
N:
N: .desktop files are organized in key/value pairs (similar to .ini files).
N: "Keywords" is the name of the entry/key in the .desktop file containing
N: keywords relevant for this .desktop file.
N:
N: The desktop-file-validate tool in the desktop-file-utils package is
N: useful for checking the syntax of desktop entries.
N:
N: Refer to
N: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
N: http://bugs.debian.org/693918, and
N: https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords for
N: details.
N:
N: Severity: wishlist, Certainty: certain
N:
N: Check: menu-format, Type: binary
N:

mate-user-share-*.desktop in XDG autostart: breakage near OnlyShowIn= key due to empty Categories= key

Expected behaviour

Intact *.desktop files in /etc/xdg/autostart/

Actual behaviour

OnlyShowIn= key gets appended to Categories= key and thus "disables" OnlyShowIn= field. Consequently, mate-user-share-*.desktop application get launched in every other desktop env installed on the system

Steps to reproduce the behaviour

Launch non-MATE desktop env, inspect /etc/xdg/autostart/mate-user-share*.desktop

MATE general version

1.24

Package version

1.24.0-1

Linux Distribution

Debian

Link to downstream report of your Distribution

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952401

File receiving over bluetooth doesn't work

After last update from branch, bluetooth file receiving was broken. I haven't add any log files, because doesn't know where it are. I'll show it to you if you say where i can get it.

mate-bluetooth version is 1.4.0-1

Add MIME type support in apache conf files

Hi,

in the debian/ folder obtained from mate-desktop/debian-packages there was a patch file provided originally authored by Steve Zesch [1].

I have kept this patch and also spread it out to the Apache2.4 config file [2].

Please considering, applying that patch upstream (or tell me to drop the patch from the mate-user-share Debian package).

Thanks!
Mike

[1] https://github.com/mate-desktop/debian-packages/commits/master/mate-user-share/debian/patches/01_apache-config.patch

Crashed with error [GLib-Critical]

Arch Linux current (not testing). MATE from official repo.

:::/usr/lib/mate-applets/mate-user-share  

** (mate-user-share:19168): WARNING **: Couldn't request the name: Unable to lookup session information for process '19168'

(mate-user-share:19168): GLib-GIO-CRITICAL **: g_settings_get_value: assertion `G_IS_SETTINGS (settings)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed

(mate-user-share:19168): GLib-GIO-CRITICAL **: g_settings_get_value: assertion `G_IS_SETTINGS (settings)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(mate-user-share:19168): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed

Version 1.6.0-1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.