General :: Input Any UTF-8 String As If Typed On Keyboard From Console In Xorg?

Oct 6, 2010

Like in xte "str Ñž", but with support of all characters.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Create A Command That Can Be Typed In Any Old Terminal Window And Display Screen For Anyone Who Typed It

May 24, 2011

i want to create a command that can be typed in any old terminal window that would display a message on screen for anyone who typed it. is this possible? i just want to do this for the randomness of it.
and cuz i need to get used to messing with terminal windows.

for example i would like to have "rawr" setup as a command to display a message on screen in a popup window with an "Ok" button to close the popup. i googled it but all i came up with was creating commands to launch applications without having to type the full path/command. not what i'm looking for. thanks in advance!!!

View 4 Replies View Related

General :: How To Tell Xorg To Reload Input Device Module

May 14, 2010

When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.

Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found
# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }
(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...

How to tell X.org to try it's InputDevice again (without restarting X server)? rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram. Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.

View 1 Replies View Related

General :: Script Execution Failed - Input String Was Not In A Correct Format

May 2, 2011

I have here a Network Monitoring tool that should monitor the Apache (httpd) 2.0 on CentOS 4.3, but I didnt have any background in using linux, I tried CentOS 5.5 with Apache (httpd)2.2 and it works, but whenever I tried it on Centos 4.3, it doesnt work at all, it has an error Testing on node localhost.localdomain: failed with Undefined status, Script execution failed. Input string was not in a correct format.

View 10 Replies View Related

General :: Cannot Edit Xorg.conf To Fix - Input Unsupported - Message

Jul 10, 2011

I am trying to install debian as a DC but on reboot I get the "Input not supported " error. I switched to virtual input and login to try to edit the xorg.conf file but created a new file instead because the xorg.conf file is open by the installation. How do I close it so I can edit it and continue. I am afraid to start a new file as I am not sure what is in the ools one.

View 2 Replies View Related

General :: Change The Input Keyboard From EN To DE?

Sep 3, 2009

I installed SuSe Linux. By the installation I forgot to set the key-board to German. How can I change it now? I don't think I have to re-install the Linux again, right

View 3 Replies View Related

General :: Control Console Session Keyboard Over Ssh?

Aug 13, 2011

I have a logitech wireless keyboard/mouse, but just lost the tiny usb wireless receiver.

I want to use my laptop as the keyboard for the other machine (Ubuntu 10.10) until I replace the keyboard and mouse.

Is it possible to control the console session's keyboard over ssh? I only want keyboard control, I don't want to use something like VNC because the video is too slow.

EDIT: I'd like to be clear that I want to be able to control gui applications running on the console session, so something like unix screen won't

View 3 Replies View Related

Programming :: Read Keyboard Status (not: Wait For Keyboard Input)?

Jun 28, 2011

has bash a command that reads the keyboard status and exits? I want to write a loop of this form:

Code:
while [ 1 ] do
sleep (1)

[code]....

View 14 Replies View Related

General :: Prevent Pinentry From Stealing Keyboard Input?

Oct 4, 2010

I am using gpg keys with passphrases set to connect to different jabber accounts. When I restore from hibernate I am prompted by two pinentry dialogs for these passphrases. But very often one of these dialogs that is not in focus steals keyboard input from the other dialog. Even worse, they steal keyboard input from fluxbox and other applications and I am unable to do anything until I enter it or click cancel if I do not want to input password right now. How can I forbid pinentry to steal keyboard input and to get it only if it is in focus? I am using pinentry-0.8.0 on Gentoo amd64 with USE="ncurses qt4" (/usr/bin/pinentry is a symlink pointing to pinentry-qt4).UPDATE:After some research, I found that pinentry accepts --no-global-grab option, which, according to the info page, should be used only by developers. Still unsure how to make it default: having#!/bin/zshexec /usr/bin/pinentry-qt4 --no-global-grab $@in place of /usr/bin/pinentry symlink does not work (this script is launched, but option is ignored), if I place it into /usr/local/bin it is not launched at all though I have /usr/local/bin in $PATH before /usr/bin.

View 1 Replies View Related

General :: Keyboard Input Time Is More For Typing Commands?

Aug 15, 2010

While typing commands it takes more time to type.let me know on how to correct this

View 3 Replies View Related

General :: Instruct The Kernel To Use A USB Keyboard And FB Device As It's Boot Console?

Jul 8, 2010

I'm guessing the answer to my question is in manipulating the kernel command line. But with what arguments? (and does the kernel have it's own fonts to be used on a FB device?)

