Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.36k stars 851 forks source link

Function Keys not working #36

Open captn3m0 opened 10 years ago

captn3m0 commented 10 years ago

Ubuntu 14.04, with pantheon DE. Any key combination involving function keys does not work.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3406343-function-keys-not-working?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github).
Swordfish90 commented 10 years ago

Thank you for your report. This is probably an upstream bug; could you test it please https://launchpad.net/ubuntu-terminal-app

captn3m0 commented 10 years ago

I tried building ubuntu-terminal-app with just cmake and make, and while the build succeeded, it doesn't run.

Trying to load QML from: "/home/nemo/projects/ubuntu_packages/ubuntu-terminal-app/src/app/qml/ubuntu-terminal-app.qml" 
using main qml file from: "/home/nemo/projects/ubuntu_packages/ubuntu-terminal-app/src/app/qml/ubuntu-terminal-app.qml" 
file:///home/nemo/projects/ubuntu_packages/ubuntu-terminal-app/src/app/qml/ubuntu-terminal-app.qml:68:13: Type Terminal unavailable 
                 Terminal { 
                 ^ 
file:///home/nemo/projects/ubuntu_packages/ubuntu-terminal-app/src/app/qml/Terminal.qml:3:1: module "org.kde.konsole" is not installed 
     import org.kde.konsole 0.1 
     ^ 

Actually, it does run but gives a garbage window: screenshot from 2014-08-01 08 35 27

Probably because of some missing KDE dependency (?). I'll give a try installing it using QT Creator later (after I get QT Creator to install that is).

Swordfish90 commented 10 years ago

There should not be any kde specific dependency in Ubuntu Terminal App. The error you see happens because the terminal can't locate the konsole plugin that comes with the applicaton.

Swordfish90 commented 10 years ago

Hi, I just merged a pull request which should fix the problems with keytabs. Could you retest it and let me know if now everything is working fine?

captn3m0 commented 10 years ago

Thanks for the fix! Function keys work perfectly now.

However, Shift+Up/Down is now scrolling the terminal, instead of passing the key combination to the terminal, which is the default behaviour in all the terminals I use. Should I file a new issue for that?

Swordfish90 commented 10 years ago

Very well then. I was just looking into the issue with Shift+Up/Shift+Down. This is the expected default behavior but it should be customizable editing xterm.keytab. At the moment there is an issue and those values are hardcoded, but I will fix that soon.

Swordfish90 commented 10 years ago

Ok, in the last master that should be fixed. Please open the xterm.keytab file and comment the following lines:

key Up +Shift-AppScreen : scrollLineUp key Prior +Shift-AppScreen : scrollPageUp key Down +Shift-AppScreen : scrollLineDown key Next +Shift-AppScreen : scrollPageDown

Swordfish90 commented 9 years ago

I'm closing this issue since it is related to a very old version. If it's still valid let me know and I'll reopen it.

captn3m0 commented 9 years ago

Completely forgot about this. I compiled latest master, edited qmlwidget/default.keytab, tried recompiling, but the Shift+Up/Down combination still doesn't work (it scrolls the terminal, instead of switching terminals)