Opened 9 years ago

Last modified 4 years ago

#5129 reopened bug

Keymap preflet saves path not correct

Reported by: damoklas Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/Keymap Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Keymap preflet saves users keymap in /boot/home/config/settings/Keymap not in /boot/home/config/data/Keymap(s?)

Change History (8)

comment:1 Changed 9 years ago by stippi

Resolution: invalid
Status: newclosed

User settings always go into settings. If you were to backup all your settings, would you remember to backup config/data? ;-)

comment:2 Changed 9 years ago by damoklas

Some Keymap is not seting, is a data.

comment:3 Changed 9 years ago by axeld

Not sure if this is actually invalid; the current keymap is definitely a setting, but customized user keymaps sound like they belong to data.

comment:4 Changed 9 years ago by axeld

Resolution: invalid
Status: closedreopened

Until we've discussed this, I'm reopening the ticket, so that it does not get lost.

comment:5 in reply to:  3 Changed 9 years ago by siarzhuk

Replying to axeld:

Not sure if this is actually invalid; the current keymap is definitely a setting, but customized user keymaps sound like they belong to data.

I have the same opinion - the keymap settings are stored in the /boot/home/config/settings/Key_map file, that is produced automatically by Keymap preflet. The "user-produced" keymaps are more like data.

Another point for your attention fiollows. Where they are stored at the moment:

System keymaps: /boot/system/data/Keymaps

User keymaps: /boot/home/config/settings/Keymap

Is such Keymaps <-> Keymap difference intended?

PS: That sound funny, but KeymapSwitcher now looks in /boot/home/config/data/Keymap for user keymaps. And I do not remember why I have changed it to this path. MAy be from "the mirroring principle"? :-)

comment:6 Changed 9 years ago by axeld

The "Keymap" path is a BeOS legacy. This could be renamed to Keymaps, though (definitely should be done if we move this to "data" which I would suggest doing).

comment:7 Changed 4 years ago by modeenf

But can we store things outside of settings?

to test this I tryed to make a data folder in /boot/home/config/data/ but I can't make one.

I don't think /boot/home/config/non-packaged/data are an option?

comment:8 Changed 4 years ago by bonefish

The place for variable data is "var". The search path should thus be:

  • ~/config/var/Keymaps
  • ~/config/non-packaged/data/Keymaps
  • ~/config/data/Keymaps
  • /system/non-packaged/data/Keymaps
  • /system/data/Keymaps
Note: See TracTickets for help on using tickets.