/etc/tkdesk/AppBar_Games is in tkdesk 2.0-9.2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | ### -------------------------------------------------------------------------
###
### AppBar (TkDesk Configuration File)
###
### This file defines the contents and appearance of the Application Bar,
### which can be opened from the "TkDesk" menu.
###
### *** Press F5 to save changes and reload this file into TkDesk,
### *** F6 to do the same plus to close this window.
###
### -------------------------------------------------------------------------
### Whether to let the application bar be managed by the window manager.
### The "disadvantage" of this is that you get a border around the appbar
### window and that the appbar is not automatically present on all virtual
### screens. Note that you can MOVE the appbar by invoking the menu-entry
### "Application Bar/Move..." from the popup menu of the very first button.
### You can then drag the appbar around your screen by pressing the left
### mouse button and moving your mouse simultaneously. Strange, but this
### is by far the MFAQ.
set tkdesk(appbar,wm_managed) 0
### Max. number of buttons in one column resp. row of the application bar
### (when layout is vertical resp. horizontal):
set tkdesk(appbar,max) 19
###
### Definitions of fonts used in the time and date "button":
set tkdesk(appbar,font,time) -*-courier-medium-r-*-*-12-*-*-*-*-*-*-*
set tkdesk(appbar,font,weekday) -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
set tkdesk(appbar,font,day) -*-times-bold-r-*-*-24-*-*-*-*-*-*-*
set tkdesk(appbar,font,month) -*-helvetica-medium-o-*-*-12-*-*-*-*-*-*-*
###
### Set to 1 if you prefer 12-hour time display:
set tkdesk(appbar,12hour) 0
###
### Delay between updates of the load and mail display in seconds:
set tkdesk(appbar,load,delay) 15
set tkdesk(appbar,mail,delay) 30
###
### Images to be used for the xbiff replacement (mail notifier):
set tkdesk(appbar,mail,nomail) mailbox_empty.xpm
set tkdesk(appbar,mail,oldmail) mailbox_old.xpm
set tkdesk(appbar,mail,newmail) mailbox_full.xpm
###
### Background colour to change the mail icon to when new mail arrived,
### use "" if the colour should not be changed:
set tkdesk(appbar,mail,newbg) SlateGray
###
### Images to be used for the trash button:
#set tkdesk(appbar,trash,empty) next/rectrash.xpm
#set tkdesk(appbar,trash,full) next/rectrash_full.xpm
set tkdesk(appbar,trash,empty) next/recycle.xpm
set tkdesk(appbar,trash,full) next/recycle_full.xpm
### ------------------------------------------------------------------------
### Definition of the Application Bar (AB): The Application Bar is defined
### by the elements of a Tcl list. (In the following I try to explain its
### structure, although it will probably best to just have a look at the
### example definition below.)
###
### Each element of the list is again a Tcl list, whose first element is
### the file name of the image to use while the second is another Tcl list
### defining the popup menu associated with that button. If the image file
### name is not absolute, TkDesk will look for the image in each directory
### given by the variable tkdesk(path,images), which is defined in the
### config file "System". Supported formats are XBM, XPM, GIF, and P?M.
### If the image name starts with "special:" it is a special display button.
### Currently the following displays are implemented:
###
### special:date - time and date display
### special:load - system load display
### special:mail - displays the status of your mailbox
###
### The popup menu list contains usually a set of 2-element lists. The
### first element always gives the label of the menu entry, while the
### second element contains a Tcl script to execute when this menu entry
### is invoked.
###
### One label has a special meaning: If the label of an entry is "dd", the
### respective action will be executed when files are dropped on the
### button (their names can be accessed via %A in the action
### specification). One-element lists inside the menu list are handled as
### follows: {-} adds a separator to the menu. If the list is one of
### {history:...} or {config}, TkDesk will insert the corresponding menu
### at that place. Otherwise the element is treated as a (disabled) menu
### entry, and can be used for inserting "headlines." Cascaded menus are
### also possible, have a look at the example below to see how they are to
### be defined.
###
### A single click with the left mouse button always invokes the first
### menu entry of the corresponding popup menu. The menu gets posted when
### the right mouse button is pressed over an AB button.
###
### TkDesk commands that can be used in the list definition:
### (Only the most common ones are listed here. For a complete overview
### and a detailed explanation refer to the User's Guide.)
###
### dsk_exec cmd ... : Executes shell command cmd in background.
### dsk_path_exec path cmd ... : Execute cmd in path.
### dsk_view cmd ... : Executes cmd, displays output in Editor window.
### dsk_open_dir path : Opens a new file list for directory path.
### dsk_open_browser path : Opens a new file browser for directory path.
### dsk_edit file : Edits file.
### dsk_du path : Displays disk usage of directory path.
### dsk_periodic cmd seconds : Executes cmd every x seconds.
### dsk_confirm text script : Executes script when confirmation was positive.
### dsk_read_string label script : Executes script when entered string is
### not empty. "label" will be displayed in the dialog.
### dsk_sound id : Plays sound id (defined in config-file Sounds).
### dsk_cbhelp file regexp : Invokes TkDesk's help system on file.
### dsk_ask_exec : Asks for a command to execute.
### dsk_ask_dir : Asks for a directory to open.
### dsk_save_config : Saves window layout, history, bookmarks etc.
### dsk_exit ?ask? : Quits TkDesk. "ask" may be one 1 or 0.
###
### Abbreviations that will be replaced with file names etc.:
###
### %s : Full pathname of the first selected file.
### %f : Its filename only.
### %b : "Basename": just the filename without extension.
### %d : Its directory only.
### %A : List containing full pathnames of all selected resp. dropped files.
### %B : Same as %A, but will be replaced with "" if no files are selected.
### %D : Directory of last "ative" viewer.
### %x : Current X selection.
###
### The very first Button provides access to a few functions of TkDesk,
### like history menus, configuration menu etc. Its labels are mostly
### "internally reserved" keywords.
### The second button is only defined by the magic word "date" which inserts
### TkDesk's date display at that place into the AB.
set tkdesk(appbar) {
{{desk2.xpm} {
{{TkDesk Version $tkdesk(version)}}
{-}
{{Execute...} {dsk_ask_exec}}
{{Open directory...} {dsk_ask_dir}}
{{Home Directory} {dsk_open_dir ~}}
{{Find Files...} {dsk_find_files}}
{{Quit TkDesk...} {dsk_exit 1}}
{-}
{bookmarks}
{history:files}
{history:execs}
{history:dirs}
{-}
{{Application Bar}
{{Be'ish AppBar} {dsk_reread_config AppBar_Be}}
{{Default AppBar} {dsk_reread_config AppBar}}
-
{{Edit this AppBar} {dsk_edit_configs AppBar_Games}}
{{Reload this AppBar} {dsk_reread_config AppBar_Games}}
{{Layout}
{{Vertical} {dsk_appbar layout vertical}}
{{Horizontal } {dsk_appbar layout horizontal}}
}
{-}
{{Move...} {dsk_appbar move}}
{{Raise} {dsk_appbar raise}}
{{Hide} {dsk_appbar close}}
}
{config}
{{dd} {dsk_openall %A}}
}}
{{special:date} {
{{Time and Date}}
-
{{xcalendar} {dsk_exec xcalendar}}
}}
{{next/crash.xpm} {
{{Action Games}}
-
{{Mr. iS } {dsk_exec xmris}}
{{XPilot} {dsk_exec xpilots; after 2000 dsk_exec xpilot -join}}
{{XJewel } {dsk_exec xjewel}}
{{Tetris} {dsk_exec xtetris}}
-
{{Windows 95} {cb_alert "Windows 95 has caused a general protection failure and has been aborted."}}
}}
{{next/cards.xpm} {
{{Strategy Games}}
-
{{Spider } {dsk_exec spider}}
{{Chess} {dsk_exec xboard}}
{{XSok} {dsk_exec xsok}}
}}
{{next/wizard.xpm} {
{{Adventure Games}}
-
{{Nethack} {dsk_exec nethack}}
{{Angband} {eval dsk_exec $tkdesk(cmd,xterm) -e angband}}
}}
{{special:trash} {
{Recycling}
-
{{Delete Files } {dsk_delete}}
{{Open Trash Can} {dsk_open_dir $tkdesk(configdir)/.trash}}
{{Empty Trash Can} {dsk_empty_trash}}
{{dd} {dsk_delete {%A}}}
}}
}
|