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.
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.
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.'
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.
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:
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.
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)
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?
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?
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.
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.
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?
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)
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.
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
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?
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?
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.
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.
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
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
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.
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.