This is an old revision of the document!
All Sterrewacht users have access to our own NextCloud server. You can use your Sterrewacht account to login.
The Online Accounts is supported for some major desktops, such as Gnome, Cinnamon and KDE Plasma.
On your Linux PC open Online Accounts interface and create a new account by clicking on the NextCloud button. You can search for Online Accounts in your main search interface or access it via the main system settings interface.
Use https://nextcloud.strw.leidenuniv.nl/ for the Server field. For the Username and Password fields use your Sterrewacht credentials.
After succefully creating an Online Account for NextCloud, you must be able to use your file manager to access your files. It will be shown on the left pane of the file manager window.
In case you get a window with a request to enter your keyring password and you can't skip it, provide the password. If you don't know the password you will need to disable it for this session. For this open Passwords and Keys application and delete the record with name Login (right click). It will be recreated during your next login.
Our Linux workstations also have a Nextcloud desktop app installed; this is a different method to work with nextcloud, so you can use this in stead of the Online Accounts method. This app can be found in the desktop menu. Open it, and it will add an icon to the panel or notification area of your desktop. The first time you run the app, it will pop up a configuration screen (which can be accessed later with a right-click on the icon and selecting “settings”).
This app is different than the online accounts method: it synchronizes your nextcloud account with a local directory. As with many Linux apps, the default location will be in your home directory, and of course, there will not be sufficient space for that. Luckily, you can select the location where you want the synchronization to take place once you have completed the setup. Alternatively, you can move the folder to a data disk and make a symbolic link to this location:
mv $HOME/Nextcloud /net/computername/data2/yourname/Nextcloud ln -s /net/computername/data2/yourname/Nextcloud $HOME/Nextcloud
This should be done when the app is not running, and of course, fill in the computername and username in stead of literally copying this example.