patches/gdm-01-branding-defaults-solaris.diff
author gf115653
Mon, 12 Jun 2006 09:01:41 +0000
changeset 7430 c1d3a727a2a0
parent 7390 05340a2dfa81
child 7470 84b78b8b3adc
permissions -rw-r--r--
2006-06-12 Glynn Foster <[email protected]> * patches/gdm-01-branding-defaults-solaris.diff: Fix the OpenSolaris session strings, fixing #6433553.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     1
diff -ru ../gdm-2.14.6/config/Xsession.in gdm-2.14.6/config/Xsession.in
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     2
--- ../gdm-2.14.6/config/Xsession.in	2006-05-22 12:06:01.384065000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     3
+++ gdm-2.14.6/config/Xsession.in	2006-05-22 12:12:16.800423000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     4
@@ -84,7 +84,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     5
   else
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     6
     echo "$0: Starting the failsafe xterm session."
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     7
   fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     8
-  exec xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     9
+  exec ctrun -l child -i none xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    10
 fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    11
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    12
 # Note: ~/.xsession-errors is now done in the daemon so that it
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    13
@@ -235,7 +235,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    14
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    15
 echo "$0: Setup done, will execute: $command"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    16
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    17
-eval exec $command
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    18
+eval exec ctrun -l child -i none $command
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    19
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    20
 echo "$0: Executing $command failed, will run xterm"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    21
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    22
@@ -244,4 +244,4 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    23
 	"$zenity" --info --text "$disptext"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    24
 fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    25
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    26
-exec xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    27
+exec ctrun -l child -i none xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    28
diff -ru ../gdm-2.14.6/config/gnome.desktop.in gdm-2.14.6/config/gnome.desktop.in
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    29
--- ../gdm-2.14.6/config/gnome.desktop.in	2006-05-22 12:06:01.383674000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    30
+++ gdm-2.14.6/config/gnome.desktop.in	2006-05-22 12:12:16.798993000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    31
@@ -1,8 +1,8 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    32
 [Desktop Entry]
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    33
 Encoding=UTF-8
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    34
-_Name=GNOME
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    35
-_Comment=This session logs you into GNOME
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    36
-Exec=gnome-session
7430
c1d3a727a2a0 2006-06-12 Glynn Foster <[email protected]>
gf115653
parents: 7390
diff changeset
    37
+_Name=OpenSolaris GNOME Desktop
c1d3a727a2a0 2006-06-12 Glynn Foster <[email protected]>
gf115653
parents: 7390
diff changeset
    38
+_Comment=This session logs you into the OpenSolaris GNOME Desktop
7375
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
    39
+Exec=ctrun -l child -i none /usr/dt/config/Xsession.jds
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    40
 TryExec=gnome-session
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    41
 # no icon yet, only the top three are currently used
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    42
 Icon=
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    43
diff -ru ../gdm-2.14.6/configure.ac gdm-2.14.6/configure.ac
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    44
--- ../gdm-2.14.6/configure.ac	2006-05-22 12:06:01.496662000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    45
+++ gdm-2.14.6/configure.ac	2006-05-22 12:12:16.802731000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    46
@@ -966,7 +966,7 @@
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    47
 elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    48
    X_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    49
    X_SERVER_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    50
-   X_SERVER="/usr/X11/bin/X"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    51
+   X_SERVER="/usr/X11/bin/Xserver"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    52
    GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    53
    X_CONFIG_OPTIONS="-audit 0"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    54
 elif test -x /usr/X11R6/bin/X; then
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    55
@@ -978,7 +978,7 @@
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    56
 elif test -x /usr/X11/bin/X; then
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    57
    X_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    58
    X_SERVER_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    59
-   X_SERVER="/usr/X11/bin/X"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    60
+   X_SERVER="/usr/X11/bin/X/Xserver"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    61
    GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    62
    X_CONFIG_OPTIONS="-audit 0"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    63
 elif test -x /usr/openwin/bin/Xsun; then
7311
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    64
--- gdm-2.14.7/config/gdm.conf.in-orig	2006-05-23 15:14:20.348352000 -0500
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    65
+++ gdm-2.14.7/config/gdm.conf.in	2006-05-23 15:15:13.326816000 -0500
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    66
@@ -61,7 +61,7 @@ TimedLoginDelay=30
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    67
 
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    68
 # The greeter for local (non-xdmcp) logins.  Change gdmlogin to gdmgreeter to
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    69
 # get the new graphical greeter.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    70
