$$\ $$\ $$\ $$\ $$\ $$\ $$\
$$$\ $$$ | $$ |\__| $$ | $$ | $$ |
$$$$\ $$$$ | $$$$$$\ $$$$$$$ |$$\ $$$$$$\ $$ | $$ |$$\ $$\ $$$$$$$\
$$\$$\$$ $$ |$$ __$$\ $$ __$$ |$$ | \____$$\ $$$$$$$$ |$$ | $$ |$$ __$$\
$$ \$$$ $$ |$$$$$$$$ |$$ / $$ |$$ | $$$$$$$ | $$ __$$ |$$ | $$ |$$ | $$ |
$$ |\$ /$$ |$$ ____|$$ | $$ |$$ |$$ __$$ | $$ | $$ |$$ | $$ |$$ | $$ |
$$ | \_/ $$ |\$$$$$$$\ \$$$$$$$ |$$ |\$$$$$$$ | $$ | $$ |\$$$$$$ |$$$$$$$ |
\__| \__| \_______| \_______|\__| \_______| \__| \__| \______/ \_______/
bin/lansharkgui
In case of dependency errors, install required packages. Dependencies are:
simplejson
To install run pip install simplejson
pygtk
To install checkout this link.
For Mac run brew install pygtk
.
If pygtk is not being imported inspite of being installed add the following into .bashrc
or .zshrc
.
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
The path in the above command might have to be changed depending on your system's python path.
In case an error related to locale is thrown, add the following line to your .bashrc
or .zshrc
.
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
The GUI automatically shows a graphical configuration interface on the first start.
If you are using the command line you have to configure lanshark manually before using it. You need to change at least two keys:
It is recommended to make the INCOMING_PATH directory a subdirectory of SHARE_PATH so that everything you download with lanshark gets shared again.
$XDG_CONFIG_HOME/lanshark/config
which points normally to ~/.config/lanshark/config
.home
directory and called lanshark.conf
.conf
folder and called lanshark.conf
.To define a cover/custom icon for a folder call the file folder.png, folder.jpg, cover.jpg etc. You can customize the list of regular expressions used to match the icons in the config file. The config key is called FolderImages
.