Giter VIP home page Giter VIP logo

Comments (12)

rauldipeas avatar rauldipeas commented on May 31, 2024 1

Currently I have a problem, because the app need to know where the settings.xml is located if I add the ability to change the location of it, I need to write into an other file where the settings.xml file is. On Windows I could you use the registry but I don't know how to handle this on Mac & Linux.

The other problem is the users rights, if I allow to save the settings.xml into the app folder it could be refused to write into. That's why I use the "\Documents" folder. Also on Linux the .AppImage is read only which is a real problem.

So I would like to allow the user to change the settings.xml location but currently I'm stuck.

If someone has any idea I'm curious to know.

On Linux, you can set it to $HOME/.config/shutter-encoder or something similar into this .config folder.

I'm Brazilian and already have $HOME/Documentos for my documents folder, it's very bothering to have this folder duplicated with the name in another language.

from shutter-encoder.

paulpacifico avatar paulpacifico commented on May 31, 2024

Someone also request me this option, just curious why you need to change it? and where?

from shutter-encoder.

chenlung avatar chenlung commented on May 31, 2024

I have a folder within Documents called 'Software' (there are others for unrelated things); this is where I keep such settings.

from shutter-encoder.

paulpacifico avatar paulpacifico commented on May 31, 2024

Ok great, i will add this.

from shutter-encoder.

ltdeta avatar ltdeta commented on May 31, 2024

windows v15.3
I use the portable version.
Here, saving the configuration and functions in the program directory would be a better choice.

Suggestion:
3 options:

    1. default (c:\Users...\Documents\Shutter Encoder).
    1. using portable directory (if portable version)
    1. own selection of the directory

from shutter-encoder.

paulpacifico avatar paulpacifico commented on May 31, 2024

Currently I have a problem, because the app need to know where the settings.xml is located if I add the ability to change the location of it, I need to write into an other file where the settings.xml file is.
On Windows I could you use the registry but I don't know how to handle this on Mac & Linux.

The other problem is the users rights, if I allow to save the settings.xml into the app folder it could be refused to write into. That's why I use the "\Documents" folder. Also on Linux the .AppImage is read only which is a real problem.

So I would like to allow the user to change the settings.xml location but currently I'm stuck.

If someone has any idea I'm curious to know.

from shutter-encoder.

RafaelLinux avatar RafaelLinux commented on May 31, 2024

Continuing with this issue, some time ago I wrote about same issue in openSUSE. SE creates a "Documents" folder, but my local language is Spanish. I wrote to Paul about if I guess something more about this question, I'll tell him about it, and this is what I can contribute about this issue:
The file ~/.config/user-dirs.dirs contains all XDG folders name and their local language equivalent, like this:

XDG_DESKTOP_DIR="$HOME/Escritorio"
XDG_DOWNLOAD_DIR="$HOME/Descargas"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/Público"
XDG_DOCUMENTS_DIR="$HOME/Documentos"
XDG_MUSIC_DIR="$HOME/Música"
XDG_PICTURES_DIR="$HOME/Imágenes"
XDG_VIDEOS_DIR="$HOME/Vídeos"

So XDG_DOCUMENTS_DIR in openSUSE contains the right folder name to store SE setting, in this way:
<XDG_DOCUMENTS_DIR>/.config/shutter-encoder where <> must be the value assigned in mentioned file.

I wish it could help yet to fix the folder settings issue.

from shutter-encoder.

snocodile avatar snocodile commented on May 31, 2024

Is there a fix for the AppImage version yet? It's kind of annoying for users with non-English locales as it creates the Documents folder every time.

from shutter-encoder.

RafaelLinux avatar RafaelLinux commented on May 31, 2024

I can't help more about. I put exactly the file and environment variables that ShutterEncoder should inspect to solve this issue. Several months passed but is like my post was ignored :(

from shutter-encoder.

RafaelLinux avatar RafaelLinux commented on May 31, 2024

I'm sorry Paul, but bad news: I tried "Shutter Encoder 17.0 Linux 64bits.AppImage" and it continues creating "Documents/Shutter Encoder ..." folder.

from shutter-encoder.

paulpacifico avatar paulpacifico commented on May 31, 2024

It will be for the next release.

from shutter-encoder.

RafaelLinux avatar RafaelLinux commented on May 31, 2024

Perfect then!! I'm willing to delete that weird folder from my system that I thought enhancement was integrated in last published version.

THANK YOU for your work, I'm sure it's very difficult to have a multiplatform application running fine in all operating systems.

from shutter-encoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.