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.

I've tried starting a full screen application without a window manager, using xinit, which works but instead of starting at the top left of the screen the application starts somewhere in the middle of my screen.

I've tried the same using a custom entry in /usr/share/xsessions and starting that from lightdm instead of the default ubuntu window manager, but that gives me the same result.

I've then added my application to the startup applications of the ubuntu window manager and that works properly... but I don't want to start the entire desktop

So I'm thinking perhaps a simple window manager will allow me to define that my application should start as soon as it is loaded and that as a result it will be displayed full screen and starting at the upper left corner of the screen.

So basically a Window Manager that will allow me to disable everything except my application. (And the background should be completely black by default so that the screen is black until my application has finished loading

share|improve this question

closed as not constructive by Indrek, 8088, Simon Sheehan, Diogo, MaQleod Sep 26 '12 at 23:54

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 2 down vote accepted

There are a lot of different window managers that can do this.

One is Fluxbox.

To set the background to black and start the application at the same time as Fluxbox starts, put e.g.

/usr/bin/fbsetroot -solid black
myapplication &

in ~/.fluxbox/startup before the exec /usr/bin/fluxbox line.

To start the application maximized, see the ~/.fluxbox/apps file. An entry I use to always start a certain application maximized is:

[app] (name=urxvt) (class=URxvt) (title=irssi)
  [Maximized]   {yes}
[end]

The format of these files is aptly documented at the project's homepage and wiki.

Fluxbox is more or less fully stylable through themes. By default it has a task bar, but that is removable in the theme file.

share|improve this answer

-geometry

According to http://en.wikibooks.org/wiki/Guide_to_X11/Window_Managers

One can also use X11 without a window manager. Typically, one writes a session script which starts an "xterm" at a "-geometry" location. Keyboard-oriented users may start a keyboard shortcut daemon like xbindkeys and manage windows through Xresources geometry hints or with tools like xdotool.

See the resources at http://github.com/patrickhaller/no-wm

Perhaps s/xterm/your-app-name/ ?

share|improve this answer

I think that any tiling window manager would do what you describe.

The first that comes to my mind is xmonad, because its default configuration is basically that: black desktop, no window decoration, and a layout that allows you to see your applications maximized by default.

share|improve this answer
    
you're right it doesn't make sense sorry, long day I meant by using xinit directly , no window manager –  TimothyP Sep 26 '12 at 10:29
1  
Ok, I edited :) –  m4573r Sep 26 '12 at 10:32

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