[jitsi-users] XDG specification


#1

Hi.

Do you plan on supporting XDG dir specification ? For those who doesn't know it, it's a Freedesktop.org specification to help cleaning the home dir. Instead of having $HOME/.jitsi/, it would be :

  * $HOME/.config/jitsi/ for config files ;
  * $HOME/.local/share/jitsi/ for data files (contact list, logs,...) ;
  * $HOME/.cache/jitsi/ for cache.

Some might not be used, as the cache dir (I didn't find one in the actual hierarchy), and data files may be moved in the config dir to simplify the implementation.

What do you think of it ?

Mikaël


#2

Hi.

Thanks for this quick answer.
Sorry my english is pretty much limited xD i dont understand much...
I am just a private dude who wants to get rid of his skype and whatsapp finally... hopefully by enjoying jitsi messenging :slight_smile:
I am not 2 sure if the Error message i got is an error message.. but it did look like. i Tried to create the account with different browsers (coz i use noscript and stuff and wasnt sure if thats the reaseon).

Best Regards,
IRIE

···

Am 13.08.2013 13:50 schrieb Mikaël Fourrier:

Hi.

Do you plan on supporting XDG dir specification ? For those who
doesn't know it, it's a Freedesktop.org specification to help cleaning
the home dir. Instead of having $HOME/.jitsi/, it would be :

* $HOME/.config/jitsi/ for config files ;
* $HOME/.local/share/jitsi/ for data files (contact list, logs,...) ;
* $HOME/.cache/jitsi/ for cache.

Some might not be used, as the cache dir (I didn't find one in the
actual hierarchy), and data files may be moved in the config dir to
simplify the implementation.

What do you think of it ?

Mikaël

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

I have a patch ready that exactly does this, but it was targeted primarily for Windows. Macs would also benefit for the logs directory. I didn't receive much feedback...

I've seen the freedesktop initiative and I personally like the idea, but I'm really unsure what others think of this. The point is: freedesktop is not a real authority as the official MS or Apple documentation is.
Whats the opinion of other Linuxers on the list?

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

···

Le 13.08.2013 à 13:52, "Mikaël Fourrier" <mikael.fourrier@laposte.net> a écrit :

Hi.

Do you plan on supporting XDG dir specification ? For those who doesn't know it, it's a Freedesktop.org specification to help cleaning the home dir. Instead of having $HOME/.jitsi/, it would be :

* $HOME/.config/jitsi/ for config files ;
* $HOME/.local/share/jitsi/ for data files (contact list, logs,...) ;
* $HOME/.cache/jitsi/ for cache.

Some might not be used, as the cache dir (I didn't find one in the actual hierarchy), and data files may be moved in the config dir to simplify the implementation.

What do you think of it ?

Mikaël

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

I have a patch ready that exactly does this, but it was targeted
primarily for Windows. Macs would also benefit for the logs
directory. I didn't receive much feedback...

I've seen the freedesktop initiative and I personally like the idea,
but I'm really unsure what others think of this. The point is:
freedesktop is not a real authority as the official MS or Apple
documentation is. Whats the opinion of other Linuxers on the list?

Freundliche Grüsse, Ingo Bauersachs

It's not a forced standard, but it's pretty used : awesome, chromium, git, gtk, kde, libreoffice, mumble, rox, systemd, vlc... It helps a lot in cleaning a really charged $HOME, plus helping the user in choosing files to save.

My fault, I didn't mentioned : the dir locations are defined in variables XDG_CONFIG_HOME, XDG_CACHE_HOME and XDG_DATA_HOME. Theirs defaults values (if they are not set) are .config, .cache and .local/share (personally, I moved it to .data).

···

Le 13/08/2013 21:54, Ingo Bauersachs a écrit :

* $HOME/.config/jitsi/ for config files ;
* $HOME/.local/share/jitsi/ for data files (contact list, logs,...);
* $HOME/.cache/jitsi/ for cache.

Mikaël


#5

"Mikaël Fourrier" <mikael.fourrier@laposte.net> a écrit :

···

Le 13/08/2013 21:54, Ingo Bauersachs a écrit :

I have a patch ready that exactly does this, but it was targeted
primarily for Windows. Macs would also benefit for the logs
directory. I didn't receive much feedback...

I've seen the freedesktop initiative and I personally like the idea,
but I'm really unsure what others think of this. The point is:
freedesktop is not a real authority as the official MS or Apple
documentation is. Whats the opinion of other Linuxers on the list?

Freundliche Grüsse, Ingo Bauersachs

It's not a forced standard, but it's pretty used : awesome, chromium,
git, gtk, kde, libreoffice, mumble, rox, systemd, vlc... It helps a lot

in cleaning a really charged $HOME, plus helping the user in choosing
files to save.

My fault, I didn't mentioned : the dir locations are defined in
variables XDG_CONFIG_HOME, XDG_CACHE_HOME and XDG_DATA_HOME. Theirs
defaults values (if they are not set) are .config, .cache and
.local/share (personally, I moved it to .data).

* $HOME/.config/jitsi/ for config files ;
* $HOME/.local/share/jitsi/ for data files (contact list, logs,...);
* $HOME/.cache/jitsi/ for cache.

Mikaël

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

No one ?