/usr/share/massxpert/chem_pad.conf is in massxpert-data 3.6.0-1.
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 | # This is the layout for the chempad of the molecular calculator 'extremecalc'
# in the massXpert software program.
# Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Filippo Rusconi.
# GNU General Public License.
# The format of this file allows the definition of colors
# according to the following syntax:
#
# color%OneColor%xxx,yyy,zzz
#
# with xxx, yyy and zzz numerical values in range [0,255] for the red,
# green and blue component of the color respectively.
#
# Available colors are: white, black, red, darkRed, green, darkGreen,
# blue, darkBlue, cyan, darkCyan, magenta, darkMagenta, yellow,
# darkYellow, gray, darkGray, lightGray, please, see
# http://www.w3.org/TR/SVG/types.html#ColorKeywords for a list of
# commonly used colors associated to their rgb value.
#
# A separator might be used between sections of buttons. Its syntax is:
#
# chempadsep%Hexoses & Fucose%[midnightblue]
#
# The color specification (%[midnightblue]) is not compulsory
# General button syntax is like the example below:
#
# chempadkey%hydrate%+H2O1%adds a water molecule%[red,blue]
#
# Each line is divided into 4 compulsory elements:
# 'chempadkey' starts the line
# 'hydrate' is the label of the button
# '+H2O1' is the formula that is applied when the button gets clicked
# 'adds a water molecule' is the text to display in the tooltip
# '[red,blue]' are the background and foreground colors, respectively
#
# The colors specification (last %[color,color]) is not compulsory
#
# The geometry is specified by the number of columns of buttons:
# chempad_columns%3 would specify that all the buttons in the
# chemical pad should be laid out using three columns and as
# many rows as necessary to display them all.
chempad_columns%3
chempadgroup%Generic
chempadkey%protonate%+H1%adds a proton
chempadkey%hydrate%+H2O1%adds a water molecule
chempadkey%0H-ylate%+O1H1%adds an hydroxyl group
chempadkey%acetylate%-H1+C2H3O1%adds an acetyl group
chempadkey%phosphorylate%-H+H2PO3%add a phosphate group
chempadkey%sulfide bond%-H2%oxydizes with loss of hydrogen
|