The host is a ARM9 based embedded system with a 1-bit LCD screen.

This is a prelude question to: Naming a Frame buffer Device

View 1 Replies View Related

General :: Define A Keyboard Layout / Input Method For Ubuntu In Python?

Jun 20, 2010

defining keyboard layouts in linux (ubuntu 10.04 here). there does not seem to be any easy, graphical way to define keyboard mappings (except for keyboardlayouteditor, but frankly, i do not understand the installation description.i am using an apple aluminum keyboard with a german layout, but no matter what i do the (<>) and (^°) keys are always swapped (i did manage to change the default behavior for the f1...f12 keys from multimedia back to 'ordinary', application-centric... all you have to do is add the line echo 2 > /sys/module/hid_apple/parameters/fnmode to /etc/rc.local... this is so bloody obvious i am ashamed i had to search the web for this!).

adding to my distress, i find the chinese IMEs a horror (not a single one of the many i tried does anywhere come near google pinyin for windows), and have gotten neither ibus nor scime to work in a satisfactory way for me. i find linux keyboard handling a morass. i know this must be one of the hardest problems in computer science, since this subject gets so convoluted no matter whether its on windows or in-the-browser javascript. as a linguist i am well aware of the inherent complications proper text handling poses, but looking at descriptions how to configure xkb makes building interstellar spaceships look like a cakewalk.

find a place in the system where keystrokes are recorded;read out those codes (could be scan codes or character codes) using a daemon (implemented in python; i heard you have to listen to IOCTL or somesuch); when certain code combinations appear, switch them to do what you want;applications now get to see a X where formerly the got to see a U and vice versa;profit!

Is there a place, in ubuntu / linux systems that does allow reading out keyboard codes? Is there a way to block processing of such keyboard actions until an intercepting daemon has processed them? Would such an interceptor work for a broad range of use cases? like on the command line, in a gtk app, in wine, in firefox and so on? An alternative would actually be to grok keyboardlayouteditor, so if someone could post about a readable, complete installation instruction or point out installable packages, that'd be great, too.

View 1 Replies View Related

Programming :: Input String Into Array Without Using Quotation Marks

Oct 11, 2010

I want to put a string, such as the one found in the image, into an array that will later be chopped into individual words and put into another array of individual words found in the initial string. (or, perhaps, I would be able to do that initially, but for now, that is the goal)My question is, how can I do that without using quotation marks?

View 5 Replies View Related

Server :: No Input On Serial Console?

Oct 7, 2010

I've got a home server running ubuntu 10.0.4. It have no monitor or keyboard. So I want to access it from a serial console. (I use SSH currently but if something goes wrong, I need to be able to do something... so serial console seems a fine thing). OK, so on the server, I tell grub to output everything on ttyS0 and opened a getty on ttyS0. On the client side (Laptop running Ubuntu 10.0.4 with pl2303 USB to Serial adapter) I use Minicom.

Home server restart:I see grub menu, linux kernel messages, login prompt. But, I can't do anything:In grub or at the login prompt, no key press is recognized by the server.I've got write permission to /dev/ttyUSB0. I tried a different getty (mgetty)with no success.I stopped the getty on ttyS0 on the server. And run minicom.

From the server's minicom, if I type something, it appear on the client screen. From the client's minicom, if I type something, some garbage appear on the server screen :(One of this things for each char typed). If I short-circuit pin 2 and 3 of the client serial port, it echoed what I type. The two serial ports are connected with a nullmodem cable. (seems to be a full handshaking cable). Of course, same serial port config for both minicom, grub and getty. Hope I'm understandable enough. (English not my primary language). Can somebody help me make this *$*#! serial console working right ? I'm on it for 10 hours now with no success...

Edit : I nearly forgot to tell you I had to update the standard ubuntu kernel to 2.6.34-020634rc1-generic because there was a bug in the pl2303 driver in the stock kernel (2.6.32-25-generic) which prevented me from doing anything (even receiving).

View 8 Replies View Related

Fedora :: Getting Console Input During System Startup?

Jan 26, 2010

I am setting up a system for students to use to run lab-based exams. On bootup, the system needs to download an encrypted file containing the exam files, and then ask for a decryption password.

I want to do this during system startup (before anyone logs in). But I am having trouble getting keyboard input at this point.

I've put a script in /etc/rc.d/rc5.d/S99examsetup along the following lines:

Code:
#!/bin/bash
echo -n "Enter password:"
read EXAMPW
echo "You gave me: $EXAMPW"

but it doesn't respond to keyboard input. I have tried appending "< /dev/console" but this also doesn't work; in fact if I insert 'tty' before the first 'echo', it tells me that /dev/console is the tty being used for input anyway.

Is there a way round this? I can use plymouth ask-for-password, but that doesn't seem very portable, and it interacts badly with the graphics driver on one of my machines.

View 4 Replies View Related

Debian Configuration :: Xorg Affects Console Resolution?

Nov 2, 2010

I've been scouring the internet for an answer to this problem. I am using Squeeze and have properly configured Grub2 to set my console screen resolution to 1024x768x32 (as per updating /etc/default/grub to contain 'GRUB_GFXMODE=1024x768x32' and updating /etc/grub.d/00_header to contain 'set gfxpayload=keep') and everything works wonderfully. My resolution is set as it should be. However upon installing Xorg (aptitude install xorg ratpoison), my console resolution gets changed to what appears to be 1280x1024.

I thought that this was due to xrandr, however when I issue:

# xrandr -s 1024x768

only the X resolution is changed. When I then CTRL-ALT-F1 back to the console, the resolution is still at 1280x1024 (I am aware that xrandr only affects X, but I assumed that because my console resolution was correct before installing X there might have been some correlation).

I would like for my console resolution to stay at 1024x768 as per Grub2's configuration and for X's resolution to be at 1280x1024.

PS I also noticed that prior to installing Xorg, my CPU boots up without any screen blanking (only for a second or so). However, after installing Xorg, during the boot process the screen does blank briefly. It is at that time that the resolution gets changed to the 1280x1024 setting.

View 5 Replies View Related

Ubuntu :: Easiest Way To Search For String In Text File In GNOME Or On Console?

Jan 3, 2011

What's the easiest way to search for a string in a text file in GNOME or on the console? I used to do this in kfindfile back on KDE.I'd like to avoid downloading something like desktop search if at all possible because I'm away for the holidays and stuck on a dialup connection.

View 5 Replies View Related

Debian Hardware :: GTX460 In Console - Nouveau And Nv Drivers From Xorg Not Working

Jan 27, 2011

I am using Debian Squeeze, I have GPU Nvidia GTX460. I have tried almost everything, but I am not able to have working console after X starts. Nouveau and nv drivers from xorg are not working ( they dont support gtx460 ), so I am using nvidia drivers from [URL]... version 260.19.36. I am using kernel 2.6.32-5-686.

View 3 Replies View Related

OpenSUSE Multimedia :: Audio Stops Playing When Switching To Console From Xorg

Aug 31, 2011

My Audio stops playing when switching to console from Xorg. When I switch back it continues playing. Is it supposed to be like this? Any way I can make it play continuously? I've already checked the Howtos and this forum for this problem but havent found anything similar.

View 9 Replies View Related

Ubuntu :: Restore Xorg Files \ When Boot The Display Tells That There Is No Input?

Oct 13, 2010

I messed up my xorg file and now my pc wont start, when i boot ubuntu the display tells me that there is no input.

View 1 Replies View Related

Debian Hardware :: Standard Xserver-xorg-input-synaptics Is Undergoing Some Weird Changes At The Moment?

Apr 22, 2011

Just did an upgrade in Wheezy and found my synaptics touchpad borked. Easy enough fix, though.aptitude install xserver-xorg-input-synaptics-devRebooted (probably could have just modprobed) and all is wellSo, I guess the standard xserver-xorg-input-synaptics is undergoing some weird changes at the moment.

View 1 Replies View Related

Debian :: Console Keyboard Is Us And Can't Be Changed?

Feb 4, 2010

after an upgrade i got an american keyboard-layout in the login-terminal. i ran dpkg-reconfigure console-data: its said keyboard layout would be german. i ran dpkg-reconfigure keyboard-layout: same thing. i checked the bugs for console-data and keyboard-layout: [URL] and the best i could find is this (console unusable after upgrade): [URL] but it doesnt seem to be exactly the same problem. its since about a week.main problem is the password, else its a little annoyance, not more.

View 4 Replies View Related

OpenSUSE :: Getting Japanese Input On US Keyboard?

Feb 11, 2010

I know it is possible, and I have been trying everything I can find, but I can't seem to get it to work. I went to languages in YaST and enabled Japanese as a second language, and I have tried adding japanese as a secondary keyboard layout under configure desktop-> regional and language settings. I have a little flag in the system tray that I can click to change from US to Japanese, but all that does is change what the punctuation buttons do.

View 9 Replies View Related

Programming :: Copy String A To String B And Change String B With Toupper() And Count The Chars?

Oct 22, 2010

copy string a to string b and change string b with toupper() and count the chars

View 3 Replies View Related

Debian :: Console Keyboard Layout Not Set On Boot?

Jul 13, 2010

I have console only on my machine and I have two problems with it:

1) I can't find how to enable programmer dvorak keyboard layout.

