Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004905Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2011-09-25 14:192012-03-05 15:53
khearn 
Footkerchief 
normalmajorhave not tried
resolvedunable to reproduce 
LinuxUbuntu laptop
0.31.25 
 
0004905: ctrl key doesn't seem to work
I tried to record a macro and ctrl-r didn't do anything. neither did ctrl-l, ctrl-p or ctrl-s. I looked in interface.txt and saw that they are all similar to [SYM:2:r], so I looked for other SYM:2 2 keybindings. I see that [SYM:2:5] is supposed to move the cursor down one z-level, but it doesn't work for me. But shift-5 does move me up a z level. So it looks like all the ctrl keybindings aren't working.

I haven't changed anything in my interfaces.txt file. I've saved my game and reloaded it and get the same behavior, but I haven't tried on another Ubuntu Linux machine. I suspect it's Linux specific, or maybe even Linux laptop specific. I'm running on a lenovo t61p. I can try on a Unbuntu Linux desktop sometime next week.
Run 31.25 on a Unbuntu Linux laptop and try any action that requires a control character.
No tags attached.
Issue History
2011-09-25 14:19khearnNew Issue
2011-09-26 16:29khearnNote Added: 0018759
2011-11-24 09:25HarryFromMarydelDENote Added: 0019013
2011-11-24 09:42HarryFromMarydelDENote Edited: 0019013bug_revision_view_page.php?bugnote_id=0019013#r7125
2011-12-07 09:35FootkerchiefNote Added: 0019074
2011-12-07 09:35FootkerchiefStatusnew => resolved
2011-12-07 09:35FootkerchiefResolutionopen => no change required
2011-12-07 09:35FootkerchiefAssigned To => Footkerchief
2011-12-29 14:08khearnNote Added: 0019265
2011-12-29 14:08khearnStatusresolved => needs feedback
2011-12-29 14:08khearnResolutionno change required => reopened
2012-01-02 14:38FootkerchiefNote Added: 0019277
2012-01-02 22:24khearnNote Added: 0019279
2012-01-02 22:24khearnStatusneeds feedback => assigned
2012-01-02 22:54FootkerchiefNote Added: 0019280
2012-01-02 22:54FootkerchiefTag Attached: AWAITING UPDATE
2012-01-03 11:09khearnNote Added: 0019283
2012-01-23 10:06FootkerchiefAssigned ToFootkerchief =>
2012-01-23 10:06FootkerchiefStatusassigned => new
2012-01-23 10:09FootkerchiefNote Added: 0019412
2012-01-23 10:09FootkerchiefStatusnew => resolved
2012-01-23 10:09FootkerchiefResolutionreopened => unable to reproduce
2012-01-23 10:09FootkerchiefAssigned To => Footkerchief
2012-03-05 15:53Logical2uTag Detached: AWAITING UPDATE

Notes
(0018759)
khearn   
2011-09-26 16:29   
I just tried it on a Unbuntu lucid 10.04 Linux desktop with DF v0.31.19 and have the same issue. Nothing that uses the ctrl key works.

The laptop I was using for the original report was the same version of Linux.
(0019013)
HarryFromMarydelDE   
2011-11-24 09:25   
(edited on: 2011-11-24 09:42)
Which keymap do you use, and do you use a different keymap for Dwarf Fortress than your standard one? I use Dvorak normally, but I use QWERTY for Dwarf Fortress. I discovered that even though I have Dwarf Fortress set to use QWERTY, when I hold down the ALT key it uses Dvorak, so for example to build a slab I have to use ALT-; since the ';' key is 's' on Dvorak. It may be that the CTRL key works the same way. I doubt this is a Dwarf Fortress bug, more likely it is either a bug in SDL or a X or KDE misconfiguration that I can't be bothered to track down since it is easy to work around.

I changed my key bindings to allow me to use macros, so I don't know if CTRL has the same problem (I hadn't figured out the ALT problem yet when I reassigned the macro key bindings).

(0019074)
Footkerchief   
2011-12-07 09:35   
Please reopen this if you can confirm that it's not an issue with your keymap.
(0019265)
khearn   
2011-12-29 14:08   
I don't have a special keymap for DF. I use QWERTY for everything.
(0019277)
Footkerchief   
2012-01-02 14:38   
Reminder sent to: khearn

What make of computer are you using? What's your keyboard's language setup?
(0019279)
khearn   
2012-01-02 22:24   
It's a Lenovo t61p
(0019280)
Footkerchief   
2012-01-02 22:54   
Reminder sent to: khearn

What's your keyboard language setup? What region of the world do you live in? Have you tried both the left and right Ctrl keys? Have you tried remapping the macro keys?
(0019283)
khearn   
2012-01-03 11:09   
Keyboard layout is set to "USA".
I live in the USA.
I've tried both left and right keys.
I've remapped the macro keys to alt-R, alt-P, alt-S and alt-L and that works fine.

BTW, the desktop that I also see this problem on is a Dell T3400. It also has the keyboard layout set to "USA".
(0019412)
Footkerchief   
2012-01-23 10:09   
Try using a different OS (even a different build of Ubuntu or another flavor of Linux might produce different results). Given that nobody else has ever reported this problem, it's probably an issue with your specific OS configuration, not with DF, and regardless we have no way of reproducing it.