Re: [LINUX:3288] .twmrc

Serkan Hamarat (hamarat@efes.net.tr)
Tue, 18 Nov 1997 18:46:27 +0200


This is a multi-part message in MIME format.
--------------492C563C3307A6D62EEE08BC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

M SOYER wrote:

> twmrc icin ornek gonderebilirmisinz
> ben bazi ayarlari degistirmeye calistirdimama vbasarili olamadim ornegin
> border rengi ve kalinligini degistiremedim
> tesekurler
>
> Muhammed SOYER
> 0 312 212 78 87
>
> ....

Belki tam istedigin olmayabilir ama fikir de verebilir.

--------------492C563C3307A6D62EEE08BC
Content-Type: text/plain; charset=us-ascii; name=".ctwmrc"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=".ctwmrc"

############ more ~ag/help ###########################
###########################################################################
NoDefaults
NoGrabServer
#NoMenuShadows
#NoTitleHighlight
NoSaveUnders
DontSqueezeTitle
ConstrainedMoveTime 300
ReallyMoveInWorkspaceManager
RestartPreviousState # for f.restart
IconifyByUnmapping # prevents icon from appearing. Only uses icon manager
DecorateTransients
Zoom
###############################TITLE BAR BUTTONS######################
LeftTitleButton ":xpm:dot" = f.iconify
RightTitleButton "%xpm:resize" = f.resize
######################################################################
RaiseDelay 700
#RandomPlacement
UsePPosition "on"
UseThreeDIconManagers
UseThreeDMenus
UseThreeDTitles
UseThreeDWMap
SunkFocusWindowTitle
AnimationSpeed 3
MaxIconTitleWidth 500
BorderWidth 5
UseThreeDBorders
NoTitleHighlight

#NoShowOccupyAll
AutoOccupy
MapWindowCurrentWorkSpace {"Red" "SkyBlue" "Blue" }

TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
IconJustification "right"
IconRegion "128x950-0+250" North East 128 1
IconRegion "320x950-100+0" North East 320 1
ShowIconManager
SortIconManager
IconManagerGeometry "150x100+1118+121"

ShowWorkSpaceManager
StartInMapState
workspacemanagergeometry "323x110-0+0" 3
WorkSpaces {
"One" {"#727786" "white" "DeepSkyBlue3" "white" }
#Bazi arka fonlar: mensetmanus xlogo16 escherknot cross_weave boxes
"Two" {"#686B9F" "white" "DeepSkyBlue3" "white" }
"Three" {"#619AAE" "white" "DeepSkyBlue3" "white" }
# "Four" {"#619AAE" "white" "DeepSkyBlue3" "white" }
}

# nice colors: background of wheat, foreground of #d36

Cursors
{
Frame "sizing"
Title "left_ptr"
Icon "left_ptr"
IconMgr "left_ptr"
Move "fleur"
Resize "sizing"
Menu "sb_right_arrow"
Button "hand2"
Wait "clock"
Select "dot"
Destroy "pirate"
}

Color
{
BorderColor "LightBlue"
BorderTileBackground "Black"
TitleBackground "SteelBlue"
TitleForeground "White"
MenuBackground "Blue"
MenuForeground "Gray"
MenuTitleBackground "SteelBlue"
MenuTitleForeground "White"
IconBackground "Black" #LightBlue
IconForeground "White" #Black
IconBorderColor "Purple"
IconManagerBackground "Black" #LightGray
IconManagerForeground "Yellow" #White
IconManagerHighlight "SteelBlue"
MapWindowBackground "green"
MapWindowForeground "SteelBlue"
}

Monochrome
{
MapWindowBackground "white"
MapWindowForeground "black"
IconManagerHighlight "black"
}

ForceIcons

NoTitle
{
"WorkSpaceManager"
"TWM Icon Manager"
}

# UnknownIcon "xpm:nothing.xpm"

Icons
{
"DECW$CALC" "xpm:xcalc.xpm"
}

WindowRing # f.warpring acts along these windows
{
"XTerm"
"DECW$TERMINAL"
"HPterm"
"Emacs"
"XJed"
"Tpu"
"Ved"
}