2) All the console settings don't stay after reboot, I have to do dpkg-reconfigure console-setup again. But after I do that I loose russian layout that I normally can switch to with Alt+Shift.

View 6 Replies View Related

Debian :: Unable To Use Keyboard In Console Application

Jul 26, 2011

I tried to use NDN [URL] which is fork of famous DN . It's more advanced then Midnight Commander and I would like to use it to better understand Debian FS and do console works there. However, I have a problem and it seems that their support forum does not work, so I thought to ask for general help here, in case it's something that can be set in Debian. Problem is that when I run this manager I can't use arrow keys or 'num pad' or PgUp/PgDn/.... pad but only 'central part' of keyboard - regular keys and Fx buttons. So I was wondering if there could be some problem between terminal emulation and this application that can cause such behaviour which is unacceptable for normal usage, obviously.

View 13 Replies View Related

Ubuntu :: Switching Keyboard Layout In Console Only?

Feb 7, 2010

I am logging into an Ubuntu 8.04 machine using ssh, so I use a console. The keyboard layout is US-standard, obvioulsy. However, I would like to use french-canadian keyboard layout. And I don't know at all how to switch it in console. Give me Gnome or KDE, and we're done. But this is console only. I guess it has to do with the loadkeys command. Ok. I retrieved from the web a file cf.map.gz. Maybe ubuntu requires a different kind of file? Using "locate cf.map" I get nothing, except the file I have downloaded. Any package I should demand to be installed? (if yes, what do I do once they are in?) I tried using both the .gz and uncompressed files.

