-
Notifications
You must be signed in to change notification settings - Fork 0
leper/smbpipe
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
smbpipe (Python version) smbpipe is an openbox pipe menu for accessing (list, mount, etc.) samba shares. Shares containing spaces are handled. Printers will be copied to clipboard for usage with CUPS. Changing or creating of credential files is supported and the right permissions (folder 700, file 600) are set. Deleting of users (credential file) is supported. Shares are mounted using sudo, but permissions are set that every user can access the mounted shares. Shares are accessible through different logins and an anonymous login (guest). Usage: Add something like this to your menu.xml <menu id="smbpipe" label="Samba Shares" execute="python /path/to/smbpipe.py" /> If you want your filemanager to open a share upon mounting use the following line <menu id="smbpipe" label="Samba Shares" execue="python /path/to/smbpipe.py --filemanager yourfilemanager" /> Credential files should be stored in $XDG_DATA_HOME/smbpipe/servername as a file with the username or whatever you like. Do NOT forget to set the right permissions (chmod 600) if you write the credential files yourself, directory for credential files should have the right permissions too (chmod 700). Dependencies: python smbclient sudo urxvt (should be easily replaceable with any other terminal emulator) xclip (for copying url for CUPS to clipboard)
About
Openbox pipe menu for accessing/listing samba shares (Python)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published