9 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Try running 'phone4 xyz' and see what happens.
Modify your program so that if no matching name is found, an... (1 Reply)
Discussion started by: OmgHaxor
1 Replies
2. Shell Programming and Scripting
same script:
1- i am using grep to find a string called: tinker panic 0 in a file /etc/ntp.conf
if the string is not there, i want to add the strings in /etc/ntp.conf file in the first line of the file. if not do nothing or exit.
2- also i want to add # in front of the following lines in... (0 Replies)
Discussion started by: lamoul
0 Replies
3. Shell Programming and Scripting
Hi Guys i have a <script?> that spits out the location of each printer using snpget
here is the code
for i in `sed -n '/Start Printer/,/End Printer/p' /hosts/blah/etc/dhcp/hosts.conf | awk '!/^#/ {print $2}' | egrep -v \... (2 Replies)
Discussion started by: ab52
2 Replies
4. Shell Programming and Scripting
Try to imagine a flag:
nnnnx
nnnxx
nnxxx
nxxxx
now imagine how it will output:
4 times the "n"and 1 times "x"
3 times "n"and" 2 times" x "
.. etc. ..
rhombus is the same only instead of "n" is there
gap "and " x "is a few times to form the correct shape
Can you help... (3 Replies)
Discussion started by: krcek12
3 Replies
5. Shell Programming and Scripting
Hello everyone!!!! I am new to this forum ...I have a problem. And I thought that you are expert :) so you can help me with that... I have a text file with maaany lines. Every line begins with something like that:
<http aksjfskcuhrf kushkfsnus> <http sxnfrksehfsd gsdg r> I don't know if every... (16 Replies)
Discussion started by: mary_elen
16 Replies
6. Shell Programming and Scripting
have this code but when i run it i get this error
./pulse: line 2: and here is the code
#!/bin/bash
if ;
then
pulseaudio -k;
fi
what am i doing wrong
thanks
Adam (5 Replies)
Discussion started by: ab52
5 Replies
7. Shell Programming and Scripting
hi all
i'm trying to get a script working upon connection with pppd
According to docu this happens ina clean environment with a couple of variables set, namely $1,$2,...
To be able to execute the statements i included a path statement but i think i'm running into trouble with the variables -... (6 Replies)
Discussion started by: jimjones
6 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
when i ssh into my linux machine, i can do a double left click and then right click to paste it anywhere i need.
However, on the actual machine, in the terminal, i cannot do a double left click and right click to paste it. i need to right click and select Copy followed by click click... (1 Reply)
Discussion started by: new2ss
1 Replies
9. Shell Programming and Scripting
Hello there peeps:
There is a little piece of bash shell scripting problem i have, which i was hoping you could help me with.
#!/bin/bash
stored_word()
{
case $(( $$ % 8 )) in
0 ) echo "energy";;
1 ) echo "touch";;
2 ) echo "climbing";;
3 ) echo... (3 Replies)
Discussion started by: keyvan
3 Replies
mousetweaks(1) General Commands Manual mousetweaks(1)
NAME
mousetweaks - Accessibility enhancements for pointing devices
SYNOPSIS
mousetweaks [--dwell] [--ssc] [--dwell-time=FLOAT] [--ssc-time=FLOAT] [-m|--dwell-mode=STRING] [-c|--show-ctw] [-t|--threshold=INT]
[-g|--geometry] [-s|--shutdown] [--daemonize] [-?|--help]
DESCRIPTION
mousetweaks is a collection of accessibility enhancements for pointing devices. This manual page describes the mousetweaks daemon.
OPTIONS
--dwell
Automatically perform mouse clicks without using a physical button.
--ssc Trigger the secondary mouse button when the primary mouse button is held down for a specified amount of time.
--dwell-time=FLOAT
Time to keep the pointer motionless before a dwell click is performed. Range: 0.2 - 3.0 seconds.
--ssc-time=FLOAT
Time to hold the primary mouse button before a simulated secondary click is performed. Range: 0.5 - 3.0 seconds.
-m, --dwell-mode=STRING
Select a dwell mode. Available options: window - Select the click type from a window or a panel applet. gesture - Perform different
clicks by moving in different directions.
-c, --show-ctw
Show the click-type window. Only useful in combination with --dwell-mode=window.
-t, --threshold=INT
Ignore small pointer movements. Range: 0 - 30 pixels.
-g, --geometry
Size and position of the click-type window. Expects a standard X Window System geometry string. ie. WIDTHxHEIGHT+X+Y
-s, --shutdown
Stop the mousetweaks daemon.
--daemonize
Start mousetweaks in the background, ie. spawn a child process.
--login
Start mousetweaks in login mode. Login mode enables workarounds specific to GDM. Currently unused.
FILES
mousetweaks.pid
The daemon creates a lock file in the $XDG_RUNTIME_DIR directory to keep track of its state. On systems with no user runtime direc-
tory, the $XDG_CACHE_HOME directory is used.
BUGS
Report bugs to <http://bugzilla.gnome.org/> <http://bugzilla.gnome.org/>
AUTHORS
This manual page was written by Francesco Fumanti.
LICENSE
Licenced under the GNU General Public License v3 or later.
mousetweaks(1)