16 OS/2 to Linux Client Transition
The file is broken into separate sections using square brackets. The KDE section
shown in the following example specifies how the desktop interacts with its icons,
the mouse, and the color scheme in use. Most values can be changed using the
variables true or false.
[KDE]
SingleClick=false
ShowIconsOnPushButtons=true
AntiAliasing=true
ChangeCursor=false
DoubleClickInterval=400
colorScheme=Bluecurve.kcsrc
contrast=1
macStyle=false
The General section shown in the following example is used to configure such
items as the fonts in use on the desktop and the colors used in windows and
folders. Items in the General section that deal with colors are configured based
on the RGB color format which is also used in OS/2.
[General]
widgetStyle=Bluecurve
alternateBackground=240,240,240
background=230,230,230
buttonBackground=230,230,230
buttonForeground=0,0,0
foreground=0,0,0
linkColor=0,0,192
selectBackground=76,89,166
selectForeground=255,255,255
visitedLinkColor=128,0,128
widgetStyle=Bluecurve
windowBackground=255,255,255
windowForeground=0,0,0
fixed=Monospace,10,-1,5,50,0,0,0,1,0
font=Sans,10,-1,5,50,0,0,0,0,0
menuFont=Sans,10,-1,5,50,0,0,0,0,0
taskbarFont=Sans,10,-1,5,50,0,0,0,0,0
toolBarFont=Sans,10,-1,5,50,0,0,0,0,0
A second kdeglobals file is created the first time a user logs in to the KDE
environment. This is placed in the user’s home directory and is created the first
time they log on the KDE desktop. For example, user Fiona’s second kdeglobals
file is in the location /home/fiona/.kde/share/config/kdeglobals.
This second kdeglobals file allows for the configuration of extra variables that are
not included in the first kdeglobals file. Example 2-3 shows the default file
created when our user first logs on.
Chapter 2. Platform considerations 17
Example 2-3 Default user-specific kdeglobals file
[$Version]
update_info=kded.upd:kde3.0,kaccel.upd:kde3.1/r3,klippershortcuts.upd:04112002,
socks.upd:kde3.0/r1
[Desktops]
Name_1=
Name_2=
Name_3=
Name_4=
Number=4
[Global Shortcuts]
Desktop Screenshot=default(Ctrl+Print)
Enable/Disable Clipboard Actions=default(Alt+Ctrl+X)
Halt Computer=default(Alt+Ctrl+PageDown)
Halt without Confirmation=none
Kill Window=default(Alt+Ctrl+Escape)
Lock Screen=default(Alt+Ctrl+L)
Logout=default(Alt+Ctrl+Delete)
Logout without Confirmation=default(Alt+Ctrl+Shift+Delete)
Manually Invoke Action on Current Clipboard=default(Alt+Ctrl+R)
Mouse Emulation=default(Alt+F12)
Popup Launch Menu=default(Alt+F1)
Reboot Computer=default(Alt+Ctrl+PageUp)
Reboot without Confirmation=none
Run Command=default(Alt+F2)
Show Klipper Popup-Menu=default(Alt+Ctrl+V)
Show Taskmanager=default(Ctrl+Escape)
Show Window List=default(Alt+F5)
Switch One Desktop Down=none
Switch One Desktop Up=none
Switch One Desktop to the Left=none
Switch One Desktop to the Right=none
Switch to Desktop 1=default(Ctrl+F1)
Switch to Desktop 10=default(Ctrl+F10)
Switch to Desktop 11=default(Ctrl+F11)
Switch to Desktop 12=default(Ctrl+F12)
Switch to Desktop 13=default(Ctrl+Shift+F1)
Switch to Desktop 14=default(Ctrl+Shift+F2)
Switch to Desktop 15=default(Ctrl+Shift+F3)
Switch to Desktop 16=default(Ctrl+Shift+F4)
Switch to Desktop 2=default(Ctrl+F2)
Switch to Desktop 3=default(Ctrl+F3)
Switch to Desktop 4=default(Ctrl+F4)
Switch to Desktop 5=default(Ctrl+F5)
18 OS/2 to Linux Client Transition
Switch to Desktop 6=default(Ctrl+F6)
Switch to Desktop 7=default(Ctrl+F7)
Switch to Desktop 8=default(Ctrl+F8)
Switch to Desktop 9=default(Ctrl+F9)
Switch to Next Desktop=none
Switch to Next Keyboard Layout=default(Alt+Ctrl+K)
Switch to Previous Desktop=none
Toggle Showing Desktop=default(Alt+Ctrl+D)
Toggle Window Raise/Lower=none
Walk Through Desktop List=default(Ctrl+Tab)
Walk Through Desktop List (Reverse)=default(Ctrl+Shift+Tab)
Walk Through Desktops=none
Walk Through Desktops (Reverse)=none
Walk Through Windows=default(Alt+Tab)
Walk Through Windows (Reverse)=default(Alt+Shift+Tab)
Window Close=default(Alt+F4)
Window Iconify=none
Window Lower=none
Window Maximize=none
Window Maximize Horizontal=none
Window Maximize Vertical=none
Window Move=none
Window Operations Menu=default(Alt+F3)
Window Raise=none
Window Resize=none
Window Screenshot=default(Alt+Print)
Window Shade=none
Window to Desktop 1=none
Window to Desktop 10=none
Window to Desktop 11=none
Window to Desktop 12=none
Window to Desktop 13=none
Window to Desktop 14=none
Window to Desktop 15=none
Window to Desktop 16=none
Window to Desktop 2=none
Window to Desktop 3=none
Window to Desktop 4=none
Window to Desktop 5=none
Window to Desktop 6=none
Window to Desktop 7=none
Window to Desktop 8=none
Window to Desktop 9=none
Window to Next Desktop=none
Window to Previous Desktop=none
[Paths]
Trash=$HOME/Desktop/Trash/
one
Chapter 2. Platform considerations 19
Switch to Next Keyboard Layout=default(Alt+Ctrl+K)
Switch to Previous Desktop=none
Toggle Showing Desktop=default(Alt+Ctrl+D)
Toggle Window Raise/Lower=none
Walk Through Desktop List=default(Ctrl+Tab)
Walk Through Desktop List (Reverse)=default(Ctrl+Shift+Tab)
Walk Through Desktops=none
Walk Through Desktops (Reverse)=none
Walk Through Windows=default(Alt+Tab)
Walk Through Windows (Reverse)=default(Alt+Shift+Tab)
Window Close=default(Alt+F4)
Window Iconify=none
Window Lower=none
Window Maximize=none
Window Maximize Horizontal=none
Window Maximize Vertical=none
Window Move=none
Window Operations Menu=default(Alt+F3)
Window Raise=none
Window Resize=none
Window Screenshot=default(Alt+Print)
Window Shade=none
Window to Desktop 1=none
Window to Desktop 10=none
Window to Desktop 11=none
Window to Desktop 12=none
Window to Desktop 13=none
Window to Desktop 14=none
Window to Desktop 15=none
Window to Desktop 16=none
Window to Desktop 2=none
Window to Desktop 3=none
Window to Desktop 4=none
Window to Desktop 5=none
Window to Desktop 6=none
Window to Desktop 7=none
Window to Desktop 8=none
Window to Desktop 9=none
Window to Next Desktop=none
Window to Previous Desktop=none
[Paths][$i]
Trash=$HOME/Desktop/Trash/
This second kdeglobals file allows the user or an administrator to configure
virtual desktops and keyboard shortcuts used within KDE. Some examples are
shown in the following discussion.

Get OS/2 to Linux Client Transition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.