xatupal / KeeTheme

KeePass Plugin
MIT License
457 stars 36 forks source link

Options tab missing #93

Closed scarlion1 closed 1 year ago

scarlion1 commented 1 year ago

How come I can't see this tab in my options? https://github.com/xatupal/KeeTheme/blob/master/docs/KeePassDarkThemeCustomOptions.png There isn't anything after "Advanced" in my KeePass, which is v2.54 now. Don't have any arrow buttons either as if there were more tabs to the right.

The plugin is otherwise loaded and active and Ctrl-T toggles it, can see "Tools > Dark theme" menu item as well... Thanks

xatupal commented 1 year ago

Hi! I've checked KeeTheme in KeePass v2.54 and I can't reproduce the problem. Do you have any other plugins installed?

scarlion1 commented 1 year ago

Just SftpSync

xatupal commented 1 year ago

Still no luck. Does it work in the previous KeePass version?

scarlion1 commented 1 year ago

No, it wasn't either, then I recently upgraded to 2.54 and still see the issue. I tried clearing the plugin cache too. I guess all I can think of now is: I'm running it on Linux via mono, could that cause something like this? Thanks

scarlion1 commented 1 year ago

Well, now it's become more of an issue because Ctrl-T is also the shortcut key to copy an OTP code, which I'd like to be able to do.  However, Ctrl-T toggles the dark theme on/off.  Any idea how I could change the shortcut key?  Thanks

xatupal commented 1 year ago

Unfortunately, the plugin has not been tested on Linux for a long time. I tried Mono on Windows but KeePass didn't even start. It's easy to change hotkey when you have access to the options: obraz

scarlion1 commented 1 year ago

Usually the options are stored in a config file somewhere or registry key, right? Is that the case here? Then I could just change the config file or registry key directly...

xatupal commented 1 year ago

The options are stored in KeePass.config.xml file. Insert/modify the following lines if you want to change your hotkey to e.g. Ctrl+G:

<Custom>
  <Item>
    <Key>KeeTheme.HotKey</Key>
    <Value>G, Control</Value>
  </Item>
</Custom>
scarlion1 commented 1 year ago

Awesome! That worked like a charm! and Ctrl-T now copies the OTP code. Thanks!!