-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create example hookscripts #16
Comments
This is an example on how to create static links of the following directories to the server home: Dokumente, Bilder, Musik, Videos, Downloads # link dirs to server
for dir in Dokumente Musik Bilder Videos Downloads
do
rmdir $HOME/$dir 2> /dev/null
mkdir "$SERVERHOME/$dir" 2> /dev/null
ln -sfn "$SERVERHOME/$dir" "$HOME/$dir"
done This can be placed as a standalone script in the |
My goal was a symbolic link on the desktop that leads directly to the user's home directory. At first I installed the gnome-extension "desktop-icons" with the browser and turned the extension on. Then I closed the browser. With a right click on the Desktop one get a window with settings. The second point offers the possibility to stop showing the home of linuxadmin on the desktop. After this there is a good place for the symbolic link in the upper left corner of the desktop.
|
This script enables a user to save his own settings in his home directory on the server. In this case you can save settings for the Firefox application, e.g. bookmarks. For the first time it is necessary that there is no directory with previous settings and no symlink either. Please delete it before the script runs for the first time. The right place for the script is here:
The script can be a template for other applications. |
This will be handled by "plugins" in the future. @lawilfried feel free to create pull requests to add your snippets as plugins :) See the wiki over here: https://github.com/linuxmuster/linuxmuster-linuxclient7/wiki/About-plugins Once there are more than 10 plugins, I may create a tool to install them, something like |
Create some example hook scripts for common tasks and publish them in the wiki.
Scripts should be created for:
More ideas are welcome :)
The text was updated successfully, but these errors were encountered: