Ubuntu :: Modify The Keypress Return Symbols?

May 8, 2011

When I press the keyboard button: (- _) I would like to see a '_' on the screen instead of a '-'. How can this be done? {Lucid 10.4}

View 2 Replies


ADVERTISEMENT

Programming :: Detect Keypress Without Needing Return?

Oct 21, 2010

I'm witting a piece of code that needs to read key presses. However I cannot use them as stream, but rather need discrete reads. The code is to simulate an io board interface. So When I press say "d" I need to read it in instantly, not wait for return. I've tried sdl, but no luck (I'm reading in a thread and it causes some problems) I'm using linux so can't use conio.h functions, I've tired gatch from cureses but this still waits for return.So in C/c++ is there a way I can read instant key presses.

View 1 Replies View Related

Programming :: 'nm' Lists All Symbols - Including Static Library Symbols?

Apr 5, 2010

By issuing the 'nm' command on shared library (internally using one static library), the functions exposed by static library is also being listed, Which allows to use internal functions which is of course not intended. I have one static library having A(), B() and C() functions. Creating one shared library which has function XYS() that is using A() and B() functions from Static library. While doing 'nm' on shared library, all the static library function are being listed.

Static Lib:

#include<stdio.h>
void A(char *msg)
{
printf("

[code]....

View 4 Replies View Related

Fedora :: Modify Ioctl TIOCMWAIT To Return The Same Thing That Ioctl TIOCMGET Returns?

Jul 4, 2011

I want to modify ioctl TIOCMWAIT to return the same thing that ioctl TIOCMGET returns. Currently wait returns an int of zero or -1 when a change in status occurs. Why not make it return the new status?

This will make the operation faster by not requiring another call to ioctl.The extra call requires 2 to 16 uSeconds to complete on my x64 laptop. How would I make this proposal to the kernal people?

View 1 Replies View Related

Ubuntu :: Run Fsck On Keypress During Boot?

Jan 4, 2011

I am wondering if there is a way to manually trigger a file system check during boot by pressing/holding a key. Maybe there is already a keyboard shortcut built in to do this?I know that using tune2fs you can modify the number of boots (mounts) between file system checks, or even use "shutdown -rF" to reboot the system and force a file system checkAlso, I do not want to force the user to choose to run/skip the file system check during boot. For example, prompting the user with, "Do you want to run a file system check [y/n]?" each boot (or even each time the system thinks it should run a file system check),s not desirable

View 1 Replies View Related

Ubuntu :: One Keypress In Multiple Windows?

Mar 27, 2011

I have multiple windows open. I select one window, and press a key. This causes something to occur in said window. This keypress only works for the one window I have selected. I would like this keypress to work for all the windows open on my desktop, which total to 9.

View 4 Replies View Related

Ubuntu :: Executing A Script By Keypress?

Aug 6, 2011

Is there any way to map a shell script to run when you press a certain set of keys? For instance, I may want to execute the following by pressing CTRL+ALT+R (if that key combination is not already taken)

Code:

compiz --replace --loose-binding ccp

Or perhaps I want to open the System Monitor by pressing CTRL+ALT+DEL (a la Windows)

View 2 Replies View Related

Ubuntu :: Simulate Keypress Via Keyboard Shortcut?

Feb 21, 2011

I have a G15v1. After going through hoops and loops to get it working only to discover that you only needed to install g15daemon through the Ubuntu Software Center, I found myself with one big problem. I migrated from windows just now, and there, I had my macro keys(the extra ones) bound to CTRL+W, CTRL+T and to a simulated mouse-wheel scroll so I could navigate the web more easily. How would I go about doing that? I figured, if I used the System->Preferences->Keyboard Shortcuts thingy and bound my key, in my case XF86Launch5, to a command similar to "simulate keypress CTRL+W"(I know it's totally wrong, just to give you an idea), I might be able to get it working again. Only problem is, I can't find anything like that. Any of you has any clue about it? I googled but I only find C++/Java/coding related results, which are not exactly what I need to do.

View 4 Replies View Related

Ubuntu :: Grub2 Waits For Keypress After Failed Boot?

Jan 6, 2010

Last week I installed minimal Ubuntu Karmic with XBMC live on my HTPC. I'm connecting to my fileserver thru a wireless interface and although that works like a charm most of the time, every once in a while the interface doesn't come up during boot and the PC 'hangs'.

I then press ctrl+alt+del and the pc reboots and the Grub2 boot menu appears, I suppose because the previous boot didn't go well. However, the boot menu doesn't have a timeout, I have to press <enter> to continue booting. My wireless USB-keyboard isn't working at that stage yet, so I'm unable to continue.

This is my /etc/default/grub

Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount,setvolume loglevel=0"
GRUB_CMDLINE_LINUX=""

How can I get it such that Grub always times out, even after a failed boot?

View 7 Replies View Related

Ubuntu Multimedia :: Flash 8 Firefox Keypress Not Working?

Feb 2, 2010

Firefox can't detect any keypresses from the programs I make. I use Macromedia Flash 8. Make a text box and give it the instance name"txt_test" add this actionscript code.

Code:
stop();
KeyListener = new Object();
KeyListener.onKeyDown = function() {
_root.txt_test.text = "OOOOO";
}

[Code]....

I want to either fix my firefox or make my program so that it can take input. Is it because I need to build my program with flash CS3 or 4?

View 2 Replies View Related

Programming :: Detect A Keypress Event In A Console Session?

Oct 27, 2010

Is any way to detect a keypress event in a console session? Preferebly without needing the application to be running in the foreground

View 2 Replies View Related

CentOS 5 :: Switch Between Full-screen VNC Instances With One Keypress?

Oct 9, 2010

OS: Centos 5.4
VNC Viewer Free Edition 4.1.2 for X

Switching between two instances of VNC viewer in full-screen mode takes three key presses and two mouse clicks. How can the viewer be configured to pass a special key combination to the host operating system instead of the remote OS, so it's possible to switch between full-screen viewers in one key press?

e.g. With the default configuration, if I put the viewers in adjascent workspaces, then the sequence to switch is: F8 MouseClick Ctrl+Alt+Left F8 MouseClick If the key combination Ctrl+Alt+Left was passed to the host then it would be possible to switch workspaces (and therefore viewers) in one key press. When working on multiple remote machines, both physical and virtual, it's often necessary to switch between them frequently. I must switch over 100 times some days. Simplifying the key sequence would be both quicker and more intuitive.

View 4 Replies View Related

General :: Execute A Program Based On A Keypress From A Specific USB Keyboard?

May 4, 2011

I've been given one of these ubiquitous usb-sleep buttons which is basically a supersimple usb-keyboard. It's a big button that sends a SLEEP keypress to the computer when you slam it. But that is pretty boring. I'd love to remap it to do something more fun but I can't figure out how to bind to only the sleep press from the button and not from my ordinary keyboard.

The button identifies as

Bus 001 Device 035: ID 1130:600d Tenx Technology, Inc.

I'd like to know if there's either

a way of mapping a key from a specific keyboard to an action OR a way of remapping the sleep key from a specific keyboard to a new key-code or something like that.

View 1 Replies View Related

Fedora Hardware :: RIGHT ARROW / INSERT Accidental Keypress Stops Mouse Buttons From Working?

Jul 9, 2010

Here's a weird one. Once in a while I inadvertantly hit the key combination RIGHT-ARROW + INSERT on my keyboard while editing in Geany. This stops my mouse buttons from working and I have to kill xorg. Anyone heard of this before or how to fix it? I know I know, I should stop hitting those keys by accident, but it seems to happen at least once a day! This is on Fedora 12.

View 5 Replies View Related

Ubuntu :: Battery, Network & Other Symbols Gone?

Jan 8, 2010

wanted to remove one of the informative symbols, at the top right of the screen next to the date/time, i right clicked it and went 'remove from panel' and all my symbols including the battery level and network connection indicators. I cant seem to get them back and their not in the 'add to panel' list

View 4 Replies View Related

Ubuntu :: Options List - What Certain Symbols Do Such As {}

Nov 1, 2010

I have searched these forums and the net and for the life of me I cannot find a list of of all the options (ie. -a -b -c) I also have some interest in knowing what certain symbols do such as {};

View 6 Replies View Related

Ubuntu :: 9.10 - Colored Screen With Strange Symbols

Feb 13, 2010

I'm using Kubuntu 9.10 and I have a problem with my screen. I use the nvidia driver downloaded from the website, installed manually as I always do. I wanted to update it, but when I press ctr-alt-F1 to go to the console to stop kdm, I cannot see the usual black screen, but only a very strange blinking screen with lines and colours, strange symbols like $ & %. This happens for every F1 until F6, then F7 luckily brings me again on the graphical desktop.

I tried to install the drivers from the "Hardware drivers" manager in Kubuntu, but nothing changed. I don't know if it's an issue related to the kernel or to the driver. But I don't know how to update it without F1 console, and however it's a serious issue because I cannot do anything in case of desktop failure. The kernel is the last officially released (I don't use the proposed repos), that is 2.6.31-19.

View 1 Replies View Related

Ubuntu :: Purple Screen With Three Symbols At Bottom

Jun 24, 2010

I'm getting a screen that has what looks a like a keyboard, equal-sign, then a person in a circle. This happens when I go to install it. I have made new discs and everything and nothing but the screen.

View 2 Replies View Related

Ubuntu :: Certain Fonts Cause Greek Letters To Appear As Symbols

Sep 12, 2010

Some fonts cause some greek letters to appear as squares or symbols - while the rest appear correctly.

Is there any way to make all non-latin characters to use a font different than the one the latin characters use?

View 2 Replies View Related

Ubuntu :: Network Symbols Appears In Corner With X Beside It?

Aug 31, 2010

I am running Ubuntu 10.4LTS. The network symbol of two monitors shows up consistently up in the right hand corner of my monitor. I look at my network settings and it shows activity on eth1 as "never". But, I am on the internet fine.

View 1 Replies View Related

General :: What Are The Symbols In VDT's Output

Feb 17, 2011

I've been messing with a curses-based disk check tool in Linux called VDT (visual disk test). It puts out a nice little chart on the screen as it's going, but I have no idea what each unit of output on the chart means. I've read the man page several times, but there doesn't seem to be any mention of the visual output.

For instance, right now I have a chart that looks like this during a read test. What do the o's and the Z mean?

View 1 Replies View Related

Ubuntu :: PDF File Shows Math Symbols But Printer Does Not?

Jan 31, 2010

I have Ubuntu 9.10 installed and up to date.

I have an HP Laserjet 2200 connected via USB with 64MB of memory. When I print page 2 of this document (for example) [URL] the delta-symbol and minus-signs do not show up, although I see them in Adobe reader version 9.3.

I have tried several of the available drivers for the printer (including the "[recommended]" one) and none of them produce these symbols.

I'm guessing this is a font issue. I don't know how to show you what font stuff I have installed.

[Code].....

View 4 Replies View Related

Ubuntu :: Kile's Symbols Toolbox Doesnt Work?

Mar 16, 2011

I have ubuntu (gnome) but I prefer to use Kile as tex editor. Since maverick, the side symbols tool box stopped working.I click, double-click ou press return but the symbol code (e.g. cup ) is not inserted in the text.Does any one have the same problem? How can I fix it?

View 9 Replies View Related

Ubuntu :: Openoffice Has Confusing Symbols In Stead Of Names?

Apr 29, 2011

its confusing... when i start openoffice i get only strange symbols in the menus... all other programs are working correctly

View 2 Replies View Related

Ubuntu :: Xvfb And CutyCapt - Chinese Symbols Not Recognized

May 16, 2011

I use Linux * 2.6.18-164.10.1.el5.028stab067.4ent #1 SMP Fri Jan 15 03:06:15 MSK 2010 i686 build to configure xvfb + cutycapt, I need it to convert html to image. The package that I have already installed:

build-essential
xvfb
xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
libgl1-mesa-dri
libqt4-webkit libqt4-dev g++
x11-xkb-utils
xserver-xorg-core

It seems like it works, but there is one problem. It misses chinese symbols when converts html to image. I thought that it is encoding issue and rechecked all my conf related that and set default encoding up to es_US.UTF8.

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I'm testing these on the 2 computer. local and my vds. They both have Ubuntu 10.04. On the local machine all works fine, but on the vds it doesn't take chinese symbols. Where can I find the difference between machines configurations? I suspect it depends with X server configuration.

View 1 Replies View Related

General :: Debug Symbols Of GNU Packages

Jul 21, 2011

Where can I find debug symbols of GNU packages, for example for coreutils etc.?

View 3 Replies View Related

Programming :: GDB (No Debugging Symbols Found)

Oct 19, 2010

I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic

I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30

It says:
display
10/20/30

Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.

View 2 Replies View Related

Programming :: Parser Symbols With Different Types

Nov 27, 2010

I decided to try making a programming language again after my last unsuccessful attempt, so now I figured how to write a good AST and it works great when the nodes are hard-coded into a test program. But to make a language out of it, I need a parser to build the tree according to an input file. I ran into a problem here:

YACC input file:
Code:
%{
#include "nodes/allnodes.h"
#include "Node.h"
int vars[26];
%}

%token SEMICOLON INTEGER VARIABLE IF WHILE DO OPAREN CPAREN OBRACE CBRACE
%right ASSIGN
%left NE
%left PLUS MINUS
%left TIMES DIVIDE
%% .....

As you might see, each nonterminal creates a Node* object and uses it as its value. The problem is that the literal tokens, however, don't return Node*'s and I don't know what to do. I would like to be able to convert literal tokens to nodes in the Lex file (which would avoid the problem), but the problem is with the assignment operator, which takes a Node* for the right-hand side and a variable name (not a Variable Node, because they just evaluate the the variable's value and you can't change the variable with them) for the left hand side.

View 14 Replies View Related

Programming :: Difference Between Various Symbols Of Kernel

Aug 22, 2010

I was going through some exercise given in my school. I have read the C book but I am not able to understand some part. That is static variable. What exactly is a static variable and what does it do? I saw in Linux Kernel Programming external and exported are also some thing. I am not getting the difference between static,EXPORT_SYMBOL,external variable types. If I make a kernel module then how will I make sure that my variable is visible to the kernel. Is this what it is all talking about? I have checked this page [URL].

View 2 Replies View Related

Slackware :: 13.1 - MF / MP Symbols Small And Unreadable

Jun 4, 2010

When I used slackware 13.0 I installed wine 1.1.40 and then I installed an old program, PowerTAB. The font for the mf, mp, and other symbols was very small and unreadable. To solve this I put sylfaen.ttf in /home/darksaurian/.wine/drive_c/windows/Fonts and this magically fixed the problem. I don't know why or how I figured it out. But now with Slack 13.1 I do the exact same thing, same version of wine, and the font trick does nothing. The mf, mp symbols remain unchanged and unreadable.

View 9 Replies View Related







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