mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Merge branch 'master' into autotools-conversion
This commit is contained in:
commit
8f2fe85639
5 changed files with 14 additions and 42 deletions
|
@ -1,18 +0,0 @@
|
|||
This is another method to setup an xsession which allows you to execute
|
||||
commads before the CDE Xsession gets executed.
|
||||
This alternate method is useful when for example you need to
|
||||
set a different language.
|
||||
|
||||
In this example we
|
||||
1. have the login manager execute /usr/dt/bin/startxsession.sh script
|
||||
2. The /usr/dt/bin/startxsession.sh first sets properly the LANG variable
|
||||
(or you can add whatever you want to execute before CDE Xsession starts)
|
||||
and then executes /usr/dt/bin/Xsession which will start CDE.
|
||||
|
||||
To install, after you edit the startxsession.sh to your liking, do as root:
|
||||
|
||||
cp /path/to/cdesktopenv-code/cde/contrib/desktopentry/cde-alt.desktop /usr/share/xsessions/
|
||||
cp /path/to/cdesktopenv-code/cde/contrib/desktopentry/startxsession.sh /usr/dt/bin/
|
||||
chmod ugo+rx /usr/dt/bin/startxsession.sh
|
||||
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=CDE
|
||||
Comment=Use this session to boot into the Common Desktop Environment
|
||||
Keywords=Common Desktop Environment
|
||||
Exec=/usr/dt/bin/startxsession.sh
|
||||
Icon=Dtlogo.pm
|
||||
Type=Application
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
export PATH=$PATH:/usr/dt/bin
|
||||
export LANG=el_GR.UTF-8
|
||||
/usr/dt/bin/Xsession
|
||||
|
|
@ -6,4 +6,7 @@ https://standards.freedesktop.org/desktop-entry-spec/latest
|
|||
It is the opposite style to contrib/desktop2dt that takes desktop files and
|
||||
converts them for use with dtlogin.
|
||||
|
||||
It does not yet support language/login in other than English/C locale.
|
||||
Language selection is the job of the login manager (xdm, dtlogin, kdm,
|
||||
etc).
|
||||
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ static int Text_Widget(
|
|||
int argc,
|
||||
char *argv[]) ;
|
||||
static int Text_VarAndWidget(
|
||||
int (*func)(Widget w),
|
||||
long (*func)(Widget w),
|
||||
Boolean varIsString,
|
||||
int argc,
|
||||
char *argv[]) ;
|
||||
|
@ -1301,7 +1301,7 @@ do_DtHelpReturnSelectedWidgetId(
|
|||
return(1);
|
||||
}
|
||||
|
||||
res = DtHelpReturnSelectedWidgetId(w->w, NULL, &retWidget);
|
||||
res = DtHelpReturnSelectedWidgetId(w->w, 0, &retWidget);
|
||||
XSync(XtDisplay(w->w), False);
|
||||
|
||||
f.addr = (caddr_t)&res;
|
||||
|
@ -3959,7 +3959,7 @@ do_XmTextRemove(
|
|||
|
||||
static int
|
||||
Text_VarAndWidget(
|
||||
int (*func)(Widget w),
|
||||
long (*func)(Widget w),
|
||||
Boolean varIsString,
|
||||
int argc,
|
||||
char *argv[] )
|
||||
|
@ -4008,7 +4008,7 @@ do_XmTextGetTopCharacter(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget((int (*)())XmTextGetTopCharacter, False, argc,
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetTopCharacter, False, argc,
|
||||
argv));
|
||||
}
|
||||
|
||||
|
@ -4018,7 +4018,7 @@ do_XmTextGetBaseline(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget(XmTextGetBaseline, False, argc, argv));
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetBaseline, False, argc, argv));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4027,7 +4027,7 @@ do_XmTextGetInsertionPosition(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget((int (*)())XmTextGetInsertionPosition, False,
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetInsertionPosition, False,
|
||||
argc, argv));
|
||||
}
|
||||
|
||||
|
@ -4037,7 +4037,7 @@ do_XmTextGetLastPosition(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget((int (*)())XmTextGetLastPosition, False, argc,
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetLastPosition, False, argc,
|
||||
argv));
|
||||
}
|
||||
|
||||
|
@ -4047,7 +4047,7 @@ do_XmTextGetMaxLength(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget(XmTextGetMaxLength, False, argc, argv));
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetMaxLength, False, argc, argv));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4056,7 +4056,7 @@ do_XmTextGetSelection(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget((int (*)())XmTextGetSelection, True, argc, argv));
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetSelection, True, argc, argv));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4065,7 +4065,7 @@ do_XmTextGetString(
|
|||
int argc,
|
||||
char *argv[] )
|
||||
{
|
||||
return (Text_VarAndWidget((int (*)())XmTextGetString, True, argc, argv));
|
||||
return (Text_VarAndWidget((long (*)())XmTextGetString, True, argc, argv));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue