Debian :: Control Lynx By Bash Script

Sep 10, 2010

I had tried to control lynx by bash script. I can use bash script to let lynx open an url. After that, I can't do anymore. I don't understand how to move the cursor or fill some textbox in the webpage opened by linx in bash script.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Lucid Lynx: Window Control Buttons On Wrong Side?

May 9, 2010

I realize that this may be a nit-picky complaint, but why did you guys move the window control buttons from the upper right corner to the upper left corner? Is there any way that I can move them back? They weren't this way in 9.10 or before, and they aren't this way on any of the computers that I work with at my job.

View 2 Replies View Related

Debian :: Sound Not Card Configured - Error 'Volume Control Did Not Find Any Elements And/or Devices To Control" - Driver

Feb 8, 2011

Laptop is Dell Latitude C600/C500 with Pentium III 850Mhz, 256Kb L2 Cache, 256MB RAM, ATI M3 video card, HD 20005 MB and sound card is EES Maestro 3i. After trying to do something with Windows 2000 which was installed on the machine, I decided to put Linux without keeping windows on the machine. First I try with Xubuntu (latest version) which was working but slowly, then I found that Debian could work fine on that machine. I have installed latest version 5.08 and was surprised how goodly old machine can work. I solved problems with screen resolution (change from 800x600 to 1024x768) but I couldn't find solution how to fix problem with sound.

Actually I don't have sound on the machine. I looked for a linux driver for that sound card and Dell is only providing windows drivers. Then I found that I can solve the problem with ALSA drivers but I couldn't find the easy way (or any way at all) to install drivers and to get back the sound. When I click on 'Volume Control' (top right corner of the screen) I get the message: 'Volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.'

View 14 Replies View Related

General :: Bash Out Of Control ?

Jul 15, 2010

I created a system restore file.

code:

And hav tried out:

Code has been streaming past for ages. Longer than a fresh install!

I'm wondering if i've done something to create a cycle?

How and should i interupt it? If i ctl alt F7, will it take me back to Desktop?

View 6 Replies View Related

Ubuntu :: Control Duplicates In Bash History?

Oct 19, 2010

I have tried a combination of the following lines in .bashrc to try and control duplicates in the bash history file:

export HISTCONTROL=ignoreboth
export HISTCONTROL=erasedups
export HISTCONTROL=ignoredups

[code]....

View 5 Replies View Related

General :: Flow Control In Bash Pipe?

Jul 25, 2010

Two processes are communicating through a pipe: A | B. A is writing data faster than B is reading it in. Is there any way to have A limit its writing rate to match B's reading rate?

AFAIK the pipe will get full, and will make A's writing block, waiting for B to read in more data. But is there a way to limit A's writing rate before the pipe fills up? (In a way it's like having a pipe with a really small capacity, but as far as I know pipe capacity is a constant compiled into the kernel.)

Code:

EXAMPLE FOR CLARIFICATION

Right now the command is printing out the following in 1-second intervals:

But with flow control it should print out (again in 1-second intervals):

...since "date" would block on the writing loop due to the slow reading loop.

View 4 Replies View Related

Software :: Bash Input Control - Different Numbers ?

Mar 18, 2011

I'm making an bash script.

As input you can input different numbers from 1 to 3.

Depending from the input a text shows up.

View 2 Replies View Related

Programming :: Bash - How To Control Output Style?

Aug 24, 2009

For example,I have three paragraphs,as following:

I want to output it as following:

View 2 Replies View Related

Programming :: Bash Background - & - With Control Operators -&&

Feb 11, 2009

I have a set of files to copy and decompress, and want to do these operations concurrently with a script.

Manually it would be something like:

Code:

The single & is intended to background the processes, while the && is intended to execute the gzip process if and only if the cp completes successfully.

My script is:

Code:

When I run it, bash gets angry with the following error:

Code:

So what is the proper syntax to accomplish this?

View 1 Replies View Related

Programming :: Using A Variable To Control A BASH For Loop

Jul 3, 2009

I know of 4 different ways to use a for loop:

1. for I in {1..10}; do echo $I; done|

2. for I in 1 2 3 4 5 6 7 8 9 10; do echo $I; done|

3. for I in $(seq 1 10); do echo $I; done|

4. for ((I=1; I <= 10 ; I++)); do echo $I; done

I have a script which uses the 1st form of for loop. I'm trying to modify it to use a variable instead of a static hard-coded value in the section that controls the looping.of the for loop.

I've tried all different ways of quoting and escaping the variable, and the problem is that the quoting chars and escape char are being translated and passed into the loop along with the value stored in the variable.

For example, to change the start value of 1 to whatever value I want passed in through a variable:

Change:

I have tried: {{$a}..10} and {`$a`..10}, to have the variable evaluated first.

I have tried using the eval() function.

I have tried single and double quotes and the backslash escape character.

Nothing I've tried works. It's probably a syntax error.

View 14 Replies View Related

Fedora :: Bash - Binding A Function To Control-something Key Combo - F11

Aug 20, 2009

I want to set a key binding in bash for "history-search-backward" readline command to a combination of Control+some other key (I'm using 2 as an example), but I'm unable to do so. in fact, I'm unable to alter or add bindings to Control+key combinations.

After several tries my ~/.inputrc now looks like this

But it doesn't work and bind -p | grep "-2" gives nothing. If I try something without the control key:

I can search in the history by prssing the sequence C + - + 2.

bind -p gives control in C form, for example:

I've tried different formats in my inputrc:

But nothing works.

works if I press Escape followed by 2.

Setup:
Fedora 11:
Bash version 4.0.23(1)
GNU Readline 5.2 (according to the man page)

View 2 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

Ubuntu :: How To Control Running Instance MPlayer From Bash Script

Nov 23, 2010

I am starting an instance of mplayer from a bash script, opening an audio stream:

Code:
mplayer [URL]

How do I do to control this mplayer instance from another script? I want to control volume and pause it from within the bash script. I know the commands for doing so from terminal, but once mplayer gets started from the script, how do I 'direct' the commands to that specific mplayer instance?

View 9 Replies View Related

Debian :: How To Switch To Lynx

Apr 14, 2010

ENV: Linux lenny 5.04 stablePRB MC Custommizationthe default mc application to manage html files is konqueror how to switch to lynx ?

View 4 Replies View Related

Debian Configuration :: How To Control My PC's Fan

Aug 25, 2010

I've got a PC with a really noisy fan and suspect that most of the time my PC isn't warm enough to need it. I'm using xfce as my desktop, is it possible to do some sort of hddtemp thing and just have my fan come on when it is needed?

View 4 Replies View Related

Fedora :: Lost Volume Control / Internet And Battery Indicator From Control Panel On F11

Jul 15, 2009

I feel little silly asking this, I accidently removed from my gnome panel my internet connection, volume control and battery indicator on F11. how can I add this back. It does not show up in the add to panel menu and the applications do not give you back the default feel.

View 1 Replies View Related

Ubuntu :: Control-c - Control-v - Copy And Paste Functions - Stopped Working

Jan 19, 2011

I don't know how this happened, but my keyboard copy and paste functions have stopped working. Oddly enough, I discovered that I can only copy and paste by using the third mouse button. Pressing down on the scroll wheel after highlighting text copies the text, pressing it again pastes it Ican still use the Edit-copy and Edit-paste menu functions.

I'm sure it has something to do with all the tinkering I have been doing with my desktop. I have been experimenting with CompizConfig and Cairo dock, changing my themes and things of this nature.

Ububtu 10.04.1
kernel 2.6.32-27 generic

View 7 Replies View Related

Hardware :: Control Cpu Fan Speed - No Fan Control With BIOS - Acpi - Lm-sensors

Dec 31, 2010

I cannot get any fan information from 'lm-sensors' or 'sensors', I tried to run 'pwmconfig' and got this:

Code:

Code:

But I have no tools to control the fan speed from 'acpi'. in particular '/proc/acpi/fan' is an empty directory.

There are no fan info/controls in BIOS either.

I believe the fans do not work as fast as they should and I am trying to find a way to fix this before the cpu cores are melted down from overheating.

Laptop information: HP Pavilion dv2500t

Code:

View 14 Replies View Related

Debian :: Overheating In Jessie - No Fan Control

Aug 22, 2015

I just upgraded to Jessie and my laptop, a vostro 1710, is overheating.

Code: Select allalexis1@debian:~$ sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +62.0°C  (high = +105.0°C, crit = +105.0°C)
    Core 1:       +61.0°C  (high = +105.0°C, crit = +105.0°C)

[Code] ....
   
I tried to follow what is indicated here : [URL] ....

What I have done :

Code: Select all $ sudo apt-get build-dep i8kutils
    $ apt-get source i8kutils
    $ tar xvf i8kutils_1.41.tar.xz
    $ cd i8kutils-1.41/

I am on a 32-bits system so after

Code: Select all    $gcc -g -O2 -Wall -I. -o smm smm.c

then

Code: Select all    $sudo ./smm 30a3

returns

Code: Select alleax=000030a3 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000
    eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 0

Finally when I type

Code: Select all    i8kfan 2 2

I get

Code: Select all    -1 2

i.e. my fans start and then suddenly stop !

View 9 Replies View Related

Debian Installation :: Fan Control In A Notebook ?

Apr 6, 2011

I got installed debian 6.0.1a en my compaq presario 1255 (amd-k6 with 160 Mb and 4.3 Gig), but I had to use expert install to be able to select lilo instead of grub2. I ended with a very basic system (it only uses 8Mb in console mode, and 28 Mb in fluxbox plus an xterm). It is still a very usable machine.

Previousy, I was able to install lenny 5.0.8 just with normal console mode install

I think that with lenny, the fan of the notebook (I mean the "external" one, I do not know if there is another in the micro) some times was on. but i do not think it works at any moment now with wheezy

I have been googling a couple of hours, but I am not getting a clear idea about fan and notebooks.

What have I to check? is it a module? something related to acpi?

View 1 Replies View Related

Debian :: /bin/sh: Can't Access Tty; Job Control Turned Off (initramfs)

Jul 19, 2010

I'm trying to "repair" two Debian Lenny servers a friend of mine had installed and working fine, all of a sudden he calls and tells me the servers don't boot. He's getting this error messege on both, weird:

/bin/sh: can't access tty; job control turned off (initramfs)

View 1 Replies View Related

Debian :: Control The Speed Of The CPU Fan In Desktop Computer?

May 23, 2011

Is it possible to control the speed of the CPU fan in my desktop computer? The CPU runs cool at 30C yet the fan sits around 2700rpm and the BIOS doesn't allow for speed control.

View 4 Replies View Related

Debian :: File Manager Full Control?

Aug 22, 2011

I'm using the default GNOME file manager. But as a user I don't have any privileges to move files to/from the user folders to the system. I elevated my user to admin privileges, but this has no effect; I can't do any file management in the system area.

I can use the 'root terminal', but it would be much easier to use a GUI file manager--even drag 'n drop.How do I get the file manager to open up? I guessed one way to do this is to log in as 'Root' instead of user. But login won't allow an 'other' login when I try to use 'root' as a username. Is this the wrong approach? Dave

View 7 Replies View Related

Debian Configuration :: How To Control Access To Different Services

Dec 25, 2010

I'm trying to control access to different services on an Debian server using /etc/group. So that a user I create for FTP usage doesn't fill up my server with IMAP folders or samba garbage.

Services like proftpd have:

AllowGroup ftpgroup

sshd have

AllowGroups sshgroup

And samba have

valid users = @smbgroup

But I can't find the correct option in Dovecot (/etc/dovecot/dovecot.conf) Do anyone have the magic option or a workaround thats doesn't envolve maintaining seperate user databases and password?

View 1 Replies View Related

Debian Configuration :: Xscreensaver Cannot Control The Screen

Dec 29, 2010

For some reason I cannot figure out, xscreensaver does not have permission to control my screen. It's present in memory, so the settings app thinking it is not present and asking if I want to start it is odd. Could the the necessity of using VESA BIOS controls to get around bugs in the VIA/S3/Unichrome chipset be the source of the problem? Are there other Linux screensavers that might work differently and might still be able to blank my screen?

View 4 Replies View Related

Debian Multimedia :: Using X To Control Home Stereo

Apr 26, 2015

I have a home media server that usually is running headless, as its only display is our TV. For the last year or so, I've used it as a component in our stereo, running Banshee via tunneling x to a server on either my phone or another computer via ssh. Please note I know that X doesn't handle sound, the idea is that the remote computer controls the media center which is hard-wired into our speakers.

This has worked great with Wheezy for about a year, and for several months with Jessie (up to like the end of February) when I started to have general sound issues with my install. I spent a few months running Ubuntu and now that Jessie's released I re-installed it last night.

Banshee runs great on the local X server- no issues. It also runs acceptably under XServer XSDL on my phone (it won't continue playing songs after the current song ends, unless I re open the X server app and then it sort of wakes up.) But when I try and log in from a remote computer (either another Jessie computer or Ubuntu 14.04.2) it says it's playing but no sound.

Here's what it's saying in the terminal on the Ubuntu computer while it's trying to start playing on the media computer

Code: Select all[Warn  09:39:01.506] DBus support could not be started. Disabling for this session. -
System.NullReferenceException: Object reference not set to an instance of an object (in `dbus-sharp-glib')
  at DBus.BusG.Init (DBus.Connection conn, DBus.GLib.IOFunc dispatchHandler) [0x00000] in <filename unknown>:0
  at DBus.BusG.Init (DBus.Connection conn) [0x00000] in <filename unknown>:0
  at DBus.BusG.Init () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.DBusConnection.Connect (System.String serviceName, Boolean init) [0x00000] in <filename unknown>:0

[Code] ......

This install is running the released Debian 8.0.0 and has the MATE desktop. I really don't have a choice other than Banshee because the majority of my library is encoded as .ogg files and all the metadata is saved in banshee.db as opposed to in the files.

View 5 Replies View Related

Debian Hardware :: 7.8 - Laptop Brightness Control

May 7, 2015

I have an issue with Debian 7.8 (wheezy) on my laptop. I've had to reinstall Debian on my laptop and since then I've had issues getting brightness controls to work properly.

It's a Core i3 370M processor with Ironlake graphics, I've had this issue before with Ubuntu and I sought [URL] ..... I've tried the steps that worked for Ubuntu (thinking they'd be the same as they're both Debian based) and it hasn't worked.

What should I try to get it to work? Since I have updated my grub config (as per the Ubuntu fix), brightness doesn't work at all and my screen now tiles ever so slightly when moving the cursor from side to side. I'll revert those changes if need be or if this issue cannot be resolved.

I've tried to install the Intel graphics drivers from 01.org, however I get an issue with libglib dependencies not being satisfied ( libglib2.0-0(>=2.37.3) ) that how to resolve.

View 5 Replies View Related

Hardware :: Setup Lm Sensors For Fan Control On Debian?

Mar 23, 2010

I have an issue with IBM XSeries 236M rack server running Debian Squeeze (2.6.32-3-vserver-amd64). I have installed "lm-sensors", "fancontrol", "acpid" and "acpi-support-base" packages. The problem is that I cannot get fan voltage and RPM displayed.

Command "sensors" will only display core temperatures:
root@xseries:/home/yang# sensors
k8temp-pci-00c3

[code].....

View 3 Replies View Related

Debian Configuration :: Jessie Missing Fan Control / Sensor

Apr 27, 2016

My laptop fan sensor shows fine in psensor in sid. But today I downgrade to jessie and sensor for fan gone. I check if fancontrol is running but I can not manage to make it work

sensors
Code: Select allacpitz-virtual-0
Adapter: Virtual device
temp1:        +55.0°C  (crit = +108.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +55.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +55.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +54.0°C  (high = +87.0°C, crit = +105.0°C)

[Code] ....

I google and have tried but no luck
Code: Select allacpi_enforce_resources=lax

This is an Asus laptop with controllable fan. I am not sure if fan is running by Bios, and how it might run. But I feel the laptop seem quieter and at higher temperature than it was under sid.

View 9 Replies View Related

Debian Configuration :: Control The Display Color Quality?

Dec 7, 2010

how do we control the display color quality in Debian, similar to setting 16 bit or 32 bit in Windows? I have Lenny on a notebook and Squeeze on a netbook, but cannot find a menu to set it. They both have the default vesa driver.

View 4 Replies View Related







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