1
vote
1answer
34 views

How to assign a keyboard shortcut to show an Ubuntu Desktop notification?

What I am trying to do is, I have a few texts in a file & when I tap a key combination like ctrl+Q, the text should appear as a notification on my Ubuntu Desktop. What is the command to assign ...
2
votes
1answer
35 views

Where are key press scripts stored?

When I hit the Volume Up multimedia key, I receive the following output from xev. KeyRelease event, serial 38, synthetic NO, window 0x4200001, root 0x91, subw 0x0, time 100844850, (1037,434), ...
2
votes
1answer
38 views

Emacs Keybindings for all Text Inputs

I type with ten fingers. I try to avoid all keys on the keyboard which are not easily accessible: Pos1 End1 Esc ... Up to now my fingers like the emacs key bindings, since they work in the editor ...
0
votes
4answers
62 views

Not Alt + Tab to find my window [duplicate]

Sometimes I open more than seven or eight window. majority of this situation one of them is terminal. also you know that we need terminal during work. So I do not like to press ALt + Tab and after ...
0
votes
2answers
1k views

How to run command at startup? [duplicate]

The Return key in my keyboard is broken, so I have chosen to make my PgDn key to act like the Return key. Now I learned how to do this using 'xmodmap'. The command I have to run is: xmodmap -e ...
1
vote
0answers
25 views

How can I change the regular ctrl commands to accept super instead?

Macintosh, I've discovered, has the right idea in that they use the apple key instead of ctrl in the copy, paste, select all, etc commands. This is extremely useful in the terminal, where ctrl-c is ...
2
votes
2answers
623 views

Ctrl-space not working in terminal after installing Cinnamon

I recently switched my desktop environment from Gnome to Cinnamon. In my terminal, I use tmux, and have my prefix key mapped to Ctrl-space. After the upgrade, Ctrl-space stopped being captured by ...
-1
votes
1answer
75 views

Ctrl-l, Ctrl-a, Ctrl-e do not work any more [closed]

I accidentally deleted some files (do not remember what files), then Ctrl-l, Ctrl-a, Ctrl-e do not work any more on my mac. I tried to reinstall bash using brew install bash. But the problem is still ...
0
votes
0answers
25 views

Ubuntu entering shell commands when pressing keys

Today when I turned on my laptop and booted into Ubuntu something strange started happening. Whenever I press keys on my keyboard it enters shell commands . For example, whenever I press the c or d ...
3
votes
1answer
134 views

Confirm shutdown with Zenity?

I got this command which enables me to shutdown Ubuntu 13.10 directly from the keyboard (without needing to open a terminal and running something like sudo shutdown -h now): dbus-send --system ...
1
vote
1answer
186 views

Can I make this keyboard light command that requires sudo run at startup?

My laptop has a light under the keyboard. I doubt the keyboard light consumes a lot of power, but when it comes to laptops and batteries, every little bit helps. So I prefer it to default to being ...
2
votes
2answers
344 views

How disable programmatically notebook built-in keyboard before login screen

How can I disable a notebooks built-in keyboard - before the login screen. I have a non functioning built-in keyboard on my notebook. In it's current state it types characters randomly. I am using an ...
1
vote
1answer
325 views

“Enter” command is not working in terminal in Nexus 4 with Ubuntu Touch installed [closed]

Today I had Ubuntu Touch 14.04 installed in my Nexus 4, and it boot to Ubuntu touch successfully, and most of the things are working fine, but the only thing now that is bothering me is that "Enter" ...
2
votes
1answer
111 views

Unable to use/type letter “d” within terminal on Ubuntu 13.10

While typing the command "gedit" or "cd" or any word which assosicates with the letter "d", it wont come on the screen. Same issue raises while doing a copy paste to the terminal. E.G.: If I copy ...
2
votes
0answers
39 views

remap Caps_Lock to Esc and Control without X11

I want to remap my Caps_Lock key to be Esc when pressed by itself, or Ctrl when pressed with another key. Here's the twist: I want to do it without X11. I found this answer which says "write a ...
0
votes
1answer
92 views

How to make backspace work on ubuntu 13.04

