Ubuntu :: Control Mouse Position From Command Line?

May 17, 2010

Is it possible to control the mouse position from the command line? I want to centre the pointer in the middle of the screen

View 8 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Control VLC Via Command Line?

Jan 3, 2010

Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?

I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?

not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....

View 3 Replies View Related

Ubuntu / Apple :: Control CRT Via Command Line On An Imac G3?

Mar 20, 2011

I have forgotten how to turn the display on/off via command-line on an imac g3.how this can be done?(Google brings up lots of results which use "xset dpms ..", but this does not really apply to me since I don't usually run X).

View 4 Replies View Related

Fedora :: Control Volume From Ssh Command Line?

Jul 23, 2010

I use F13. How can I control the volume of my desktop ssh'ing into it from my laptop?

I use the laptop like a remote control to control my desktop through vnc while watching movies, but changing volume through this setup is a bit too cumbersome and clumsy. I tried alsamixer but it behaves strangely and doesn't change volume.

View 4 Replies View Related

Ubuntu Networking :: Command Line Control Of Network Settings

Mar 10, 2010

I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?

View 3 Replies View Related

Programming :: Set Indent In .emacs To Enable New Line Starts From The Same Position Of Previous Line?

Dec 29, 2010

How can I set indent in .emacs to enable my new line starts from the same position of previous line?

like this;

Hello world <enter>
Second Hello world // "S" starts right under first line's "H"

View 4 Replies View Related

Programming :: BASH Sort List By End Of Line To X Position In Each Line?

Aug 18, 2010

I'm trying to make another file annotation script a little speedier than it has been by the up-until-now proven method of checking the last four characters in a filename before the "dot" (eg .jpg, .psd) against a list of known IPTC categories and Exiv2 command files. It occurred to me that if one script generated a list of files in directory foo, and the same or another script sorted that list by that four-letter tag,then that list could be used(instead of a for/do/done loop on the real files in the folder) by the command-file-matching script to "vomit out" which annotator file would go with file nastynewfile.jpg, f'r'instance. The script I had been using for this task looks like this:

Code:

while read 'line';
do
sp=$(echo $line)
vc=$(echo $sp | cut -d"," -f1)
cv=$(echo $sp | cut -d"," -f2)

[code]....

Where I seem to be stuck is with how to sort the lines in templist, which may be any number of different lengths, from back to front. sort -k looked promising, except it seems only to work the other way round. I thought of invoking a

Code:

q=$(expr length $line); echo $q
n=$[q-8]; echo $n

kind of thing, but that presented the problems of how to sort by those, how to tell sort where to find them (grep?) and how to "stitch them back in" to the original list, which is what I want to sort in the first place.

View 14 Replies View Related

Slackware :: Get Standard PS/2 Wheel Mouse Working On The Console Command Line

Aug 13, 2010

I am trying to get my standard PS/2 Wheel mouse working on the Console command line, and seem to be having major problems getting it to work.

For the record, I am NOT talking about X, Xterm's or any Graphical Interface, my mouse wheel works fine in these environments.

I am purely concerned with getting the mouse wheel to work on the Console.

After many hours of reading forum posts about getting the wheel to work on the Console, this is what I have tried to date:

1. I have downloaded and installed every version of gpm I could find in the hope that one would utilise the wheel. (No Success).

2. I compiled and installed the latest version of gpm stable (1.20.6) to see if the wheel would work with it. (No Success).

3. I have tried setting up gpm-1.20.6 as a repeater to X, using every string I could find (msc, ms3, pnp .. etc), as well as every /dev entry in xorg.conf /dev/mouse, /dev/input/mice/, dev/gpmdata/, /dev/psaux ... etc). (No Success).

4. Created directories and configured a gpm.conf to both /etc/ and /etc/conf.d/ in the hope that gpm was looking for them there (read that in one forum or another). (No Success).

5. I then tried to find mouse wheel patches for gpm, and then downloaded the relevant version source gpm.***.tar.gz to go with these patches. Nearly every single one of the patches failed to apply (using patch -p1 >), except for one version I tried that did apply ... but then failed to make (stating that the source had a different signedness or some such thing) ??? (No Success).

6. I looked into IMwheel, but that seemed to be a purely X program that was a lazy way of writing ZAxisMapping in xorg.conf. (No Success).

So now I am stumped ... Does anyone know if if is possible to get:

a). A Wheel Mouse Patch for a recent version of gpm (1.20.6) that will actually apply, and then make?

b). A prepackaged recent version of gpm-1.20.6.tgz that has been patched to enable the wheel that I can use?