AutoRaise
{
"Untitled"
}

NoTitle
{
"Clock"
"XDaliClock"
}

OccupyAll
{
"Clock"
"XDaliClock"
}

IconManagerDontShow {
"WorkSpaceManager"
"Clock"
"XDaliClock"
}

# define key bindings

MoveDelta 3

Function "move-or-raise"
{
f.move
f.deltastop
f.raise
}

Function "raise-n-focus"
{
f.raise
}

Function "raise-or-resize"
{
f.raise
f.deltastop
f.resize
}

Function "move-or-raiselower"
{
f.move
f.deltastop
f.raiselower
}

Function "move-or-iconify"
{
f.move
f.deltastop
f.iconify
}

DefaultFunction f.nop

Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.menu "TMenu"
Button3 = : title : f.resize
Button1 = : frame : f.function "raise-or-resize"
Button2 = : frame : f.function "move-or-raise"
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button1 = : root : f.menu "ctwmops"
Button2 = : root : f.menu "windowops"
Button3 = : root : f.menu "Hosts"

#####################TITLE BAR MENU,BUTTON 2###############################

menu "TMenu" {
"Title Bar" f.title
"Pin menu" f.pin
"Kill Window" f.destroy
"" f.separator
"Animation" f.menu "Anim"
"" f.separator
"Iconify" f.iconify
"Identify" f.identify
"Occupy" f.occupy
"Occupy All" f.occupyall
"Send Delete" f.delete
"Vanish" f.vanish
"" f.separator
"Zoom" f.menu "Zoom"
}

#SUB-MENU OF TITLE BAR MENU,BUTTON 2
menu "Anim"
{
"Animation" f.title
"Start" f.startanimation
"Stop" f.stopanimation
"Faster" f.speedupanimation
"Slower" f.slowdownanimation
"Pin menu" f.pin
}

#SUB-MENU OF TITLE BAR MENU,BUTTON 2
menu "Zoom"
{
"Zoom" f.title
"Pin menu" f.pin
"Full" f.fullzoom
"Horizontal" f.horizoom
"Vertical" f.zoom
"Left" f.leftzoom
"Top" f.topzoom
"Right" f.rightzoom
"Bottom" f.bottomzoom
}

#############################ROOT MENUS#####################################
#################### BUTTON 1
menu "ctwmops"
{
"Twm Utilities" f.title
"Pin menu" f.pin
"" f.separator
"Animation" f.menu "Anim"
"Workspaces" f.menu "workspace"
"" f.separator
"Move Window" f.move
"Send Delete" f.delete
"Kill Window" f.destroy
"" f.separator
"Iconify" f.iconify
"Identify" f.identify
"Occupy" f.occupy
"Occupy All" f.occupyall
"" f.separator
"Refresh" f.refresh
"Resize" f.resize
"Restart" f.restart
"S. Refresh" !"xrefresh&"
"" f.separator
"Save" f.saveyourself
"Vanish" f.vanish
"W.Refresh" f.winrefresh
# "HELP" !"/usr/bin/X11/xterm -e more /usr/users/bilkent/ag/help"
"" f.separator
"End Session" !"kill -9 -1"
}

#SUB-MENU OF BUTTON 1
menu "workspace"
{
"WorkSpace" f.title
"Pin menu" f.pin
"Show Icon Box" f.showiconmgr
"Hide Icon Box" f.hideiconmgr
"Toggle Manager" f.togglestate
"Show Manager" f.showworkspacemgr
"Hide Manager" f.hideworkspacemgr
}

#################### BUTTON 2
menu "windowops"
{
"X11 Utilities" f.title
"Pin menu" f.pin
"" f.separator
"Applications" f.menu "Application"
"Mail Editors" f.menu "mails"
"Text Editors" f.menu "editors"
"" f.separator
"Netscape" !"netscape &"
"Mosaic" !"mosaic &"
"xgetftp" !"xgetftp &"
"Gopher" !"xterm -sb -sl 256 -e gopher&"
"" f.separator
"Calculator" !"xcalc&"
"Calendar" !"dxcalendar &"
"Clock" !"dxclock &"
"" f.separator
"Xv " !"xv &"
"XPaint" !"xpaint &"
"Manual" !"xman &"
"" f.separator
"Machine Load" !"xload&"
"Magnify" !"xmag&"
}

# SUB-MENU OF BUTTON 2
Menu "Application"
{
"Applications" f.title
"Pin menu" f.pin
"Bitmap" !"bitmap &"
"Bookreader" !"dxbook &"
"Differences" !"dxdiff &"
"Ghostview" !"ghostview &"
"Paint" !"dxpaint &"
"Viewres" !"viewres &"
"Xfig" !"xfig &"
}

# SUB-MENU OF BUTTON 2
Menu "mails"
{
"Mail Editors" f.title
"Pin menu" f.pin
"Elm" !"xterm -sb -sl 256 -T Elm -e elm &"
"Pine" !"xterm -sb -sl 256 -T Pine -e pine &"
"Mail Tool" !"xmh &"
"DxMail" !"dxmail &"
}

# SUB-MENU OF BUTTON 2
Menu "editors"
{
"Text Editors" f.title
"Pin menu" f.pin
"Pico" !"xterm -sb -sl 256 -T Pico -e pico &"
"Axe Editor" !"axe &"
"CoAxe" !"coaxe &"
"X11 Text Editor" !"xedit&"
"Emacs" !"emacs &"
"CDA Viewer" !"dxvdoc &"
}

################### BUTTON 3
menu "Hosts"
{
"Hosts" f.title
"Pin menu" f.pin
"Xterminals" f.menu "xterminal"
"DECterms" f.menu "decterm"
"X3270" !"x3270 vm&"
}
# SUB-MENU OF BUTTON 3
Menu "decterm"
{
"DECterms" f.title
"DECterm" !"dxterm &"
"bornova" !"dxterm -e rlogin bornova &"
"karsiyaka" !"dxterm -e rlogin karsiyaka &"
"konak" !"dxterm -e rlogin konak &"
"hatay" !"dxterm -e rlogin hatay &"
"alsancak" !"dxterm -e rlogin alsancak &"
"bostanli" !"dxterm -e rlogin bostanli &"
"balcova" !"dxterm -e rlogin balcova &"
"buca" !"dxterm -e rlogin buca &"
"guzelyali" !"dxterm -e rlogin guzelyali &"
"goztepe" !"dxterm -e rlogin goztepe &"
"teleferik" !"dxterm -e rlogin teleferik &"
"asansor" !"dxterm -e rlogin asansor &"
"sirinyer" !"dxterm -e rlogin sirinyer &"
"Pin menu" f.pin
}

# SUB-MENU OF BUTTON 3
Menu "xterminal"
{
"Xterminals" f.title
"Xterminal" !"xterm -sb -sl 256 &"
"bornova" !"xterm -sb -sl 256 -T bornova -e rlogin bornova &"
"karsiyaka" !"xterm -sb -sl 256 -T karsiyaka -e rlogin karsiyaka &"
"konak" !"xterm -sb -sl 256 -T konak -e rlogin konak &"
"hatay" !"xterm -sb -sl 256 -T hatay -e rlogin hatay &"
"alsancak" !"xterm -sb -sl 256 -T alsancak -e rlogin alsancak &"
"bostanli" !"xterm -sb -sl 256 -T bostanli -e rlogin bostanli &"
"balcova" !"xterm -sb -sl 256 -T balcova -e rlogin balcova &"
"buca" !"xterm -sb -sl 256 -T buca -e rlogin buca &"
"guzelyali" !"xterm -sb -sl 256 -T guzelyali -e rlogin guzelyali &"
"goztepe" !"xterm -sb -sl 256 -T goztepe -e rlogin goztepe &"
"teleferik" !"xterm -sb -sl 256 -T teleferik -e rlogin teleferik &"
"asansor" !"xterm -sb -sl 256 -T asansor -e rlogin asansor &"
"sirinyer" !"xterm -sb -sl 256 -T sirinyer -e rlogin sirinyer &"
"Pin menu" f.pin
}

######################## END OF FILE #############################

--------------492C563C3307A6D62EEE08BC--