6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :)
I have the output of an ldapsearch that looks like this:
dn: cn=sam,ou=company,o=com
uidNumber: 7174
gidNumber: 49563
homeDirectory: /home/sam
loginshell: /bin/bash
uid: sam... (2 Replies)
Discussion started by: samgoober
2 Replies
2. Programming
i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h ..
i have also included them using ..
#include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h"
... (2 Replies)
Discussion started by: upvan111
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
when i ran a shell script ,its showing "^M: not found" errore
i used the the code
dos2unix sunshine.sh sunshine1.sh
and then again i ran the scriptand then its still showing the errore
please help me in the matter.
thanks... (3 Replies)
Discussion started by: manit
3 Replies
4. Solaris
I have found this error when i logged in as root: su -
Any body have any idea where this error coming from or what is not working?
-Adeel (1 Reply)
Discussion started by: deal732
1 Replies
5. UNIX for Dummies Questions & Answers
Hello everybody:
Im facing this weird problem on my SUN V890 running SOL9, from time to time I keep getting this error from the prompt when i press enter for blank:
OM: not found
sometimes if I entered a coomand it will give me: OM(command name):not found, but repeating the same command it... (4 Replies)
Discussion started by: aladdin
4 Replies
6. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
LEARN ABOUT SUSE
fvwm-menu-xlock
fvwm-menu-xlock(1) Fvwm Utilities fvwm-menu-xlock(1)
NAME
fvwm-menu-xlock - builds xlock menu definition for fvwm
SYNOPSIS
fvwm-menu-xlock [ --help|-h|-? ] [ --version|-V ] [ --name|-n name ] [ --title|-t title ] [ --item format ] [ --icon-title icon ] [
--icon-item icon ] [ --special-first|-s ] [ -- xlock params ]
DESCRIPTION
A simple perl script which parses xlock's output to build an fvwm menu definition of all xlock's modes.
OPTIONS
--help
show the help and exit
--version
show the version and exit
--name name
define menu name in the following argument. Default is "XLockMenu"
--title title
define menu title in the following argument. Default is "XLock Modes".
--item format
define menu item format in the following argument, default is '%n (%d)'. TAB can be specified as ' ', but in .fvwm2rc you should
specify a double backslash or a real TAB.
Format specifiers:
%n - mode name
%d - mode description
%D - mode description without "Shows " prefix if any
These specifiers can receive an optional integer size, positive for right adjusted string or negative for left adjusted, example: %8x;
and optional *num or *-num, which means to leave only the first or last (if minus) num of chars, the num must be greater than 3, since
the striped part is replaced with "...", example: %*30x. Both can be combined: %-10*-20x, this instructs to get only the 20 last char-
acters, but if the length is less then 10 - to fill with up to 10 spaces on the right.
--icon-title icon
--icon-item icon
define menu icon for title and regular item accordingly. Default is no menu icons (equivalent to an empty icon argument).
--wm-icons
define icon names suitable for use with wm-icons package. Currently this is equivalent to: --icon-title '' --icon-item menu/lock.xpm.
--special-first
instructs to include special modes (usually black, bomb and random) first.
Option parameters can be specified either using '=' or in the next argument. Short options are ok if not ambiguous: -h, -t; but be careful
with short options, what is now unambiguous, can became ambiguous in the next versions.
Additional arguments (after --) will be passed to xlock.
Please see the xlock(1) man page for the xlock options.
USAGE
Add these lines to your fvwm configuration file:
PipeRead 'fvwm-menu-xlock --name MenuSSaver --title "Screensaver"
--icon-item mini-bball.xpm --special-first -- -nice 19 -nolock'
PipeRead 'fvwm-menu-xlock --name MenuSLock --title "Lock Screen"
--icon-item mini-rball.xpm --special-first -- -nice 19'
AddToMenu "Utilities" "Screensaver%mini-monitor.xpm%" Popup MenuSSaver
AddToMenu "Utilities" "Screenlock%mini-lock.xpm%" Popup MenuSLock
AUTHORS
Charles K. Hines <chuck_hines@vnet.ibm.com>, initial version.
Mikhael Goikhman <migo@homemail.com>, from 24 Feb 1999.
COPYING
The script is distributed by the same terms as fvwm itself. See GNU General Public License for details.
BUGS
Depends on the output of xlock. Will produce an empty menu if the structure of the output is changed.
Report bugs to fvwm-bug@fvwm.org.
perl v5.8.0 2003-03-15 fvwm-menu-xlock(1)