c). Any other information that may enable the mouse wheel to start working on the console.

View 6 Replies View Related

Ubuntu :: Get Mouse Position In Terminal Output?

Jun 19, 2010

I want to know how to get the current coordinates of the mouse outputted to terminal, for use in a bash script.

View 1 Replies View Related

Ubuntu Multimedia :: Dual-monitor Mouse Position Jumps When Moving Off-screen

Nov 4, 2010

I have a dual-screen set-up with Ubuntu 10.10. I have an ATI Mobility Radeon HD 5650 video card. I use my lower-resolution laptop screen on the left and a larger monitor on the right. The monitor is also physically higher than the monitor. See attachment for a screenshot.I have correctly set up my displays so that if the mouse is in the middle of the screen it can move from one screen to the other without jumping. The jumping happens when moving off of one screen in an area where the other screen is not directly next to it (some people call this 'the void').

Example: (See the attachment for a visual example of this.) My mouse is in the external monitor (right monitor). As I move the mouse to the top-left of the monitor (position 1), I by mistake go a little too far and instead of hitting the Ubuntu applications menu, I ended up at the top-right of the laptop monitor (left monitor; position 2). I quickly realize my mistake and move the mouse back to the right monitor, but now the mouse is at the middle-left position (position 3).This same error occurs by moving the mouse on the laptop monitor (left monitor) passed the bottom-right position. This is a big problem when scrolling vertical scroll bars on the laptop monitor (left monitor).I am looking for a fix that if the mouse is at position 1 in the attachment and I move the mouse left, it stays at position 1 and does not go to position 2.

View 2 Replies View Related

General :: Find The Position Of The First Space In A Line?

Aug 8, 2011

I am trying to edit a large bunch of files. Each file has four columns and I want to get rid of the first one, but in each line the number of the first column changes. the number in the first column ranges from 1 digit to 5. For example

1 aaaaa bbbbbb ccccc
23 aaaaa bbbbbb ccccc
15343 aaaaa bbbbbb ccccc

and the desired format would be

aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc

View 2 Replies View Related

General :: Get The Cursor Position Line At The Mid Of The Windows In Vim?

Mar 28, 2010

Suppose the cursor position line at bottom or top. What's the vim command to get the cursor position line at the mid of the windows in vim?

View 5 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Ubuntu :: Losing Mouse Control On Startup?

Jul 9, 2010

This is weird. When I start my computer, the cursor is frozen in place and the only way I have been able to get it moving is to do a hard restart. This has be a consistent problem for last few days. What's going on? How do I correct it?

View 2 Replies View Related

Ubuntu :: Logitech Mouse Volume Control Button?

Apr 21, 2010

I'm using the Logitech MX1100 mouse which has a quite a few buttons. (10) I would like to use 2 of them for volume control (as I do for Windows) but have no idea how to in ubuntu 9.10. Is there any way I could map the buttons to control volume? I'm a minor noob so keep it simple.

View 9 Replies View Related

Ubuntu :: Control 2 Computers With One Screen, Keyboard And Mouse?

May 29, 2010

I have 2 computers running Ubuntu 10.04, One of them have a screen, keyboard and mouse connected (all wired)I want to control the other computer in some way, like a virtual PC in a window, via my network or a cable.

View 4 Replies View Related

Ubuntu :: Way To Get Arrow Keys To Control Mouse Pointer

Jun 6, 2011

I was just wondering if there is any program/script/code/trick/way to get the arrow keys to control the mouse pointer and, well basically, the keyboard to do stuff you would do with the mouse..?

And i know about keyboard shortccuts

P.S.: Anyone wanna go searching for 'The Beach' in thailand?

View 7 Replies View Related

Ubuntu :: Loss Of Desktop Control (mouse And Keyboard)?

Nov 2, 2010

In the past few days Ive noticed a lot of updates. Yesterday morning several times I went to click on items on my desktop and I couldnt. I thought it was just my batteries getting weak. Yesterday afternoon it got so bad I couldnt click on anything for hours at a time. I could only power offIve been reading lots of forums and threadsd there are lots of possible problems to this but they all come down to xorg file and usb issues.

An example of one possible problem: When I have the system log open I can not move the app around, make it bigger or smaller, I can only scroll on the right pane and have to use the mouse keys to navigate the left pane. And if I want to shut the app down, sometimes I can use the ctl+F to close it but sometimes I cant.After I shut the app, any app that is, the mouse pointer turns to |< and I cant click on anything for 5 min to 5 hours. It was suggested to run sudo dpkg �reconfigure �phigh xserver-xorg but when I did I didnt see anything visually or in the terminal occur.

View 14 Replies View Related

OpenSUSE :: Add More Control Functionality Through Mouse

Mar 14, 2010

I used easystroke on ubuntu, and it worked well enough to be functional. I triend opening Xstroke in suse, but it just adds an icon down by the notification panel. right click and left click seem to turn it on and off, but i've yet to find any configuration menu of any kind. I've also found the 'input actions' section of the personal settings menu, but i'm having a hard time making heads or tails of it. Basically, what I need is pretty simple. I have a single application that I would like to add more control functionality through the mouse. I don't even necessarily need gesture control, in fact if i could just make my extra mouse buttons perform specific keyboard commands (F11, ctrl++, etc.) that would be fantastic. If I could set it to do different things on different programs.

View 1 Replies View Related

OpenSUSE :: Severe GUI Mouse Control - KDE 4.5.x, 11.3?

Oct 5, 2010

My mouse and trackpad button control is severely impaired in 11.3, KDE 4.5.1 (or .2) using Compiz. Gnome works fine. XFCE has some problems. The mouse control of window features is sometimes limited to one window with the rest of the desktop not responding to mouse actions. Popping up a second window from an app causes the mouse control to be completely lost. The issue leaves KDE effectively broken having only keyboard control. With some ESC key hits and using right mouse button to close one app (from the panel), I can move focus to another app but mouse control within the app is non-existent. Moving windows or raising or lowering doesn't work either. Sometimes, the GUI captures the mouse click but does not recognize the active App and applies it to objects sitting on the desktop screen underneath.

I've reverted partially back to the 11.3 installation DVD then reload updates and then moved to stable release of 4.5, then went back to the 4.5 factory. All failed to correct the problem. I removed .kde/.kde4 files and this did not help. What is wrong with my system? Also installed the latest kernel of the repos then reverted back to 2.6.34.7-0.3 [x64]. [very frustrating, been using Suse/KDE for >7 yrs, this one has me stumped]

View 1 Replies View Related

General :: Suse 11 No Mouse To Control?

Feb 1, 2011

I want to exhaust all the possibilities so I'm going to ask this hereI am installing a Suse 11 on IBM Blade Center using Remote Control.when using this is impossible to use the mouse I see the mouse but I have no control over it I try to move it but no way it moves to fast s no way to controlso could this be an issue on Suse 11? Resolution?is there is no way to fix that is there a way to install Suse on Text Mode?

View 2 Replies View Related

Ubuntu Multimedia :: Tvtime Freezes, No Picture, No Mouse Control?

Feb 11, 2011

I have been using Tvtime for several years and never had trouble with the video until now. Now it opens, but it's frozen. There is no picture and no sound, just a black screen that I can't control in any way. Even to close it, I have to go through the terminal.I can still get channels using Mplayer, so the tuner should not be the problem. However, t is an Hauppauge 950.I was using Lucid on both partitions. Initially, one quit,but not the other. About a month later the other quit while I was watching which makes me think it may be something I have simply hit on the keyboard. I have since upgraded to Maverick on one and reinstalled Tvtime to no avail

View 3 Replies View Related

Ubuntu :: Control Windows Mouse - Similar To Remote Droid

Feb 25, 2011

Is there any software that can do that? I would hate to have to run the android emulator software and run remotedroid on it.... so many wasted resources for a simple program. Any one know of an app that would let me do this that is made for linux? (specifically ubuntu)?

View 5 Replies View Related

OpenSUSE Hardware :: 11.4: Pls. Lost Mouse Control?

Jul 16, 2011

fter booting into openSUSE 11.4 kernel 2.6.37.6-0.5-default, I cannot move the mouse cursor at all. Its light went off. I have MS Netbook Optical Mouse 3000. My Desktop has AMD Athlon X2 CPU.I can use the mouse with openSUSE 12.1 M2, Windows 7 and other distros in the same machine but somehow cannot with openSUSE 11.4

View 5 Replies View Related

General :: Any Mouse Sensitivity Control Applications?

Sep 26, 2010

Running Lucid, has been a bit glitch here and there, but generally ok. I use Audacity a lot, so need "drag" with the mouse. Also "drag" on the desktop has gone totally now it just opens the file or folder. Any mouse control app that works? Using a ps2 led mouse, it works fine under wine/crossover apps.

View 9 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: Control Line In Volume In Bash/python?

Nov 14, 2010

How do i do to:1. Check if there is a audio source plugged in via line in?2. Control the volumeI want to do it through either bash or python script.

View 1 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related







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