Use more traditional user folder names

This commit is contained in:
Alexander Hess 2024-01-17 02:46:05 +01:00
parent 93677129bd
commit f5edfd09cd
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
4 changed files with 20 additions and 15 deletions

View file

@ -13,7 +13,7 @@ useNewBigFolderSizeLimit=false
[Accounts] [Accounts]
0\Folders\1\ignoreHiddenFiles=false 0\Folders\1\ignoreHiddenFiles=false
0\Folders\1\localPath=/home/alexander/data/ 0\Folders\1\localPath=/home/alexander/Documents/
0\Folders\1\paused=false 0\Folders\1\paused=false
0\Folders\1\targetPath=/ 0\Folders\1\targetPath=/
0\Folders\1\version=2 0\Folders\1\version=2

View file

@ -1,7 +1,7 @@
[storage] [storage]
engine = file_system engine = file_system
path = /home/alexander/data/getraenkemarkt path = /home/alexander/Documents/Getraenkemarkt
directory = mackup directory = Mackup
[applications_to_ignore] [applications_to_ignore]
# Do not sync configuration files managed by # Do not sync configuration files managed by

View file

@ -179,8 +179,8 @@ _fix_locations() {
run-private-scripts() { # in the Nextcloud run-private-scripts() { # in the Nextcloud
sudo --validate || return sudo --validate || return
if [ -d "$HOME/data/getraenkemarkt/shell" ]; then if [ -d "$HOME/Documents/Getraenkemarkt/Shell" ]; then
for file in $HOME/data/getraenkemarkt/shell/*.sh; do for file in $HOME/Documents/Getraenkemarkt/Shell/*.sh; do
source $file source $file
done done
fi fi

View file

@ -1,10 +1,15 @@
# Configure the XDG user directories to integrate Nextcloud # This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
XDG_DESKTOP_DIR="$HOME/desktop" # interested in. All local changes will be retained on the next run.
XDG_DOCUMENTS_DIR="$HOME/data" # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
XDG_DOWNLOAD_DIR="$HOME/downloads" # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
XDG_MUSIC_DIR="$HOME/data" # absolute path. No other format is supported.
XDG_PICTURES_DIR="$HOME/data/photos" #
XDG_PUBLICSHARE_DIR="$HOME/data/shares/public" XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_TEMPLATES_DIR="$HOME/data/templates" XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_VIDEOS_DIR="$HOME/data/photos/videos" XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Documents/Gallery/Music"
XDG_PICTURES_DIR="$HOME/Documents/Gallery"
XDG_PUBLICSHARE_DIR="$HOME/Documents/Shared/Public"
XDG_TEMPLATES_DIR="$HOME/Documents/Templates"
XDG_VIDEOS_DIR="$HOME/Documents/Gallery/Videos"