Ubuntu :: HID Foot Switches Into Command Mode

Jan 9, 2010

I purchased a foot pedal [URL], which I want to use as a substitute for the ALT, CTRL and SHIFT key (Mainly in my texteditor, Emacs, where these modifiers are used a lot for commands). So instead of pressing ALT+x I want to press the left pedal + x. However, instead of going into the command mode it just types x to the screen. If I keep the pedal pressed, and type another x, it switches into command mode, like it should have done right away. The device seems to use HID, and lsusb gives:
Bus 005 Device 004: ID 1130:660c Tenx Technology, Inc.
Is there a way, how I can change the behaviour of the device?

View 3 Replies


ADVERTISEMENT

Programming :: Using Switches - Allow Program To Run In Debug Mode

Nov 23, 2010

I want to allow my program to be able to run in DEBUG mode. i.e., I want to be able to run ./program, and I want to be able to run ./program -v to show all the debug output. How do I go about setting up something like that?

View 3 Replies View Related

Ubuntu :: If Move The Window To The Second Screen It Switches To Fullscreen Mode

May 1, 2011

Upgraded to Ubuntu 11.04 which trashed my useful desktop.

Synapticed gnome and changed login preferences to ubuntu classic which basically fixed the desktop except...

If I open a program, say LibreOffice or firefox it opens correctly.

If I move the window to the second screen, it switches to fullscreen mode.

If I click on the resize button, then it opens correctly, but on the first screen

View 1 Replies View Related

Ubuntu Multimedia :: Switches To Low-graphics Mode When Left Unattended For Some Specific Time

Jun 26, 2010

When I leave my computer and later return, depending on how long I've been away, I find the screen-saver running, the screen turned off, or the computer suspended, i get the error as specified below on a black screen:

Quote:

Ubuntu is running in low-graphics mode.

Your screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself.

The message gives several options. Despite some experimentals, The only solution which I have found is to reboot and everything becomes fine as before.

View 9 Replies View Related

Ubuntu :: Change Volume Or Brightness From The Keyboard, As Soon As The Indicator Goes Down, Mouse Automatically Switches To Drag Mode

Jan 31, 2011

I have a problem with Maverick. Whenever I change my volume or brightness from the keyboard, as soon as the indicator goes down, my mouse automatically switches to drag mode. I have to switch to open terminal by keyboard shortcuts and reboot

View 2 Replies View Related

General :: Spaces In Command Line Switches

Oct 6, 2010

I am trying to encode files via mencoder. The file name has spaces in it. "test file.mkv". When I manually type the command in the terminal, everything works. But when I use a bash script (I'm reading it from a file) it doesn't. It gives me

Code:
File not found: '"test'
Below is the bash script I wrote

Code:
#!/bin/bash
# For testing, we have already built a file list, so just use that.
# ls *.mkv>files.lst
exec 10<files.lst
let count=0
while read -u 10 FILE; do
LINE="mencoder -of lavf -lavfopts format=mp4 -vf scale=1024:-3 -ovc x264 -x264encopts crf=28:vbv_maxrate=1500:nocabac:global_header:bframes=0 -oac faac -faacopts br=160:mpeg=4:object=2:raw -channels 2 -srate 48000 "$FILE" -o test.mp4"
echo $LINE
exec $LINE
done

exec 10>&-
files.lst contains only a single line (no newline) with
Code:
test file.mkv

On a related note, when I was first trying this simply on the command line, I had a file that had a double exclamation point. I found out that that is a shortcut of some kind for the previous command. My kludge to get around this was to try to execute a single exclamation point as a command, then to change the double exclamation point to a quadruple exclamation point. Is there a proper way (escape sequence or something) to pass double exclamation points to a command?

View 2 Replies View Related

General :: Ubuntu - Command-line Program That Switches Consoles?

Jun 18, 2011

For whatever reason, the "Ctrl-Alt-Fn" sequence has no effect on one of my Ubuntu machines; the sequence is interpreted as ordinary input. I need to get the system to a console because I'm trying to do a dist-upgrade and that's going to bounce gdm etc.

Is there some command-line tool that can be used to switch consoles? I have some vague distant memory of that being possible.

(I'm running Ubunty Jaunty at the moment. Yes I know it's old; I'm trying to march forward.)

View 2 Replies View Related

Server :: Passing On Command Line Switches To Other Programs?

Nov 10, 2010

On our server we have a certain directory, say /storage, that contains many large files. They are all compressed (gzip). Many of our users are not computer-savvy, and so when one of these files is needed, they will copy it to their own directory. Consequently, we have multiple terabytes of duplicate data. I'd like to enforce an alias whereby if someone tries to use cp on a file from /storage, they will instead create a symbolic link. My idea was something like:

alias cp='cp.storage'
File cp.storage:#!/bin/sh
truePath=$(readlink -f "$1")

[code]....

The conditional checks whether the file being copied begins with "/storage". The problem with this is that if someone wanted to use cp with any options on a file not in /storage, those options would be obliterated. Can someone guide me as to a good way to accomplish this? Either a way to get the options from cp into cp.storage, or another approach not using alias this way. Everyone will be using bash.

View 2 Replies View Related

Ubuntu Installation :: 9.10 (PS3) No Default Foot FS Found

Feb 7, 2010

I installed Ubuntu on my PS3. I got a confirmation message that Ubuntu was installed and I needed to restart. When I reboot I get a loading message and everything checks until:

Code:
ps3av_do_pkt: ps3av_send_cmd_pkt() failed (result=-11)
ps3av_do_pkt: failed old:10003 res:-11
EXT2-fs: ps3da1: couldn't mount because of unsupprted optional features (240).
EXT3-fs: ps3da1: couldn't mount because of unsupprted optional features (240).
EXT2-fs: ps3da1: couldn't mount because of unsupprted optional features (240).
mount: mounting non on /dev/pts failed
/init: /init: 923: KBoot loader

No default foot fs was found, or one was found and it didn't contain a message= config file.
[space between root and fs is how I see it]. If no rootfs was found, you can enter the shell here with 'sh'. Exiting will return you to this prompt. In the shell you can mount your rootfs as /mnt/root/.

Reasons this may have happened include:
-No drive with a rootfs was actually found
-Your footfs does not have the correct volume lable of "/"
-Your rootfs is corrupt (use rescue cd to fix this).

View 9 Replies View Related

Ubuntu :: Boot Into Command Line Mode?

Mar 14, 2010

EDIT: sudo /etc/init.d/gdm stop worked, not sure why it did not before. Sorry for the whining!

I need to boot Ubuntu into a non-x, command line mode. So I can install an nvidia driver for my new GeForce GTX 260 (I had a GeForce 7900 running on my Ubuntu system using the synaptic open source 185 driver for nvidia, but there is no driver except the one I downloaded just now from nvidia's site for the GTX 260 card). That requires there be no X session running, not even in a separate domain so to speak. There is no rescue mode in Grub2. Recover mode in Grub still boots an X session (Gnome). Alt+F1 appears to be a clean command line terminal but even that does not work because the nvidia driver installer script sees through that ruse and knows there is an active Gnome session. I tried sudo /etc/init.d/gdm stop and that did not work. I tried ctr+alt+backspace and that did nothing.

What can I do? I tell you some days linux is just too frustrating, about to just toss the baby with the bath water and go back to Winblows. Bought a new graphics card today, and here I am stuck not being able to even install the driver from a command line prompt, geesh.

View 3 Replies View Related

Ubuntu Multimedia :: Phatch In Command Line Mode?

Jun 19, 2010

I installed Phatch today hoping to use it to reduce the file size of some picturesI took for work.I originally took the pics with 12 MP camera and now want to email them to a few peopleas smaller files.I found Phatch, but the docs under man phatch suck...Would anyone mind sharing an example of how to make the above changes to adirectory of pics. My guess is it starts: phatch -vkc --desktop [action] [path]

View 3 Replies View Related

Ubuntu :: System Automatically Going To Command Line Mode?

Aug 10, 2010

I am using ubuntu operating system, recently I am getting one problem when i am using the system . system is automatically going to command line mode it is asking user name and password. After entering user name and password I can able to use the system only in command line mode. Again when i restart I am getting gui as usual. Please help me to resolve the problem.

View 1 Replies View Related

Ubuntu :: Start Up Graphical Mode From Command Line?

Sep 19, 2010

Is it possible to instruct Ubuntu to start up (GUI) Graphical User Interface mode from (CLI) Command Line Interface mode? In the old days, you can type "win" in DOS to get into Windows - something along that line. Is it possible for Ubuntu in this case?

Yes, you can reboot to switch between the modes, but shouldn't there be a command for this?

View 2 Replies View Related

Ubuntu :: Computer Stuck In Command Line Mode

Oct 5, 2010

I just loaded up the Ubuntu 10.04 onto a newly scratch built computer. It went to the desktop after loading up and asking for my password. I then navigated to SYS>ADMIN>DRIVERS and preceded with download of recommended drivers for Nvadia G430 on-board display adapter. Restarted the computer to activate the new drivers and it's stuck in Command Line Mode. I tried Ctrl/Alt/F7 to escape, along with a bunch of other things but nothing will kick this puppy into the desktop.

View 4 Replies View Related

General :: Partition Table From Fdisk - Cylinder Mode - Sector Mode - Expert Mode ?

Aug 30, 2010

Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?

Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?

Code:

View 3 Replies View Related

Red Hat / Fedora :: 14 Boot - Use It In Command Mode?

Apr 23, 2011

I have Fedora 14 along with vista. when I boot fedora, it gives following error at the beginning: Starting udev:udevd-work[505]:error opening ATTR{/sys/devices/pci0000......./usb3/......../power/level3} for writing. No such file or directory and halts right after- Starting atd :[ OK ] However I can use fedora in command mode. I had installed some softwares & had removed Evolution before this problem started.

View 9 Replies View Related

Ubuntu Installation :: Installing 9.10 Server - In Command Line Mode?

Feb 5, 2010

How to installing ubuntu 9.10 server in command line mode?

View 1 Replies View Related

Red Hat / Fedora :: Run Yum Clean All Command In Non Cache Mode

Feb 8, 2011

How to run the yum command in non-cache mode. I browsed but didn't get the correct answer.

View 3 Replies View Related

Debian :: (Deb)boots To The Terminal Mode - Command - Get To Desktop?

Jul 1, 2010

This is after months of Mint, which is limited. One problem. It (Deb)boots to the terminal mode. uh... call me stupid, but I have no idea how to get to my desktop. Never needed that command once in my life. I can't find the answer anywhere. Typical. The most basic info is always overlooked. Whats the command line to get to the desktop so I can reconfig this?

View 14 Replies View Related

Fedora :: Access Machine In Command Line Mode

Apr 16, 2011

my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.

View 2 Replies View Related

General :: VI Command Mode - Aliases Only Work In RHEL4

Jul 1, 2009

When in command mode one can come out of the file temporarily by Code: :sh in command mode. When I find myself on the shell on RH 9 the aliases dont work but in RHEL 4 all aliases work like charm. Does anyone know why is it so?

View 4 Replies View Related

General :: How To Play Song And Video From Command Mode

Mar 27, 2011

I just wanna know how to plays song n videos from command mode in linux. I am using ubuntu 10.10

View 7 Replies View Related

Server :: How To Start Jboss Portal In Command Mode?

Jun 28, 2010

How to start jboss portal in command mode???

View 1 Replies View Related

Programming :: How To Enter Mode Column From Command Line

Mar 3, 2009

I like running sql queries from the command line.

Code:
sqlite3 foo.db "select * from some table"
How can I specify

Code:
.mode column
at the command line?

View 1 Replies View Related

Red Hat :: Root And Users Unable To Login In Command Mode

Jul 24, 2009

Error message in /var/log/messages
login(pam_unix)[26769]:session opened for user root by LOGIN(uid=0)
login[26769]: Module is unknown
init: open(/dev/pts/0): No such file or directory

I have created a new user also but I couldn't login to the system. But I could login to the system as root and also with same new username password through putty from another machine.

View 1 Replies View Related

Slackware :: Switch VI From Input To Command Mode - ESCape Key?

Jul 6, 2011

Since 13.37 I notice that vi needs the 'home' key to switch from input to command mode. I think this is only when I connect via Putty to the machine. When I am on local console it is still ESCape like it used to be. Does anyone know how to set it so that vi will switch from input to command mode using the ESCAPE key when using Putty?

Another vi question :
When you edit htm files, vi goes automagically into some sort of html display mode. Ofcourse I never want that since all I do is edit the html in vi. So I need to go to command mode and type :normal everytime I want to edit html files. Where can you configure that vi (or vim) default to normal mode always?

<I see that vi links to elvis : >
# ls -al /usr/bin/vi lrwxrwxrwx 1 root root 5 Oct 3 2009 /usr/bin/vi -> elvis*

View 6 Replies View Related

Debian Multimedia :: Graphics Mode And 'xf86config' Command Not Found?

Mar 29, 2011

I recently did a reinstall on my system and I am now running Squeeze. I am currently trying to get some software running, but I believe I am having issues with the graphics requirements. The software needs an X server with 8 bit / PseudoColor mode. It is recommended to work in "8,24"-overlay mode. This was set up on my old install on this computer, so I know it is not a problem with my graphics card. But in the installation guide it says to enable this function it is necessary to add some information in the file /etc/X11/XF86Config-4. The problem is I don't have this file. I had this file in my old install, but on the fresh install it is not there. I have the /etc/X11/ directory, and it contains: directories: app-defaults, applnk, cursors, fonts, twm, xinit, xkb, Xreset.d, Xresources, Xsession.d

and

files: default-display-manager, rgb.txt, X, Xreset, Xsession, Xsession.options, XvMCConfig, Xwrapper.config

I think I've looked through everything in the /etc/X11/ directory but I don't see anything that looks like the XF86Config-4 file. Is there possibly a package that I am missing or something I need to run to create this file? I know on my old install this file was created or modified by running 'xf86config' in the command line. I've tried that, but it tells me 'command not found'.

View 5 Replies View Related

Fedora Servers :: Samba Config In Cui Mode With Command Basis?

Mar 26, 2009

how to config details of samba with commands not from gui

View 2 Replies View Related

Debian :: Command To Suspend / Hibernate Functions In Console Mode?

Dec 6, 2010

I've configured my debian lenny to load first the command line, then if i want I load the X server, but doing this to that way I don't have the suspend/hibernate functions from the gnome menu, so, my question is:

what is the command to suspend / hibernate my system at any moment I decide?

View 1 Replies View Related

General :: Vim To Input A Single Character And Continue In Command Mode

Jun 23, 2011

I increase my knowledge in vim in two ways. Little hints about doing this or that and scattered studies using the vim help files. Please do not believe I always rely on the first one.

View 12 Replies View Related







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