10-23-2012
Alternative button for code tags
I am aware of the many issues surrounding posters not using code tags around code or data. Could we somewhat alleviate this issue by having a better icon that shows more clearly its function?
This User Gave Thanks to figaro For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies
2. Shell Programming and Scripting
Hello everyone, I am trying to implement an html button that will call a script and pass two arguments "perl script.pl website.com 1" this is for a search results page on a php spider called "sphider". the variable $url? is the url and Than needs to be one of the arguments in calling the script.... (0 Replies)
Discussion started by: mike171562
0 Replies
3. Solaris
Hello,
On one of our Solaris machines the user has managed to destroy his mouse key bindings. Usally if he clicks the middle button it presents some applications but now it just minimises the CDE panel to the top. I have compared his /usr/dt/config/C/sys.dtwmrc with another machine that is... (0 Replies)
Discussion started by: Mr Pink
0 Replies
4. UNIX for Advanced & Expert Users
Hi Sir's
I've the below piece of code has the following functionalities:
1) Read the "pcp" file and create Job related parameter file "$PARMFILE".
$PARMFILE has below variables:
AFTD2010 "FILE_TYPE_D=Y export FILE_TYPE_D"
AFTD2010 "FILE_TYPE_I=N export FILE_TYPE_I"
AFTD2010... (0 Replies)
Discussion started by: Lokesha
0 Replies
5. UNIX for Dummies Questions & Answers
Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies
6. UNIX for Dummies Questions & Answers
Please help me with this ...........
Suppose i have made a database of 25 people and want to make the user select any number of people till he wishes and then press a button to stop the process (of selecting)
what coding should be followed by me ...........:confused::confused: (1 Reply)
Discussion started by: doctor001
1 Replies
7. Programming
Need to run this api command via curl, the python code works without any problems , but we want the same to be run as curl command
import requests
params = {'username': 'testuser'}
params = 'c3NhbmthMDJjsd'
params = 'test'
params = 'guide'
params = '192.168.0.37'
params =... (2 Replies)
Discussion started by: iron_michael86
2 Replies
8. Post Here to Contact Site Administrators and Moderators
Where do I find the New Thread Button so I can post a message to get some help in an issue I am having ? (2 Replies)
Discussion started by: kstalder
2 Replies
9. What is on Your Mind?
Hey,
Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right.
I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)
Discussion started by: Neo
14 Replies
10. What is on Your Mind?
As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome.
CODE Tag = fa-code
ICODE Tag = fa-terminal
https://www.unix.com/members/1-albums215-picture966.png
The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies
LEARN ABOUT DEBIAN
wmbattery
WMBATTERY(1x) WMBATTERY(1x)
NAME
wmbattery - dockable battery monitor
SYNOPSIS
wmbattery [options]
DESCRIPTION
wmbattery is a battery monitor. It is used to visually display the system's battery status.
wmbattery can get battery information using HAL, APM, ACPI, or the SPIC controller in some Sony laptops. You need to build your kernel with
support for at least one of these for the program to work. wmbattery is dockable using WindowMaker and AfterStep window managers; under
other window managers wmbattery appears as a nicely-sized 64x64 application.
wmbattery displays the status of your laptop's battery in a small icon. This includes if it is plugged in, if the battery is charging, how
many minutes of battery life remain, battery life remaining (with both a percentage and a graph), and battery status (high - green, low -
yellow, or critical - red).
ELEMENTS OF THE DISPLAY
The wmbattery display consists of these elements:
dial The large dial at the top of the display shows battery life remaining.
time display
The time display, right under and in the middle of the dial, shows how many hours and minutes of battery life is estimated to remain
at the current rate of use.
If ACPI is used and battery is charging, the time display will instead show a countdown (starting with a minus sign) of how many
hours and minutes it is estimated to take until the battery is fully charged.
power cord
The small icon of a power cord plug, in the bottom left, tells if the laptop is plugged into wall power. If so, it will be lit.
charging indicator
The lightning bolt icon, to the right of the plug, tells if the battery is being charged. If so it will be lit and will connect the
plug to the battery.
battery icon
The battery icon, to the right of the lighting bolt, shows the percentage of battery time. If the battery is removed the icon will
be dimmed. If the computer is low on power the battery will turn yellow; if the computer is critically low on power and about to die
because of it, it will turn red.
OPTIONS
-h Display list of command-line options.
-w secs
Pause this many seconds between updates.
-d display
Use the designated X display.
-g +x+y
Specify geometry. This specifies position, not size.
-b battnum
Display the given battery. Only of use with the HAL or ACPI interfaces on systems with more than one battery. The default is to dis-
play the first battery found.
-l percent
Set the percentage at which the battery is considered to be running low. By default, this percentage is determined automaticall, and
you shouldn't need to set it. If you set this, you should probably also set the -c switch.
-c percent
Set the percentage at which the battery is considered to be critically low. By default, this percentage is determined automati-
cally, and you shouldn't need to set it. If you set this, you should probably also set the -l switch.
-e wmbattery contains code for estimating the time remaining before discharge, and until full charge, and this code is used if no other
source of this informaton is available. This switch makes wmbattery use its time estimation code even if some other estimate is
available.
-s granularity
Ignore fluctuations less than the specified granularity percent when estimating time. (Implies -e)
-a file.au
Play the specified au file (by sending it to /dev/audio) when the battery is low.
AUTHOR
Joey Hess <joey@kitenet.net>
WMBATTERY(1x)