Sponsored Content
Top Forums Shell Programming and Scripting Need a script to autopause clementine on skype call Post 302991343 by Corona688 on Thursday 9th of February 2017 11:12:08 AM
Old 02-09-2017
I admit I don't know how it could possibly work! But I'm glad it works for you.
This User Gave Thanks to Corona688 For This Post:
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to run script? call other script? su to another user? make a cron?

Good morning. I am searching for "how-to"'s for some particular questions: 1. How to write a script in HP-UX 11. 2. How to schedule a script. 3. How to "call" scripts from the original script. 4. How to su to another user from within a script. This is the basics of what the... (15 Replies)
Discussion started by: instant000
15 Replies

2. Slackware

Skype on Slackware 64

Hi! I've downloaded the static version (skype_static-2.1.0.81.tar.bz2) and extracted it. Then I tried to start the Skype executable file (./skype) via the terminal but nothing happens. root@xxx:~# ls skype_static-2.1.0.81/ skype_static-2.1.0.81.tar.bz2 root@xxx:~# cd skype_static-2.1.0.81... (2 Replies)
Discussion started by: intelfan
2 Replies

3. Shell Programming and Scripting

Script to call a menu script and redirect each option to a text file

Hello, I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file. For example;- In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies

4. Shell Programming and Scripting

Shell script to call Oracle archive backup script when file system reaches threshold value

Hello All, I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60% Need to identify the unique file system that reaches threshold value. ex: capacity ... (4 Replies)
Discussion started by: sasikanthdba
4 Replies

5. Shell Programming and Scripting

Call a Perl script within a bash script and store the ouput in a .txt file

I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients). I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies

6. Ubuntu

Webcam and Skype not working properly

I recently bought a new HP Spectre x360 laptop and installed Ubuntu 15.10. (I originally went with a later version but I was encountering lots of bugs. This version seems to be more stable for my system). Things are mostly working okay, but not my webcam. If I go to a website to test it, it's... (0 Replies)
Discussion started by: twelth_hour
0 Replies
POWERPANEL(8)							    NUT Manual							     POWERPANEL(8)

NAME
powerpanel - Driver for PowerPanel Plus compatible UPS equipment NOTE
This man page only documents the hardware-specific features of the powerpanel driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
This driver supports CyberPower BC1200, PR2200 and many other similar devices, both for the text and binary protocols. The driver will autodetect which protocol is used. EXTRA ARGUMENTS
This driver supports the following optional settings in ups.conf(5): protocol=[text,binary] Override the default autodetection of the protocol. manufacturer=value If you don't like the autodetected value, you can override this by setting it here. model=value Like manufacturer above. serial=value Like manufacturer above. ondelay=value Time to wait before switching on the UPS (1 - 9999 minutes, 0=indefinite). Only available with the text protocol driver (see Support Status). offdelay=value Time to wait before shutting down the UPS (6 - 600 seconds). Values below 60 seconds will be truncated to 6 seconds intervals, values above 60 seconds to 60 seconds intervals. Only available with the text protocol driver (see Support Status). VARIABLES
Depending on the type of your UPS unit, some of the following variables may be changed with upsrw(8). If the driver can't read a variable from the UPS, it will not be made available. input.transfer.high writable: high transfer voltage point in V input.transfer.low writable: low transfer voltage point in V battery.charge.low writable: remaining battery charge percentage for low battery warning output.voltage.nominal writable: nominal output voltage in V ups.start.battery writable: allow cold start from battery COMMANDS
Depending on the type of your UPS unit, some of the following commands may be available. o test.battery.start.quick, test.battery.stop o beeper.enable, beeper.disable, beeper.toggle o shutdown.return, shutdown.reboot, shutdown.stayoff On many devices, these commands are unreliable, so before using them you must verify that these work as expected (see Shutdown Issues). o shutdown.stop SUPPORT STATUS
Vendor support is absent for this driver, so if you need some features that are currently not available, provide ample documentation on what the driver should sent to the UPS in order to make this work. If more information would be available on the binary protocol, it would probably be possible to make ondelay and offdelay configurable. So far, nobody has taken the time to investigate what we should tell the UPS to make this work, and CyberPower isn't willing to share this with us. SHUTDOWN ISSUES
If the shutdown.return command on your UPS doesn't seem to work, chances are that your UPS is an older model. Try a couple of different settings for offdelay. If no value in the range 6..600 works, your UPS likely doesn't support this. In order to get the expected behaviour, it requires shutdown.stayoff (when on battery) and shutdown.reboot (when on mains). The driver will automatically fallback to these commands if shutdown.return fails, and tries to detect which one should be used when called with the -k option (or through upsdrvctl shutdown). This isn't bullet-proof, however, and you should be prepared that the power will either not be shutdown or that it doesn't return when the power comes back. All models supported by the binary protocol and many supported through the text protocol are affected by this. KNOWN PROBLEMS
The CyberPower OP series don't offer direct voltage, charge, frequency and temperature readings. Instead, they will return a binary value that needs conversion to the actual value. The exact conversion needed is unknown at the time of this writing, hence an estimation was made based om readings from actual devices. This may (probably will) be off, possibly a lot. Unless you can tell us the exact mapping between values from the UPS and actual readings, don't bother to complain. We've done the best we can based on the limited information available. Remember, a UPS isn't a measuring instrument. AUTHORS
Arjen de Korte <arjen@de-korte.org>, Doug Reynolds <mav@wastegate.net> SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/21/2012 POWERPANEL(8)
All times are GMT -4. The time now is 05:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy