Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After /etc/gdm/custom.conf modification. I want to startup in full screen my application such as IDE or Kiosk apps. Without showing up Gnome desktop taskbar etc.

How can I do that in my Fedora 15? I have tried such as this but did not worked.

vi /etc/rc.local
java -jar /tmp/myapplication.jar --fullscreenkiosk
share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

First, create a script that starts only what you want, and put it in an appropriate location like /usr/local/bin. For instance, this script starts the Metacity window manager (you'll experience some difficulties if you don't run at least a window manager) and Eclipse. (There are some fancier things you can do, for instance in this example I showed how to restart the program if it is exited.)

/usr/local/bin/eclipse-kiosk.sh:

#!/bin/sh

metacity &
eclipse

Then, make it executable by running chmod +x /usr/local/bin/eclipse-kiosk.sh. Now, create a desktop file for it in /usr/share/xsessions.

/usr/share/xsessions/eclipse-kiosk.desktop:

[Desktop Entry]
Type=XSession
Exec=/usr/local/bin/eclipse-kiosk.sh
TryExec=/usr/local/bin/eclipse-kiosk.sh
Name=Eclipse Kiosk

Now, Eclipse Kiosk will appear in the GDM sessions menu and GDM can be configured to log in using it however you want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.