LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-01-2011, 01:11 PM   #1
LeftFieldMatty
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
How to start up an application invisibly or off the screen?


I'm looking for a way to do either of the following:

1) Start a program to run outside of the dimensions of my X screen (totally off beyond the right of the monitor, for example)

2) Have the window of the program never appear at all (Is there a graphical equivalent of /dev/null?)

I've got a semi solution in which I pass in the argument -geometry 1x1+10000+10000, which makes the window very small and appear in the bottom right of the monitor, but I'm looking for a little cleaner solution.

Thanks

-LFM
 
Old 12-01-2011, 02:31 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
xvfb (X Virtual Frame Buffer) is designed to do this kind of background/headless processing.

This page has an example:
http://www.sara.nl/systems/lisa/usage/batch/xvfb-jobs
 
Old 12-01-2011, 04:42 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
What's the purpose? would having it on a different work space work? If you're running kde you could even run it in a different activity. Why wouldn't these be viable options.
 
Old 12-02-2011, 07:44 AM   #4
LeftFieldMatty
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
MensaWater-
Thanks for the tip. I will dig into xvfb.

Knightron-
In brief, the purpose of this is:

I have application X that used to run on computer X. I am moving application X to computer Y, which also runs other applications. The end user needs to see and use application Ys, but it is not desired that the end user sees application X. So I need a way to start app X but not show it.

I have thought about starting it on a different workspace, but alas I haven't figured that out yet. I actually have another thread regarding that very train of thought.
http://www.linuxquestions.org/questi...-gnome-916433/

And I'm using gnome, so KDE is out as an option.


-LFM
 
Old 03-08-2012, 08:59 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Gday mate, i don't know if you're still on LQ, but here's something that i discovered last night that might be helpful. In kde, you can open the application you don't want to be seen; right click on it's title, go to advanced and then to special application settings. Click the 'size and position' tab, and then, tick the 'Desktop' box, then change the setting right next to it; first one to 'force', and then the next one to the desktop the other user will not see.
Doing this will make sure every time that application is opened, it will only open to that desktop. I've the current system set up too, and i remain on the desktop i'm viewing instead of them automatically switching with the opened program; Gimp is the exception.

You say kde is out of the question, well i think this may be kdes window managers ability, so if i'm correct, it may be possible to do as i describe in gnome, using kwin instead of metacity. You can change the window manager in the gconf.
Good luck
 
Old 03-09-2012, 08:05 AM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The OP indicated that they don't want the end user to even know this other application is running. It seems what you are suggesting would need to be done on the end user's display initially. It also seems rather complicated given that xvfb already exists for the exact purpose the OP described and isn't dependent on either gnome or kde.

I note that he never responded back in this thread or the other one so suspect he solved his problem without updating the thread or marking it resolved.
 
Old 03-09-2012, 08:11 PM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
I assumed the op would know how to start cron jobs, and that the desired application would be opened that way. I just trying to be as helpful as i could; i'd never heard of xvfb. I just did some reading on it, and from a quick browse, it seems like that would be the way to go about this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is nautilus meant to run continuously, invisibly? lugoteehalt Debian 2 07-31-2011 09:25 PM
How to start application when linux(ubuntu/debian) start ersek Linux - General 4 05-28-2009 12:19 PM
fullscreen application and dual-screen: selecting which which screen to use silex_88 Ubuntu 3 10-19-2006 07:51 PM
How to start an application when the fedora start ivonne Fedora 9 11-12-2004 01:40 PM
How to start a application with full-screen ?? jpan Linux - General 7 09-15-2004 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration