General :: Select Text In BASH Terminal Using The Keyboard Without Mouse?

Jan 2, 2011

How to select text in BASH terminal using the keyboard without mouse? I'm using Ubuntu 10.10

View 1 Replies


ADVERTISEMENT

General :: Put Custom Text On Terminal (bash Script)?

Jan 19, 2010

This code:

Code:
#! /bin/bash
echo Okay.
echo
Does not do it....

P.S. I want to show my parents what happens when I do:

Code:
sudo make me a sandwich
and have it say "Okay."

View 11 Replies View Related

OpenSUSE Install :: Keyboard And Mouse Lost After Update - How To Boot In To Terminal?

Oct 15, 2010

I was working on something important in 11.2 and did a "zypper up" in the terminal in the background. I wasn't paying that much attention to it, I believe it was an update to 11.3. After returning to the computer after about one hour the windows were behaving strangely and the machine wasn't very responsive. I decided to reboot. Now at login I have neither mouse nor keyboard. I have switched the keyboard to PS2 model, no difference. If someone could help me with booting to run level 3 from the grub menu perhaps I could change some settings there to make everything work. I really regret doing the update. It would be very important for me to be able to get back in to machine with spending as little time as possible on this. Could I reverse the update? This machine is very important for me and my family for their daily communication, but currently I have very little time to fix this. My quick fix was to install Kubuntu 10.10 so I could resume working, but I would really need to get back in to 11.2.

View 9 Replies View Related

Ubuntu :: Creating A Text File To Start Up Sudo Bash Without Going To The Terminal?

Feb 26, 2011

I just set up apache on my PC and I cant change the permissions by right clicking because "I'm not the owner" and instead of using the chmod command on every file that I would like to edit I would just like to write a script on a text file, save it to my desktop so all I have to do is double click on it and boom I can edit all my files, etc.

View 2 Replies View Related

General :: Select All Text From A File With Nano?

Oct 6, 2010

I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell. So far I can only copy using shift on the screen that is visible but not on all content.

View 4 Replies View Related

General :: Install 11.04 Via VNC On New PC (with No Keyboard Or Mouse)?

Sep 5, 2011

I have downloaded the latest Ubuntu.iso and extracted it to /tmp/ubuntu/ on my laptop. In the folder isolinux there is an isolinux.cfg file. I am trying to prepare a USB stick by modifying those files, so that when I boot from USB it opens VNC and puts a static IP of 192.168.1.125. How can I enable VNC and a static IP so that from my laptop I can do the installation of Ubuntu 11.04 without using a keyboard or mouse?[URL]..

View 1 Replies View Related

General :: Mouse Single-click Equals Double-click - Can't Select The Entire URL By Clicking

Apr 13, 2011

when i click my mouse on something, it sometimes registers as two clicks. it doesn't happen all the time, but frequently enough to be annoying. for example, when i click a videos video to pause it, it often opens into fullscreen (which you normally click twice to do). also, in the url bar of chromium, i can't select the entire url by clicking. i now need to use ctrl+a. that's also because when i try to select the url, the highlight randomly disappears.

if i have multiple windows open, my click on the first "x" of the top-most window also closes the next window. i'm on linux mint 10. it's not really important, but it drives me crazy sometimes when my mouse doesn't work the way i want it to.

View 3 Replies View Related

General :: Emulate Mouse Clicks With Keyboard?

Feb 28, 2010

How can I emulate a mouse click on a keyboard on linux, e.g. by defining that my right CTRL-key should behave as if I clicked the right mouse button?

View 1 Replies View Related

General :: Ubuntu 10.04 Keyboard And Mouse Freezing?

Sep 20, 2010

I had a partition setup with Windows XP and Ubuntu 8.04 dual booting. I recently upgraded to Ubuntu 10.04 by installing fresh from CD but leaving the previous /home folder as is. Things seemed to be working fine, but started finding that my mouse and keyboard were freezing. After a quick search on the internet, I found the following suggestions as shown here:- Ubuntu Forums

Here the suggestion was to:-
Edit /etc/default/grub, go to the line
that begins like:
GRUB_CMDLINE_LINUX_DEFAULT=
Change it to:

[Code]...

This seemed to have resolved the issue but after a couple of days I again find my mouse and keyboard freezing. I also find that my parallel port printer had also stopped working. I have saved the output of dmesg and my syslog. The first can be viewed here but the syslog had too many characters,

View 1 Replies View Related

General :: Possible To Steer Mouse Pointer By Keyboard?

Nov 23, 2010

Is it possible to steer mouse pointer by keyboard.

View 2 Replies View Related

General :: Detect That No One Is Using The Pc - Not Mouse - Not Keyboard After One Hour ?

Jan 30, 2011

I would like to detect that with openbox (i avoid xscreensaver) and do manually xset dpms off for the screen.

View 3 Replies View Related

General :: How To Get Keyboard And Mouse Idle Times

May 20, 2011

How to get the idle time of keyboard and mouse in linux?

View 2 Replies View Related

General :: Configure Mouse And Keyboard In Fluxbox?

Mar 12, 2011

In Gnome I have Gnome apps to configure keyboard and mouse as "gnome-keyboard-properties" and "gnome-mouse-properties". How do I configure them in Fluxbox? Acceleration of a mouse, keyboard repeat delay, repeat speed, etc...

View 2 Replies View Related

General :: Keyboard And Mouse Does Not Work At The Login

May 10, 2011

I have a ubuntu loaded in KDE and this is in dual boot with Windows vista. I was "upgrading" my Linux (through update manager) when my computer just shut down. And when i restarted the computer to login to the Linux all I got was blank screen. I logged into recovery mode and selected the option to fix the packages. I rebooted my system and then again logged into the Linux. This time I could get the login screen but my mouse as well as Keyboard was not recognized. Essentially i cannot type or scroll and cannot login into Linux.

View 2 Replies View Related

General :: Ubuntu 9.10 Mouse And Keyboard Become Freeze?

Mar 22, 2010

I've upgraded my ubuntu from 9.04 -> 9.10. But after reboot, my mouse & keyboard become freeze. I did some search and found some advice about mannauly configure /etc/X11/xorg.conf but unsuccess.

Here are some log

toannc@vt_ttpm_rd_toannc5:~$ uname -a
Linux vt_ttpm_rd_toannc5 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux

toannc@vt_ttpm_rd_toannc5:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
code....

View 2 Replies View Related

Programming :: Bash Text To Variable Accessing Individual Text Lines?

May 2, 2010

i am on processing text tasks And i found that if you assign a text to a variable is chomp'ed automatically the newline

Code:

variable=$(cat file.txt)

The problem is i can only access the items/lines using:

Code:

for line in $variable
do
echo $line
# Other commands
done

how do i convert this to an indexed array. More importantly, how do i get access to individual $line[0], ..., $line[n] Another thing, if the file.txt, has lines with spaces it is a mess using the for...in..., but echoing prints line by line...o_0

View 11 Replies View Related

General :: Stuck At Log In Screen With Mouse And Keyboard Not Functioning

Mar 26, 2011

I am COMPLETELY new to Linux.I started a computer class recently and I started teaching myself PERL.My teacher had mentioned to me that it's far better for some reasons (he did not elaborate) to write code in a Unix system. So I got Ubuntu 10.10.I installed it along side my windows 7.After I setup my windows (had to reformat the disk) I decided to boot up into Ubuntu to set that up. I installed the necessary drivers that it required, and the updates. I was asked to restart the system so I did so.

It did not even shut down or restart my system.I waited patiently 15 minutes...30 minutes 1 hour... until I finally decided to hit the reset button on my PC. Then when I'd boot back in to Ubuntu afterwards, it would stay at the log in screen and my mouse wouldn't budge and nor is my keyboard recognized by Ubuntu.Im really frustrated and I've been searching for answers for the whooole day and I just can't seem to find something well explained. Im completely new to Ubuntu so I don't know where to enter any code in a cmd line or such.

1)Reformatted my harddrive to install windows 7 on it
2)Set up windows 7 and then booted into Ubuntu.
3) Set up Ubuntu and installed necessary drivers and updates
4) Reset the computer and waited for an hour for the reset to happen but nothing happened.
5) Manually reset my pc and booted into ubuntu
6) Stuck at log in screen with mouse and keyboard not functioning (unable to use ubuntu).

View 2 Replies View Related

General :: Using Keyboard To Emulate Left And Right Mouse Buttons

Oct 15, 2010

I am running Linux Ubuntu on a Dell Inspiron laptop that I bought at a garage sale for 50 cents. After spending quite a few hours resurrecting it, it works just fine except for the left and right mouse buttons on the touch pad. They do not function.Is there a way to emulate the left and right mouse buttons from the keyboard?(I know that I can just plug in a mouse, but I would rather just use the keyboard if possible.)

View 3 Replies View Related

General :: Echo Text With New Line In Bash?

Jun 21, 2010

I would like to append text to a file. so i wrote in bashecho text >> file.confHowever it doesnt leave a new line. So i can only do this once. How do i add a new line?

View 2 Replies View Related

General :: Bash - Search For A Text Pattern?

Nov 28, 2010

I need to search for a string "teststring" in all *.java files coming under /home/user1/ (including subfolders). How can I do it in linux via shell command.

View 5 Replies View Related

General :: Adding Text To End Of Particular Line In Bash

Nov 30, 2010

I am looking at how to add particular text to a file in bash.Here is what I am trying to do:In the /etc/grub.conf file, I am trying to add "audit=1" (without the quotes) to the end of the kernel line...such as:kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/1 rhgb quiet audit=1

As there are a few different lines in this file, I am only looking to add the "audit=1" to the above line via a bash script.

View 7 Replies View Related

General :: Bash - Add Text At The Beginning Of A Line

Feb 28, 2011

I have a lot a folders, each named by a number, and in each of these folders I have a specific file (stddev.dat) containing a single line (of numbers) I need to have a single file with each line being one of the stddev.dat (no matter if it is sorted or not), and also I need to add at the begining of each line the number of the folder it comes from.

I 'm no bash expert, and the "add at the begining of the line" is a bit of problem to me". Here is what I've come up with so far, just to put everything in one file, (and also if you know a better/more elegant way to do the same thing I've done, I'm listening)

[Code]...

View 6 Replies View Related

Ubuntu :: Can't Select Any Text Using Shift Key

Jun 5, 2011

When I connect to my ubuntu machine at work via NX (shadowing the existing session), I cannot select any text using the shift key. Shift key itself works (I can use it to capitalize letters for instance). It is just that arrow keys, page down/up keys, home/end does not work with shift. Without shift, they work (so I can navigate, just cant select). I tried running xev to see the key events. In the local X11 session (XQuartz), keeping shift key pressed and pressing home prints the expected key press/release events. However, in the NX session, pressing shift prints "key pressed Shift_L" but then pressing home/end/page up/page down prints nothing.

I have no problems with any of the other keys within the remote session. Alt, for instance, works perfectly fine (I can open menus, do alt_tab). Ctrl also works. Ctrl - arrow keys switches my desktops. Editing code is like nightmare because I have to constantly select text using the mouse. I can possibly remap the selection keys to some other combination but that's the last resort.

View 2 Replies View Related

General :: Mouse And Keyboard Fail - Screen Inactive In Ubuntu 9.10

May 27, 2011

As my ubuntu 9.10 boots the mouse and the key board fail and screen is inactive. Previously working OK.

View 5 Replies View Related

General :: Kubuntu 10.04: Mouse And Keyboard Not Working At Login Screen?

Dec 6, 2010

using Kubuntu 10.04. When my computer was being updated sudden power failure forced my system to reboot and in the log in screen I can find that my keyboard and mouse is not working at all. I cannot enter into my system. I tried to enter ctrl+F1 but failed.

View 1 Replies View Related

General :: Running Script That Controls Mouse / Keyboard In Background

May 24, 2010

I have a script that makes several calls to xmacroplay, which controls the keyboard and mouse. I would like to run this in the background or on a separate workspace or something so I can still use my machine for other things. I suspect this is possible but I don't really know what to look for.

View 2 Replies View Related

Ubuntu :: How To Select Bluetooth Keyboard

Nov 13, 2010

I am trying to use an Apple BT keyboard with a new installation of 10.04.Using Bluetooth Preferences, I discovered the keyboard, and paired with it. No problem with pairing. If I click on the BT icon in the top panel, it indicates that the keyboard is connected. But any text typed on on keyboard does not appear on screen. I opened Keyboard Settings, thinking that I might have to select the connected BT keyboard as the input device. Nothing there. Is there another preference somewhere that has to be set for the BT keyboard to actually work as an input device (as opposed to simply being paired)? My USB keyboard is still connected (and is working). Perhap Ubuntu only tolerates one keyboard device at a time?

View 2 Replies View Related

General :: Bash - Copy Output Into Clipboard Without Using The Mouse?

Feb 5, 2010

Is it possible to copy the output into the clipboard without using the mouse?

For example, I would like to do something like this:

$ pwd >> clipboard

View 2 Replies View Related

General :: Getting Text In The Terminal Window?

Sep 15, 2010

I'm writting a BASH script for a solaris system and need to have text enter into a console window. I've got so far:

#!/bin/bash
xterm
echo "text goes here"

When I run it I get the terminal window but the text going into another window. Nothing that I've found on this site helps me so far. If this is the wrong board, I'm sorry but I figured I'm about as newbie as it gets.

View 2 Replies View Related

Ubuntu :: Can't Select Text In Forms In Firefox

Jul 21, 2010

I think it started after the last Firefox update - I can't select text in forms on any page - not even here, while I'm writing this. When I double click, the selection appears for a fraction of a second, and vanishes instantly. Neither can I select text by dragging, the same happens. I can still select everything with ctrl+A, but I can't select single words or sentences. It's driving me nuts. I've actually switched to Chrome because of this, but I'm missing a lot of Firefox's functionality there, so I'd rather stay with Mozilla.

View 5 Replies View Related







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