PPagerPPager is a small pager for X Window. It display a clock, and can starts differents commands with mouse button. It works under any gnome compliant window manager (eg. E, SawFish, WindowMaker, IceWM, Oroborus).
http://hocwp.free.fr/ppager/
Code: Select all
# ppager -h
ppager - A small pager.
Usage: ppager [OPTION]...
Options:
--display=DISPLAY X server to contact
-g, --geom=GEOMETRY change geometry of pager,
defaults to 100x100+0+0
-c, --clock=CLOCK_TYPE change the type of the clock, it
can be one of "normal","big", "off"
defaults to "normal"
-p, --clock_pos=POSITION change the position of the clock, it
can be one of "top", "bottom"
defaults to "top"
-o, --cols=COLUMN change number of columns in pager,
defaults to 3
-l, --lines=LINE change number of lines in pager
defaults to 3
-f, --font=FONT_NAME change the font of text
defaults to -*-lucida*-m*-r-*-*-10-*-*
-t, --notooltip do not display programs tool tip
-d, --default show a default configuration file
--config=FILE_NAME use an alternate configuration file
-h, --help display this help and exit
-V, --version output version information and exit
To start with this default rc file, you can use a command like this :
ppager -d > ~/.ppagerrc
And edit the file in $HOME/.ppagerrc.
Code: Select all
# ppager configuration file
#
# size of pager
cols=3
lines=3
# geometry of pager
geom=80x80-0-0
# font name
#font=9x15bold
# clock type (off | normal | big)
#clock=big
# clock position (top | bottom)
#clock_pos=bottom
# have to show tool tip ?
tool_tip=true
# delay to show tool tip
tool_tip_delay=2
# colors definition
#background_color=lightgray
#tool_tip_color=gold
##selected_color=lightsteelblue3
#tool_tip_text_color=blue
#text_color=darkblue
##light_coner_color=white
##dark_coner_color=black
##grid_color=black
# desktop definition
# a line structure is :
#
# desk_??? = desktop : value ; desktop : value ; ...
#
# where desktop is the desktop to define
# and where desk_??? is one of
# desk_name : desktop name,
# desk_switch : desktop where to switch,
# desk_cmd_name_norm : normal command name
# desk_cmd_line_norm : normal command line
# desk_cmd_name_ctrl : control command name
# desk_cmd_line_ctrl : control command line
# desk_cmd_name_alt : alt command name
# desk_cmd_line_alt : alt command line
desk_name = 1:a; 2:z; 3:e;
desk_name = 4:q; 5:s; 6:d;
desk_name = 7:<; 8:w; 9:x;
desk_switch = 1:7; 2:8; 3:9;
desk_switch = 4:4; 5:5; 6:6;
desk_switch = 7:1; 8:2; 9:3;
desk_cmd_name_norm = 1 : Emacs ; 2 : XTerm; 3 : Rxvt
desk_cmd_name_norm = 4 : Net; 9: Lock Screen
desk_cmd_name_norm = 5 : Mozilla
desk_cmd_name_norm = 7 : TODO
desk_cmd_name_norm = 8 : Info System
desk_cmd_line_norm = 1 : emacs; 2 : xterm; 3 : rxvt
desk_cmd_line_norm = 4 : nt /home/phil/local/my_bookmarks.html
desk_cmd_line_norm = 5 : moz
desk_cmd_line_norm = 9 : xlock -geometry 1024x600 -mode random -nolock
desk_cmd_line_norm = 7 : emacs ~/.TODO
desk_cmd_line_norm = 8 : xosview -ints +net +battery -geometry -0+0
desk_cmd_name_ctrl = 1 : Emacs All
desk_cmd_line_ctrl = 1 : xterm -e enc
desk_cmd_name_ctrl = 8 : GKrellm
desk_cmd_line_ctrl = 8 : gkrellm
desk_cmd_name_ctrl = 9 : Quit
desk_cmd_line_ctrl = 9 : killall oroborus
desk_cmd_name_alt = 9 : Halt System
desk_cmd_line_alt = 9 : tk_halt
# Button definition
button_switch = 1
button_clock = 2
button_start = 3
#
# end ppager configuration file
#