-#Greeter=@libexecdir@/gdmlogin
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    71
+Greeter=@libexecdir@/gdmgreeter
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    72
 
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    73
 # The greeter for xdmcp logins, usually you want a less graphically intensive
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    74
 # greeter here so it's better to leave this with gdmlogin
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    75
@@ -87,7 +87,7 @@ TimedLoginDelay=30
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    76
 # If you are having trouble with using a single server for a long time and want
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    77
 # GDM to kill/restart the server, turn this on.  On Solaris, this value is
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    78
 # always true and this configuration setting is ignored.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    79
-#AlwaysRestartServer=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    80
+AlwaysRestartServer=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    81
 
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    82
 # User and group used for running GDM GUI applicaitons.  By default this is set
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    83
 # to user "gdm" and group "gdm".  This user/group should have very limited
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    84
@@ -226,7 +226,7 @@ CheckDirOwner=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    85
 # Note: Anytime we find a -query or -indirect on the command line we do not add
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    86
 # a "-nolisten tcp", as then the query just wouldn't work, so this setting only
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    87
 # affects truly local sessions.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    88
-#DisallowTCP=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    89
+DisallowTCP=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    90
 # By default never place cookies if we "detect" NFS.  We detect NFS by
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    91
 # detecting "root-squashing".  It seems bad practice to place cookies on things
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    92
 # that go over the network by default and thus we do not do it by default.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    93
@@ -285,10 +285,10 @@ Enable=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    94
 # The specific gtkrc file we use.  It should be the full path to the gtkrc that
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    95
 # we need.  Unless you need a specific gtkrc that doesn't correspond to a
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    96
 # specific theme, then just use the GtkTheme key.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    97
-#GtkRC=@datadir@/themes/Default/gtk-2.0/gtkrc
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    98
+GtkRC=/usr/share/themes/nimbus/gtk-2.0/gtkrc
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
    99
 
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   100
 # The GTK+ theme to use for the GUI.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   101
-#GtkTheme=Default
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   102
+GtkTheme=nimbus
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   103
 # If to allow changing the GTK+ (widget) theme from the greeter.  Currently
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   104
 # this only affects the standard greeter as the graphical greeter does not yet
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   105
 # have this ability.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   106
@@ -370,7 +370,7 @@ Browser=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   107
 # menu that contains reboot, shutdown, suspend, config and chooser.  None of
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   108
 # these is available if this is off.  They can be turned off individually
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   109
 # however.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   110
-#SystemMenu=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   111
+SystemMenu=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   112
 # Configuration is available from the system menu of the greeter.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   113
 #ConfigAvailable=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   114
 # Should the chooser button be shown.  If this is shown, GDM can drop into
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   115
@@ -406,8 +406,8 @@ DefaultRemoteWelcome=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   116
 # The Standard greeter (gdmlogin) uses BackgroundColor as the background
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   117
 # color, while the themed greeter (gdmgreeter) uses GraphicalThemedColor
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   118
 # as the background color.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   119
-BackgroundColor=#76848F
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   120
-GraphicalThemedColor=#76848F
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   121
+BackgroundColor=#35556b
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   122
+GraphicalThemedColor=#35556b
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   123
 # XDMCP session should only get a color, this is the sanest setting since you
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   124
 # don't want to take up too much bandwidth
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   125
 #BackgroundRemoteOnlyColor=true
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   126
@@ -448,8 +448,8 @@ GraphicalThemedColor=#76848F
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   127
 # list then provide a list that is delimited by /: to the GraphicalThemes
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   128
 # key and set GraphicalThemeRand to true.  Otherwise use GraphicalTheme
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   129
 # and specify just one theme.
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   130
-#GraphicalTheme=circles
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   131
-#GraphicalThemes=circles/:happygnome
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   132
+GraphicalTheme=Sun-Nimbus
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   133
+GraphicalThemes=Sun-Nimbus/:circles/:happygnome
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   134
 GraphicalThemeDir=@datadir@/gdm/themes/
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   135
 GraphicalThemeRand=false
787468805d33 2006-05-23 Brian Cameron <[email protected]>
bc99092
parents: 7306
diff changeset
   136
 
