OnWorks favicon

fvwm-menu-xlock - Online in the Cloud

Run fvwm-menu-xlock in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command fvwm-menu-xlock that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



fvwm-menu-xlock - builds xlock menu definition for fvwm


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 ]


A simple perl script which parses xlock's output to build an fvwm menu definition of all
xlock's modes.


show the help and exit

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\t(%d)'. TAB can be
specified as '\t', but in .fvwm2rc you should specify a double backslash or a real

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 characters, 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).

define icon names suitable for use with wm-icons package. Currently this is equivalent
to: --icon-title '' --icon-item menu/lock.xpm.

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.


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


Charles K. Hines <[email protected]>, initial version.

Mikhael Goikhman <[email protected]>, from 24 Feb 1999.


The script is distributed by the same terms as fvwm itself. See GNU General Public License
for details.

Use fvwm-menu-xlock online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 2
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 3
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 4
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 5
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • 6
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    Download Brackets
  • 7
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • More »

Linux commands