Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 942711 Details for
Bug 1147905
DESKTOP=MATE in file /etc/sysconfig/desktop
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
/etc/X11/xinit/Xclients
Xclients (text/plain), 2.26 KB, created by
Jean-Claude
on 2014-09-30 13:25:22 UTC
(
hide
)
Description:
/etc/X11/xinit/Xclients
Filename:
MIME Type:
Creator:
Jean-Claude
Created:
2014-09-30 13:25:22 UTC
Size:
2.26 KB
patch
obsolete
>#!/bin/bash ># Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This ># copyrighted material is made available to anyone wishing to use, modify, ># copy, or redistribute it subject to the terms and conditions of the ># GNU General Public License version 2. ># ># You should have received a copy of the GNU General Public License ># along with this program; if not, write to the Free Software ># Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > >GSESSION="$(type -p gnome-session)" >MSESSION="$(type -p mate-session)" >STARTKDE="$(type -p startkde)" >STARTLXDE="$(type -p startlxde)" > ># check to see if the user has a preferred desktop >PREFERRED= >if [ -f /etc/sysconfig/desktop ]; then > . /etc/sysconfig/desktop > if [ "$DESKTOP" = "GNOME" ]; then > PREFERRED="$GSESSION" > elif [ "$DESKTOP" = "MATE" ]; then > PREFERRED="$MSESSION" > elif [ "$DESKTOP" = "KDE" ]; then > PREFERRED="$STARTKDE" > elif [ "$DESKTOP" = "LXDE" ]; then > PREFERRED="$STARTLXDE" > fi >fi > >if [ -n "$PREFERRED" ]; then > exec "$PREFERRED" >fi > ># now if we can reach here, either no desktop file was present, ># or the desktop requested is not installed. > >if [ -n "$GSESSION" ]; then > # by default, we run GNOME. > exec "$GSESSION" >elif [ -n "$STARTKDE" ]; then > # if GNOME isn't installed, try KDE. > exec "$STARTKDE" >elif [ -n "$STARTLXDE" ]; then > # if neither GNOME nor KDE then LXDE > exec "$STARTLXDE" >fi > ># We should also support /etc/X11/xinit/Xclients.d scripts >XCLIENTS_D=/etc/X11/xinit/Xclients.d >if [ "$#" -eq 1 ] && [ -x "$XCLIENTS_D/Xclients.$1.sh" ]; then > exec -l $SHELL -c "$SSH_AGENT $XCLIENTS_D/Xclients.$1.sh" >fi > ># Failsafe. > ># these files are left sitting around by TheNextLevel. >rm -f $HOME/Xrootenv.0 > ># Argh! Nothing good is installed. Fall back to twm >{ > # gosh, neither fvwm95 nor fvwm2 is available; > # fall back to failsafe settings > [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45' > > if [ -x /usr/bin/xclock ] ; then > /usr/bin/xclock -geometry 100x100-5+5 & > fi > if [ -x /usr/bin/xterm ] ; then > /usr/bin/xterm -geometry 80x50-50+150 & > fi > if [ -x /usr/bin/firefox -a -f /usr/share/doc/HTML/index.html ]; then > /usr/bin/firefox /usr/share/doc/HTML/index.html & > fi > if [ -x /usr/bin/twm ] ; then > exec /usr/bin/twm > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1147905
:
942650
| 942711