7375
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   137
--- gdm-2.14.7/config/CDE.desktop.in-orig	2006-06-05 23:40:03.552332000 -0500
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   138
+++ gdm-2.14.7/config/CDE.desktop.in	2006-06-05 23:40:22.579644000 -0500
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   139
@@ -2,7 +2,7 @@
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   140
 Encoding=UTF-8
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   141
 _Name=CDE
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   142
 _Comment=This session logs you into CDE
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   143
-Exec=/usr/dt/bin/Xsession
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   144
+Exec=ctrun -l child -i none /usr/dt/bin/Xsession
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   145
 # no icon yet, only the top three are currently used
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   146
 Icon=
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   147
 Type=Application
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   148
--- gdm-2.14.7/daemon/slave.c-orig	2006-06-05 23:40:33.389283000 -0500
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   149
+++ gdm-2.14.7/daemon/slave.c	2006-06-05 23:43:34.281067000 -0500
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   150
@@ -3363,6 +3363,8 @@ session_child_run (struct passwd *pwent,
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   151
 #else
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   152
 	char *argv[7];
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   153
 #endif
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   154
+	char **argv2;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   155
+	gchar *ctrun;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   156
 
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   157
 #ifdef CAN_USE_SETPENV
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   158
 	extern char **newenv;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   159
@@ -3862,7 +3864,17 @@ session_child_run (struct passwd *pwent,
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   160
 	}
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   161
 #endif
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   162
 
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   163
-	VE_IGNORE_EINTR (execv (argv[0], argv));
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   164
+	ctrun = g_strdup_printf ("/bin/sh -c \"ctrun -l child -i none %s %s %s %s %s %s %s\"",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   165
+		argv[0] ? argv[0] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   166
+		argv[1] ? argv[1] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   167
+		argv[2] ? argv[2] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   168
+		argv[3] ? argv[3] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   169
+		argv[4] ? argv[4] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   170
+		argv[5] ? argv[5] : "",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   171
+		argv[6] ? argv[6] : "");
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   172
+	argv2 = ve_split (ctrun);
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   173
+
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   174
+	VE_IGNORE_EINTR (execv (argv2[0], argv2));
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   175
 
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   176
 	/* will go to .xsession-errors */
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   177
 #ifdef HAVE_TSOL
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   178
@@ -5186,7 +5198,7 @@ gdm_slave_exec_script (GdmDisplay *d, co
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   179
 		       struct passwd *pwent, gboolean pass_stdout)
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   180
 {
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   181
     pid_t pid;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   182
-    char *script;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   183
+    char *script, *ctrun;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   184
     gchar **argv;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   185
     gint status;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   186
     char *x_servers_file;
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   187
@@ -5313,7 +5325,11 @@ gdm_slave_exec_script (GdmDisplay *d, co
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   188
 	if ( ! ve_string_empty (d->theme_name))
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   189
 		g_setenv ("GDM_GTK_THEME", d->theme_name, TRUE);
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   190
 	g_unsetenv ("MAIL");
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   191
-	argv = ve_split (script);
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   192
+
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   193
+	ctrun = g_strdup_printf ("/bin/sh -c \"ctrun -l child -i none %s\"",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   194
+		script);
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   195
+	argv = ve_split (ctrun);
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   196
+
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   197
 	VE_IGNORE_EINTR (execv (argv[0], argv));
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   198
 	syslog (LOG_ERR, _("%s: Failed starting: %s"), "gdm_slave_exec_script",
dd6bce4363fb Adding this change mentioned in my last commit, but didn't get included.
bc99092
parents: 7311
diff changeset
   199
 		script);
7390
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   200
--- gdm-2.14.8/gui/modules/AccessDwellMouseEvents.in-orig	2006-06-07 16:58:51.873778000 -0500
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   201
+++ gdm-2.14.8/gui/modules/AccessDwellMouseEvents.in	2006-06-07 16:59:51.598215000 -0500
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   202
@@ -15,7 +15,7 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   203
 #   that the initial crossing is a motion In or Out of the window.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   204
 # 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   205
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   206
-# TBLR I 10000    @AT_BINDIR@/gok --login --access-method=dwellselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   207
+# TBLR I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=dwellselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   208
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   209
 # Means the user crosses into the top border, out the bottom border, into the left
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   210
 # border, and then out the right border (in that order).  The initial_direction
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   211
@@ -30,24 +30,24 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   212
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   213
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   214
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   215
-# <Add>           @AT_BINDIR@/gnome-mag
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   216
+# <Add>           /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gnome-mag"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   217
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   218
 # GNOME On-Screen Keyboard - support several different options for different
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   219
 # user needs.  Note these gestures all start by moving the mouse into the top
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   220
 # window border.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   221
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   222
-TBLR I 10000    @AT_BINDIR@/gok --login --access-method=dwellselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   223
-TLBR I 10000    @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   224
-TRBL I 10000    @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   225
-TBRL I 10000    @AT_BINDIR@/gok --login  --access-method=automaticscanning --scan-action=switch3 --select-action=switch3
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   226
+TBLR I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=dwellselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   227
+TLBR I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   228
+TRBL I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   229
+TBRL I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login  --access-method=automaticscanning --scan-action=switch3 --select-action=switch3"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   230
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   231
 # Gnopernicus.  Note these gestures all start by moving the mouse into the
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   232
 # bottom window border.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   233
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   234
 # Speech
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   235
-BTRL I 10000    @AT_BINDIR@/srcore --login --enable-speech
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   236
+BTRL I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login --enable-speech"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   237
 # Magnifier
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   238
-BTLR I 10000    @AT_BINDIR@/srcore --login --enable-magnifier --disable-speech --disable-braille
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   239
+BTLR I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login --enable-magnifier --disable-speech --disable-braille"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   240
 # Speech and Magnifier
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   241
-BRTL I 10000    @AT_BINDIR@/srcore --login
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   242
+BRTL I 10000    /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   243
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   244
--- gdm-2.14.8/gui/modules/AccessKeyMouseEvents.in-orig	2006-06-07 17:00:02.882131000 -0500
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   245
+++ gdm-2.14.8/gui/modules/AccessKeyMouseEvents.in	2006-06-07 17:01:09.581323000 -0500
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   246
@@ -15,7 +15,7 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   247
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   248
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   249
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   250
-# <Control>k  5 1000 10000  @AT_BINDIR@/gok --login --access-method=directselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   251
+# <Control>k  5 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=directselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   252
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   253
 # Means press Contol-k 5 times, holding each keypress down for at least 1000ms
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   254
 # each time and with no greater interval than 10000ms between each event in the
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   255
@@ -26,8 +26,8 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   256
 # otherwise the sequence will be lost.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   257
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   258
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   259
-# Shift_L  5 1000 10000  @AT_BINDIR@/gok --login --access-method=directselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   260
-# Shift_R  5 1000 10000  @AT_BINDIR@/gok --login --access-method=directselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   261
+# Shift_L  5 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=directselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   262
+# Shift_R  5 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=directselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   263
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   264
 # Will start gok if you press either shift key 5 times holding it down for more
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   265
 # then 1 second each time.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   266
@@ -39,7 +39,7 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   267
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   268
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   269
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   270
-# <Mouse2>  4 3000 6000  @AT_BINDIR@/gnopernicus
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   271
+# <Mouse2>  4 3000 6000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gnopernicus"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   272
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   273
 # Note that mouse numbers are 1-based so <Mouse1> is the left mouse button,
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   274
 # <Mouse3> is the right mouse button and <Mouse2> is the middle mouse button.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   275
@@ -51,27 +51,27 @@
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   276
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   277
 # e.g.
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   278
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   279
-# <Add>  @AT_BINDIR@/gnome-mag
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   280
+# <Add>  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gnome-mag"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   281
 #
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   282
 # Note that pressing any other keys 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   283
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   284
 # current:
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   285
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   286
 # hold right or left mouse button 3 times for 3 seconds each time
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   287
-<Mouse1> 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   288
+<Mouse1> 3 3000 10000 /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=directselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   289
 # we add the right mouse button as it may be the left mouse button
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   290
 # for a left handed user
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   291
-<Mouse3> 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   292
+<Mouse3> 3 3000 10000 /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=directselection"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   293
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   294
-<Switch1> 1 5000 0 @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   295
-<Switch2> 3 50 3000 @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   296
-<Switch3> 3 1000 10000 @AT_BINDIR@/gok --login  --access-method=automaticscanning --scan-action=switch3 --select-action=switch3
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   297
+<Switch1> 1 5000 0 /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   298
+<Switch2> 3 50 3000 /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   299
+<Switch3> 3 1000 10000 /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/gok --login  --access-method=automaticscanning --scan-action=switch3 --select-action=switch3"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   300
 
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   301
 # press ctrl-s for 1 second to launch gnopernicus speech
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   302
 # gnopernicus, speech mode
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   303
-<Control>s  1 1000 10000  @AT_BINDIR@/srcore --login --enable-speech
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   304
+<Control>s  1 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login --enable-speech"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   305
 # press ctrl-m for 1 second to launch gnopernicus magnifier
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   306
-<Control>m  1 1000 10000  @AT_BINDIR@/srcore --login --enable-magnifier --disable-speech --disable-braille
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   307
+<Control>m  1 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login --enable-magnifier --disable-speech --disable-braille"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   308
 # press ctrl-g for 1 second to launch both gnopernicus speech and magnifier
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   309
-<Control>g  1 1000 10000  @AT_BINDIR@/srcore --login
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   310
+<Control>g  1 1000 10000  /bin/sh -c "ctrun -l child -i none @AT_BINDIR@/srcore --login"
05340a2dfa81 2006-06-08 Brian Cameron <[email protected]>
bc99092
parents: 7375
diff changeset
   311