Opened 15 years ago

Last modified 10 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:
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 by stippi, 15 years ago

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 by damoklas, 15 years ago

Some Keymap is not seting, is a data.

comment:3 by axeld, 15 years ago

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 by axeld, 15 years ago

Resolution: invalid
Status: closedreopened

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

in reply to:  3 comment:5 by siarzhuk, 15 years ago

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 by axeld, 15 years ago

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 by modeenf, 10 years ago

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 by bonefish, 10 years ago

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.