OK I changed delete_line in the [Katepart Shortcuts] section to Ctrl+Y.


Logged out of trinity, restarted xwindows and logged back in.

Everything worked as expected.  Ctrl+Y deleted the line and Ctrl=Z put it back. I normally use Ctrl+E since the finger stretch to Y is too long for either of my hands hand... <grin>

I don't think the problem is Trinity, but.... I don't know where else to look either.

The only other thing I can think of is this.  If you are manually editing the katerc file instead of using Kate Configure, check really careful for any spelling, or punctuation errors, and possibly even capitalization errors on the line that says delete_line.  I "think" that if there is such an error, anywhere on that line, that Kate will not complain but switch over to some hard wired default, possibly Ctrl+Y.

Also, grep the entire .trinity directory for delete_line.  There should only be one and only in katerc.  If there are more than one, that could be your problem.

This has nothing to do with your current problem, but your comment about macro programs applying system wide is not correct.  Both KHotKey which is built in to Trinity and AutoKey, allow you to set things so that the hotkeys only work in "a" specific window...  I am a AutoKey junkie and have not used KHotKey in over 6 years--but I did check and you can still specify a window in KHotKey.

Are you using the Ubuntu version or a different one like ArchLinux?

Storms are coming into my area, so I might be shut down for a few hours if it gets bad.

Keith



On Sat, Nov 21, 2015 at 5:25 PM, Dr. Nikolaus Klepp <office@klepp.biz> wrote:
Hi Keith!


Am Samstag, 21. November 2015 schrieb Keith Daniels:
> hmmm weird...
>
> Have you restarted trinity since you changed  the settings?  If not try
> that...

Sure, not only once :-)

>
> and
>
> Are you using 14.0 version or 14.1 version of Trinity?

R14.0.2, but the problem exists since 3.5.11. I just stumbled upon it once again.

But could you please test on your installation if you could o these remaps:
"Undo" --> <Ctrl>+Z
"Redo" --> <Ctrl>+<Shift>+Z
"Delete Line" --> <Ctrl>+Y

And test what happens if you press (after logging out and logging in again):
<Ctrl>+Y
<Ctrl>+Z

Nik

>
> I just used grep to search all of the .trinity directory and there was only
> one place that had delete_line and that was ~/.trinity/share/config/katerc
>
> So, I'm out of ideas if restarting doesn't work...
>
> Keith
>
> On Sat, Nov 21, 2015 at 4:07 PM, Dr. Nikolaus Klepp <office@klepp.biz>
> wrote:
>
> > Hi Keith!
> >
> > Am Samstag, 21. November 2015 schrieb Keith Daniels:
> > > Check in the Trinity Control Center under:
> > >
> > > Regional & Accessibility >> Keyboard Shortcuts >> Application Shortcuts
> > >
> > > and see if Undo is maped to Ctrl+Y there.
> >
> > No, it's mapped to <Ctrl>+Z.
> >
> > > Also check in Kate
> > >
> > >  Settings >> Configure ShortCuts
> >
> > "undo" --> <Ctrl>+Z
> >
> > > As well as in
> > >
> > > Settings >> Configure Kate >> Editor >> Shortcuts
> >
> > "Delete Line" --> <Ctrl>+Y
> >
> > > To see what is defined there.
> > >
> > > Also, if you are using a macro program like AutoKey, check and see what
> > it
> > > is mapped to.
> >
> > None installed, but that would affect all applications, not only TDE
> > applications.
> >
> > > Finally, the mapping could be in Xwindows, but I don't remember the file
> > it
> > > would be in nor the program that lets you set it.  But it is where you
> > map
> > > the low level keyboard or mouse button keystrokes.  (I think)
> >
> > <CapsLock> is mapped to <Tab> :-) That mappings affect all X11
> > application, not only TDE applications.
> >
> > Nik
> >
> > >
> > > Keith
> > >
> > > On Sat, Nov 21, 2015 at 3:04 PM, Dr. Nikolaus Klepp <office@klepp.biz>
> > > wrote:
> > >
> > > > Hi all!
> > > >
> > > > I have these keybindings defined in .trinity/share/config/kdeglobals:
> > > >
> > > > [Shortcuts]
> > > > Redo=Ctrl+Shift+Z
> > > > Undo=Ctrl+Z
> > > >
> > > > And I have these keybindings defined in .trinity/share/config/katerc:
> > > >
> > > > [Katepart Shortcuts]
> > > > backspace=Backspace;Shift+Backspace
> > > > delete_line=Ctrl+Y
> > > >
> > > > So I assume, <Ctrl>+Y deletes a line in kate. But it doesn't, it
> > perfoms
> > > > "Undo" instead. This only affects TDE applictions (kmail, kwrite, kate
> > ...)
> > > > but all others are unaffeted. For example "geany" behaves is
> > configured the
> > > > same way (<Ctrl>+Z = undo, <Ctrl>+Y = delete line)
> > > >
> > > > There is no match for "Ctrl+Y" neither in /etc/trinity nor
> > > > /opt/trinity/etc/.
> > > >
> > > > So ... did I miss something? Or is "Ctrl+Y" hardcoded somewhere to be
> > > > "Undo"?
> > > >
> > > > Nik
> > > >
> > > >
> > > > --
> > > > Please do not email me anything that you are not comfortable also
> > sharing
> > > > with the NSA.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > trinity-devel-unsubscribe@lists.pearsoncomputing.net
> > > > For additional commands, e-mail:
> > > > trinity-devel-help@lists.pearsoncomputing.net
> > > > Read list messages on the web archive:
> > > > http://trinity-devel.pearsoncomputing.net/
> > > > Please remember not to top-post:
> > > > http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Please do not email me anything that you are not comfortable also sharing
> > with the NSA.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > trinity-devel-unsubscribe@lists.pearsoncomputing.net
> > For additional commands, e-mail:
> > trinity-devel-help@lists.pearsoncomputing.net
> > Read list messages on the web archive:
> > http://trinity-devel.pearsoncomputing.net/
> > Please remember not to top-post:
> > http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> >
> >
>



--
Please do not email me anything that you are not comfortable also sharing with the NSA.

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting