Comments (6)
This would be good idea but as meteo-qt have only two files inside settings folder,i see no point to use two folders with one file inside both folders.
from meteo-qt.
Hello,
On the one hand is good to keep the standards, on the other hand maybe is worst as Otto says
Actually, i am in movement period, i will see this better later but tell me also your suggestions
Thanks
Dimitrios Glentadakis
from meteo-qt.
The idea is that looking for certain kinds of files should be intuitive.
If a problem comes up, it's just convenient to know where to look for the logs. If on the other hand applications make exceptions / implement own concepts things get more complicated as it's hardly possible to memorize many exceptions of different programs.
Of course it may look strange to create two directories each comprising a single file only. But creating a directory isn't a big deal and all in all I still think the advantages would outweigh any eventual disadvantages.
On a side note in the meantime I realized that some software like Openbox place their log files in $XDG_CACHE_HOME but I don't think that this makes really sense either.
from meteo-qt.
The standard:
"$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used."
On my system the $XDG_CACHE_HOME is not defined
According this:
"$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used."
i looked in the ~/.cache directory, and i found only two log files: Openbox and Simplescan.
All other log files in home directory at situated in the config or the ~/.APPDIR/ or in ~/.local/share/data
I am a little confused, ok a log file contains non essential data, but maybe not ?
For example, you can delete the cache files of a database regularly but is the same for a log file ?
from meteo-qt.
I agree definitions and common practice aren't exactly concise. Comparing with the system-wide directories in /
a real counterpart to /var/log
doesn't exist at all. But considering $XDG_CACHE_HOME
and $XDG_DATA_HOME/applications
I'd tend to say the latter is more suitable.
Is writing to systemd journal eventually an option, too?
from meteo-qt.
it seems acceptable to have the log and the configuration file at the same place
from meteo-qt.
Related Issues (20)
- Font size minimum limit too high HOT 1
- Wishlist: % Chance of Precip HOT 8
- [FR] Please add tray icon font setup HOT 10
- Notifications don't respect markup HOT 10
- Meteo-Qt no forecast HOT 2
- meteo-qt forcast is not completing HOT 2
- Font size too small for temperature HOT 2
- Current Conditions Sometimes Way Off HOT 2
- Error 401 Unauthorized HOT 15
- openweather XML tree output changed HOT 2
- Applet never finishes loading HOT 2
- Unable to add cities - 401 Unauthorized from API HOT 1
- Transparency HOT 2
- Arch Linux System Upgrade Breaks meteo-qt v3.3-1 HOT 4
- Doesn't start HOT 18
- Support for open-meteo.com HOT 2
- [Question] How do I extract data from this app? HOT 16
- spurious log file in $XDG_CONFIG_HOME HOT 2
- Improve granularity and number days covered
- Add in README.md how to colaborate in translations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteo-qt.