Tweak README-KeyTab and README.keyboard a bit
ClosedPublic

Authored by ahmadsamir on Apr 7 2018, 7:43 PM.

Details

Summary

Rename README.KeyTab to README-KeyTab to prevent Konsole from trying to
load it as a keyboard translator file, and fix references to that file
name in other files.

Flesh out README-KeyTab and README.keyboard and reformat them.

Also copy the the original README-KeyTab to README-KeyTab-original,
just in case there's some concept that I misinterpretted/misunderstood.

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Apr 7 2018, 7:43 PM
Restricted Application added a project: Konsole. · View Herald TranscriptApr 7 2018, 7:43 PM
ahmadsamir requested review of this revision.Apr 7 2018, 7:43 PM

also while we are here, we need to rename this to something other than .keytab since the Konsole code tries to load it as a valid keytab

org.kde.konsole: Unable to load translator "README" file.

data/keyboard-layouts/README-KeyTab-original
5

I would not hard-code these paths - see https://doc.qt.io/qt-5/qstandardpaths.html

ahmadsamir updated this revision to Diff 31986.Apr 12 2018, 5:57 PM
ahmadsamir retitled this revision from Tweak README.KeyTab and README.keyboard a bit to Tweak README-KeyTab and README.keyboard a bit.
ahmadsamir edited the summary of this revision. (Show Details)

Rename README.KeyTab to README-KeyTab to prevent Konsole from trying to load it as a keyboard translator file.

ahmadsamir marked an inline comment as done.Apr 12 2018, 5:58 PM

Ok I looked at this again, the README.keytab is not installed/packaged - I'm not sure how it got copied to the konsole folder on my system. I'm fine w/ the renaming part though.

Regardless, the normal user will not have the README-KeyTab installed - only those that have the source.

hindenburg accepted this revision.Apr 13 2018, 12:43 PM
This revision is now accepted and ready to land.Apr 13 2018, 12:43 PM
This revision was automatically updated to reflect the committed changes.