~martijnbraam/public-inbox

1

megapixels - postprocess.sh

Details
Message ID
<01f19f29-0bcd-4d08-5fd6-378518dbbd6a@online.de>
DKIM signature
missing
Download raw message
Hallo Marti, (ok ?)

can you look this:

https://wiki.mobian-project.org/doku.php?id=pinephone

for a different user language the file postprocess.sh in line 20 has to 
be adjusted to store the images in the picture folder:

line 20 old: TARGET_NAME="$2"
line 20 new: XDG_PICTURES_DIR=$(cat $HOME/.config/user-dirs.dirs | grep 
PICTURES | cut -d= -f2 | cut -d\" -f2)
line 21 new: TARGET_NAME="$XDG_PICTURES_DIR/${2##*/}"  # for all users 
languages

Best regards
Moritz
Details
Message ID
<CA+XnvuODXBqjN_kixW_mi_t+u_HTVh3B0Qwf3VUOpGh==+v_9Q@mail.gmail.com>
In-Reply-To
<01f19f29-0bcd-4d08-5fd6-378518dbbd6a@online.de> (view parent)
DKIM signature
missing
Download raw message
Hello Moritz,

The proper solution to this is that the settings page should finally
be implemented so end users can set where the pictures go. The post
processing script shouldn't mess with the path that's provided by
Megapixels.

Greetings,
Martijn

Op do 3 dec. 2020 om 11:17 schreef <mo2mo@online.de>:
>
> Hallo Marti, (ok ?)
>
> can you look this:
>
> https://wiki.mobian-project.org/doku.php?id=pinephone
>
> for a different user language the file postprocess.sh in line 20 has to
> be adjusted to store the images in the picture folder:
>
> line 20 old: TARGET_NAME="$2"
> line 20 new: XDG_PICTURES_DIR=$(cat $HOME/.config/user-dirs.dirs | grep
> PICTURES | cut -d= -f2 | cut -d\" -f2)
> line 21 new: TARGET_NAME="$XDG_PICTURES_DIR/${2##*/}"  # for all users
> languages
>
> Best regards
> Moritz
Reply to thread Export thread (mbox)