Q. TSE: Linux: How to give TSE Linux WSL and non-WSL full functionality and as much as compatibility with TSE For Windows? Checking: Hotkeys
===
See attachment:
keyassignmentreplacementtseforlinux.ui
===
See also inline screenshot below
===
Steps to install:
1. backup your TSE 'e'
cp e eORIGINAL
2. backup your TSE ui/tse.ui
cp tse.ui tseORIGINAL.ui
3. copy attachment
keyassignmentreplacementtseforlinux.ui
into the TSE ui directory
4. edit your tse.ui file and add this line at the very end / bottom of the file test.ui
(that file must thus be located in your tse/ui directory)
#include "ui/keyassignmentreplacementtseforlinux.ui"
5. save your tse.ui file
6. make sure you have no TSE 'e' running
7. goto the tse directory in a terminal and type
./sc32 -B ui/tse.ui
8. that should compile successfully and show some warnings about duplicate keys which can just be ignored.
9. starting TSE
./e
uses now these alternative key assignments
(which you of course can change to your liking if wanting so, then recompile with sc32 again)
10. Tested successfully with
TSE for Linux version 4.50 official release
on Linux WSL Ubuntu
and TSE for Linux non-WSL Ubuntu
===
Rules:
1. -Choose new key assignment if this occurs or in TSE for Linux WSL or in TSE for Linux non-WSL: 'does not show anything in showkey'.
2. -Choose new key assignment if this occurs or in TSE for Linux WSL or in TSE for Linux non-WSL: 'reserved: taken and used by the operating system'
3. -Define the key assignment to the old Linux generated key, given that that generated key not already occurs in tse.ui. E.g. redefine '<CtrlAlt Backspace> lVersion()' as the Linux generated '<CtrlAlt `> lVersion()'
===
Then just add these at lines at the very end of your tse.ui and reompile your tse with
./sc32 -B ui/tse.ui
===
You will only have to lookup then the new key assignments what the new
key combination is for that command.
===
But making it even more transparent and independent, just adding a
#include line at the end of the tse.ui
If you put it in the same directory as 'sc32' you can use:
#include keyassignmentreplacementtseforlinux.ui
otherwise if putting it in the ui directory you have to use
#include "ui/keyassignmentreplacementtseforlinux.ui"
at the end of the original default Semware Linux tse.ui and then
including that file with the below new replacing key information which so
overrules the default key assignments.
===
But now more keys should probably work more than expected quite the
same on assumed maybe all Linux versions.
===
Here below an initial new key assignment, subject to change where it
shows necessary and or more convenient and or better and or otherwise.
===
--- cut here: begin --------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// NEW KEY ASSIGMENT // COMMAND // OLD KEY ASSIGMENT // TYPE // WHAT HAPPENED IN TSE FOR LINUX WSL BEFORE? ('+' IS OK) // WHAT HAPPENED IN TSE FOR LINUX NON-WSL BEFORE? ('+' IS OK)
// -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<Ctrl s><7> RollLeft() // <Alt F5> // new arbitrarily chosen keys // + // - does not show anything in showkey
<Ctrl s><g> RollRight() // <Alt F6> // new arbitrarily chosen keys // + // - reserved: taken and used by the operating system
<Ctrl h> DelLeftWord() // <Ctrl Backspace> // you can now use again <Ctrl Backspace> // - <Ctrl h> // - <Ctrl h>
<Ctrl s><3> InsertLine() // <Alt F2> // new arbitrarily chosen keys // + // - reserved: taken and used by the operating system
<Ctrl s><-> mCopyCharAbove() // <Ctrl -> // new arbitrarily chosen keys // - does not show anything in showkey // - reserved: taken and used by the operating system
<Ctrl s><4> mLower() // <Alt F4> // new arbitrarily chosen keys // - That shows a lot of keys: <Alt [> <1> <;> <3> <S> // - reserved: taken and used by the operating system
<Ctrl s><r> Redo() // <AltShift BackSpace> // new arbitrarily chosen keys // - <CtrlAlt H> // - <Alt Backspace>
<Ctrl s><8> ExecMacro("quote") // <Ctrl 8> // new arbitrarily chosen keys // - does not show anything in showkey // - <Backspace>
<Ctrl s><q> ExecMacro("quote cmt") // <CtrlShift 8> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><w> CopyToWinClip() // <Ctrl Ins> // new arbitrarily chosen keys // - <Alt [> // - does not show anything in showkey
<Ctrl s><s> PasteFromWinClip() // <Shift Ins> // new arbitrarily chosen keys // - That shows a lot of keys: <Alt [> <2> <;> <2> <~> // - <Spacebar>
<Ctrl s><c> Copy() // <Grey+> // new arbitrarily chosen keys // - <+> // - <+>
<Ctrl s><k> CopyToWinClip() // <CtrlShift Grey+> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><5> CutToWinClip() // <CtrlShift Grey-> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><t> Cut() // <Grey-> // new arbitrarily chosen keys // - <-> // - does not show anything in showkey
<Ctrl s><a> CopyAppend() // <Ctrl Grey+> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><n> CutAppend() // <Ctrl Grey-> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><p> Paste() // <Grey*> // new arbitrarily chosen keys // <*> // - <*>
<Ctrl s><o> Paste(_OVERWRITE_) // <Ctrl Grey*> // new arbitrarily chosen keys // - does not show anything in showkey // - <*>
<Ctrl s><o> Paste(_OVERWRITE_) // <Ctrl PrtSc> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><f> PasteFromWinClip() // <CtrlShift Grey*> // new arbitrarily chosen keys // - does not show anything in showkey // - <*>
<Ctrl s><[> Gotoblockbegin() // <Ctrl [> // new arbitrarily chosen keys // - does not show anything in showkey // - <Escape>
<Ctrl s><]> Gotoblockend() // <Ctrl ]> // new arbitrarily chosen keys // - does not show anything in showkey // +
<Ctrl s><6> GotoMark() // <Ctrl 6> // new arbitrarily chosen keys // - does not show anything in showkey // - <Ctrl ^>
<Ctrl s><2> PlaceMark() // <Ctrl 2> // new arbitrarily chosen keys // - <Ctrl `> // - <Ctrl `>
<Ctrl s><i> ExecMacro("isrch") // <Ctrl i> // new arbitrarily chosen keys // - <Tab> // - <Tab>
<Ctrl s><l> Repeatfind() // <Ctrl l> // new arbitrarily chosen keys // + // - <Ctrl l>
<Ctrl s><b> RepeatFind(_REVERSE_) // <CtrlShift l> // new arbitrarily chosen keys // - <Ctrl l> // - <Ctrl l>
<Ctrl s><=> mFindWordAtCursor('b') // <Ctrl => // new arbitrarily chosen keys // - does not show anything in showkey // - <=>
<Ctrl s><v> ViewFinds() // <AltShift v> // new arbitrarily chosen keys // - <Alt v> // - <Alt v>
<Ctrl s><e> ExecScrapMacro() // <Ctrl Enter> // new arbitrarily chosen keys // - <Ctrl j> // - <Enter>
<Ctrl s><m> RecordKeyMacro() // <Ctrl m> // new arbitrarily chosen keys // - <Enter> // + <Enter>
<Ctrl s><0> mListRecentFiles() // <Ctrl 0> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
<Ctrl s><1> MainMenu() // <F10> // new arbitrarily chosen keys // + // - does not show anything in showkey
<Ctrl s><9> ShowEntryScreen() // <Alt F10> // new arbitrarily chosen keys // + // - reserved: taken and used by the operating system
<Ctrl s><h> ExecMacro("potpourr") // <Shift F10> // new arbitrarily chosen keys // + // - reserved: taken and used by the operating system
<CtrlAlt `> lVersion() // <CtrlAlt SpaceBar> // new arbitrarily chosen keys // - <CtrlAlt `> // - <CtrlAlt `>
<Ctrl s><j> ExecMacro("togmax") // <f11> // new arbitrarily chosen keys // + // - reserved: taken and used by the operating system
// not defined anymore mLeftBtn() // <LeftBtn> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
// not defined anymore MouseMarking(_COLUMN_) // <Ctrl LeftBtn> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
// not defined anymore MouseMarking(_LINE_) // <Alt LeftBtn> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
// not defined anymore mShiftLeftBtn() // <Shift LeftBtn> // new arbitrarily chosen keys // - does not show anything in showkey // - does not show anything in showkey
// not defined anymore mRightBtn() // <RightBtn> // new arbitrarily chosen keys // - does not show anything in showkey // - reserved: taken and used by the operating system
// not defined anymore ResizeFont(1) // <Ctrl WheelUp> // new arbitrarily chosen keys // + // - That shows a lot of keys: <Ctrl CursorUp> <Alt [> <1> <;> <5>
// not defined anymore ResizeFont(-1) // <Ctrl WheelDown> // new arbitrarily chosen keys // + // - That shows a lot of keys: <Ctrl CursorDown> <Alt [> <1> <;> <5>
// not defined anymore RollLeft( GetWheelScrollLines()) // <Shift WheelUp> // new arbitrarily chosen keys // - does not show anything in showkey // - That shows a lot of keys: <Shift CursorUp> <Alt [> <1> <;> <2>
// not defined anymore RollRight(GetWheelScrollLines()) // <Shift WheelDown> // new arbitrarily chosen keys // - does not show anything in showkey // - That shows a lot of keys: <Shift CursorDown> <Alt [> <1> <;> <2>
--- cut here: end ----------------------------------------------------