Home > smbpipe

smbpipe

Smbpipe is a project mainly written in Python, it's free.

Openbox pipe menu for accessing/listing samba shares (Python)

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

If you want your filemanager to open a share upon mounting use the following line

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)

Previous:as3tohaxe