I have recently updated ubuntu from 12.10 to 13.04. Now i observed that Backspace is not working for folder(Up and Back functionality). I just found that ubuntu has decided to use alt + (left right ...
1
vote
1answer
116 views

keyboard behaves differently under bash

When logged to other computer from windows under bash, putty maps keys properly but under other shells like sh or zsh keys like Delete are mapped incorrectly (to ~ character). Setting XTERM to ...
3
votes
2answers
6k views

Enable the keyboard backlights on supported Lenovo (e.g. Carbon X1) with command

Some Lenovo laptops have keyboard backlights, and they can be turned on using Fn + Space. There are three states: off, normal and bright. When I start Ubuntu, these laptops always default back to a ...
1
vote
1answer
32 views

Accidentaly disabled keyboard

I've got a problem, I tried to disable the touchpad by using: xinput list xinput set-prop 12 "Device Enabled" 0 Problem is I put the wrong number, 12 is not the touchpad, but my keyboard. How can I ...
3
votes
1answer
100 views

How can I use my keyboard as a mouse?

I'm using my keyboard more and more these days for basic command line stuff, vim editing, alt-tab window switching and the like. Q) How can I use my number pad keys to move the cursor around on the ...
0
votes
1answer
1k views

Add/remove keyboard layout by console command

After upgrading to 13.10 it looks like we have no more deal with XKB for layout settings and input language switching, so I have a question. Some times I need to add one ore two more input languages ...
0
votes
0answers
6 views

Ubuntu Server SHH backspace Bad Character [duplicate]

so while while I'm using SSH to connect my server the backspace shows me bad character. The backspace is the one with question mark. The backspace itself works normally, but in the screen, it wasn't ...
3
votes
2answers
1k views

How to enable Paste function with Ctrl-Shift-V in Ubuntu 13.10?

I have very simple question after installation/upgrade to 13.10. Seems that Paste function (or Paste without formatting) keyboard shortcut does not work in 13.10. It was a very convenient way to paste ...
0
votes
0answers
20 views

Map ctrl key to alt key & alt key to win key from command line? [duplicate]

I have a Logitech MAC-layout keyboard that I use when my laptop is docked. Right now every time I dock or undock my laptop I have to go to the keyboard layout options panel and change the behavior of ...
0
votes
2answers
99 views

Need help with mapping my keyboard

I'm learning how to use Ubuntu right now, so far I'm enjoying it. There is this one thing I don't understand. I want to replace my Pg Up button with Alt+T. If I want to use T only I know I should use ...
2
votes
2answers
284 views

How to set a single shortcut to switch an Internet connection on and off

Which exact one-line conditional construct activates an existing Internet connection if it's off and deactivate it if it's on? I looked some on-line pages to understand the use of the "nmcli" ...
1
vote
1answer
423 views

specify non-printing keys as input to shell command

Ubuntu 12.04 LTS Server 64 I have a shell script that runs in unattended mode. The script executes a command that displays a curses/ncurses UI which normally expects the user to navigate a menu via ...
2
votes
1answer
147 views

PHP interactive interpreter: Delete and Ctrl +Aarrows keys don't work properly

When running PHP interactive interpreter with: php -a Delete button doesn't work (produces ~ instead), jumping over words with Ctrl+Left Arrow and Ctrl+Right Arrow doesn't work either (;5D and ;5C, ...
4
votes
2answers
350 views

Can't add more than eight keyboard layouts

I read this article where is a workaround to add maximum eight keyboard layouts. But my questions are: I would like to try this, but I see they've written there something with "gnome" in the ...
0
votes
1answer
746 views

Keyboard not working properly in terminal

I'm using Ubuntu 12.04.2, and my keyboard doesn't work normally in terminal. When I press the arrow keys, the characters "a", "b", "c", or "d" appear. The Backspace key is also not working.
1
vote
2answers
663 views

Keyboard not working in Terminal

I'm using ubuntu 12.04.2 LTS. Dual boot with windows 7. But my keyboard is not working properly in terminal. While typing, when I press up arrow key it is displaying "a" letter and when I press down ...
1
vote
1answer
578 views

Problem writing 'pipe' symbol on danish keyboard (Ubuntu 12.04 server, console)

I just installed Ubuntu 12.04 Server (32-bit) on an old machine, and have problems writing the | (pipe) symbol. I have no graphical UI installed. My keyboard has danish layout, and all other symbols ...
0
votes
1answer
152 views

How is robust terminal emulation achieved in Ubuntu?

My question is using only Ubuntu and/or open source components, how is full terminal emulation with keyboard mapping, logging, and printing achieved in Ubuntu without purchasing a product? By using ...
2
votes
1answer
179 views

Fn key doesn't work inside shell

I've installed Xubuntu 12.10 and I've occours that Fn key (I used that for type / ) doesn't work inside standard shell (but it works in the rest of programs). How can I fix it?
2
votes
1answer
309 views

USB keyboard works except in terminal window

I just installed 12.10 (clean install and updates). USB keyboard and mouse work fine EXCEPT the keyboard does not work in a terminal window (USB mouse is working in terminal). keyboard is Logitech ...
0
votes
2answers
517 views

Accents - Nano editor

i am using NANO as my everyday text editor. I'm using an old laptop, so NANO it's fast, lightweight, and saves me battery. The only problem is the fact i can't use Special Characters and accents. For ...
2
votes
1answer
1k views

How do I *temporarily* change the *console* keymap to dvorak?

I type dvorak, but I don't like to confuse other users by having it be a system-wide default. I have a script that runs setxbmap dvorak that I can call when I want dvorak and likewise another script ...
0
votes
1answer
366 views

When I run sudo lshw in terminal, it asks for my administrator password, but it won't accept keyboard input when I try to type? [duplicate]

Possible Duplicate: Nothing shows up on the screen when I type my password I have been trying to run [sudo lshw] but it asks [password for grace: [] ] So when I try to type my password, it ...
2
votes
3answers
2k views

automatically run terminal with certain command on login

Mother dropped some tea in the keyboard and as a result of that the shift key died.I mean it is always on. I researched and found out that there is a comand to solve that: xmodmap -e 'keycode 50 = ...
1
vote
0answers
90 views

Terminal window not showing password [duplicate]

Possible Duplicate: Nothing shows up on the screen when I type my password When I open a terminal and it asks for my password I can't type in the PW because the keyboard wont react. It ...
3
votes
1answer
960 views

How do I turn on sticky keys from the CLI?

I'd like turning sticky keys on and off to be done from a script. This is especially helpful to those not using kde/gnome/xfce.
0
votes
1answer
536 views

Using Compizconfig keybindings to run command

I'm trying to fix my keyboard keys brightness up/down. Using acpi_listen pressing brightness up/down I have the result: video DD03 00000087 00000000 video DD03 00000086 00000000 Running showkey: ...
3
votes
2answers
4k views

tilde and double quote keys don't work on the command line

I've just installed Ubuntu Server 11.10 and the tilde (~) and double quotes (") keys don't do anything - they don't print to the screen. I'm only using the command line (no GUI) and many tutorials say ...
2
votes
1answer
5k views

How to generate an extended F key press (F13-F20)?

I need to submit an extended function key (like F17 or F17 ) to a program that runs in the terminal (I use the default gnome-terminal but could use another if it works there). Is there a way in ...
17
votes
1answer
3k views

How to programmatically swap the caps lock and esc keys?

I am a heavy Vim user and one of the first things I do when I start working on a clean ubuntu installation is to swap the caps lock and esc keys to reduce hand movements over the keyboard. So far I ...
5
votes
2answers
630 views

Using the SHIFT key in Terminal

I am very new to Linux, please excuse me if this is a very simple question and point me to the things I need to read. But I've been unable to find an answer so far. In Terminal, when I am trying to ...
2
votes
1answer
330 views

'on-screen keyboard' error after upgrading from 9.04 to 9.10

I recently upgraded ubuntu from 9.04 to 9.10. well some of the keys of my keyboard don't work properly so i always hit up terminal an use on screen keyboard 'onboard' But when i have upgraded ubuntu ...