Run X app without a window

0

Is it possible to run a program that usually displays a window without showing one? I want to run empathy in gnome shell but if I exit the app, it kills the process.

vanjoe

Posted 2012-02-24T03:36:13.277

Reputation: 115

1Not quite get your meaning.. – Sam Liao – 2012-02-24T04:03:41.567

basically I want a way to make an arbitrary application run without opening a window. – vanjoe – 2012-02-24T06:31:50.140

Arbitrary app? I don't think so. Maybe kill the X server but then some apps will exit because it is considered (and justifiably so) an unrecoverable error. Why can't you just minimize the window? – Peon – 2012-02-24T07:29:21.363

Answers

0

Do this:

~ $ Xvfb :1 &
~ $ DISPLAY=:1 empathy &
~ $ ps

If everything went as expected, you should now see a process listing containing your empathy process.

Note: I don't have Gnome or empathy available on any boxes right now, so I don't know how well empathy likes being in a vfb. Works splendidly for xdvi, though.

Eroen

Posted 2012-02-24T03:36:13.277

Reputation: 5 615

Possible that this works, i couldn't figure out how to get xvfb, i did apt-get install xvfb on Mint, but it still said command not found. Oh well, in the time between asking this question and now this has become far less important to me, perhaps because I have less school work that I should be doing. – vanjoe – 2012-02-26T20:57:37.790

Pardon my misspelling, the X in Xvfb should be uppercase. – Eroen – 2012-02-26T22:09:53.433