Code:

loadkeys cf.map.gz
Couldnt get a file descriptor referring to the console

Code:

loadkeys -u cf.map.gz
Couldnt get a file descriptor referring to the console
Loading cf.map.gz

[code]....

They tell us about some program, console-data, using root privileges. Intriguing, but I am only a user, and do not have any root privileges. The system admin. has never used another keyboard layout, and knows even less than I on this matter. I tried similar stuff on my openSUSE at home, on a newly created experimental account, and I am equally unable to change within the console the keyboard layout (similar error messages).

View 2 Replies View Related

Ubuntu :: Keyboard Input Disabled In Flash

Mar 10, 2010

The issue I've been having is with Flash on websites; most notably, Livestream's Flash-based browser viewer, and Adult Swim's flash-based games. Clicking works perfectly fine, but the keyboard input is entirely disabled for the Flash area. Text boxes, or game controls, won't respond at all, even when everything else is still working.The only way to input any text into Flash-based text boxes is to write it somewhere else (Firefox's URL or Search bar, or in GEDIT), then copy+paste into the tect box (again, Ctrl+V won't work, only right-clicking and pasting will go through).

I've tried multiple versions of the Adobe Flash player, including the installer directly from Adobe's site, the adobe-flashplugin package in Synaptic, the flashplugin-installer package, and I believe I tried GNASH as well (although I'm not sure if that did anything).I haven't had a chance to attempt to downgrade either one yet, however, nor have I been able to test another browser.I've seen a few other issues of this sort pop up here before, but they've all either gotten no solutions, or they're a year or two old, or they're running into 64-bit-specific issues. Hopefully this is posted in the correct location, and fingers crossed someone has an answer (or better yet, a solution).

View 2 Replies View Related

Ubuntu Installation :: Can't Input Anything From The Keyboard - It Seems Greyed Out?

May 4, 2010

I have done a clean install of Ubuntu 10.04 on my laptop. However I don't like Evolution mail client and installed Thunderbird from the repositories. It installed fine and comes up with the wizard to fill account details in but for some reason you can't input anything from the keyboard - it seems greyed out. I tried uninstalling and re-installing but it's still the same. Everything else is fine and working.

View 9 Replies View Related

Ubuntu :: Change Input Language (not Keyboard)

Oct 27, 2010

how to change my input language (the way typing in accents affects the output character).

Currently I am on a Brazilian abnt keyboard and an English system (which is what I want), but I am unable to output accented characters - which I sometimes want, when I am not programming. I need something to switch around, but cannot find where to configure additional languages (not keyboards) neither where to switch.

I am on 10.04 with a gnome desktop.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved