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 08-03-2015, 09:39 PM   #1
bradonomics
LQ Newbie
 
Registered: Aug 2015
Location: Alabama, USA
Posts: 11

Rep: Reputation: Disabled
Are Program Windows Self Controlled or OS Controlled?


Are third-party program windows self controlled or are they controlled by the OS?

I can't think of a better way to ask that so here is an example:

I've got Chrome open, when I click on an HTML file instead of opening the existing window, a new browser window will open. Is this Chrome's doing or is Linux telling it to open a new window?

I'm running Ubuntu 14.04 with Cinnamon desktop 2.6.12, but I feel like this is likely a general Linux question that would apply across distros/desktops.
 
Old 08-04-2015, 05:52 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by bradonomics View Post
I've got Chrome open, when I click on an HTML file instead of opening the existing window, a new browser window will open. Is this Chrome's doing or is Linux telling it to open a new window?
that is chrome's doing.
however, it couldn't do so if the windowmanager wouldn't allow it.
 
Old 08-04-2015, 02:27 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
As above it's the browser but not just the Chrome browser, it is also generally an option or choice of action on almost every browser.

Their actions are not at all similar to other programs you might use.
 
Old 08-04-2015, 02:53 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Chrome does it, but it does it by telling lower layers (including X) to open the window. The window manager decides where the window goes.
 
Old 08-05-2015, 03:15 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Maybe the OP was thinking that chrome program supplied it's window manager? Programs that run in a gui or window manager as we know it must be able to access the underlying gui be it x or gtk or gnome or cde or what not to run. A few can run a sort of gui in bash or other ways but not exactly like chrome does.
 
  


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
Can linux be remotely controlled by the NSA TPM chip like windows linuz4life Linux - Newbie 13 10-03-2013 12:43 AM
MPlayer TV sound not controlled pappaninani Linux - Software 0 06-23-2011 06:20 AM
How i can know if my pc is controlled of other people Nejad General 8 10-29-2007 08:31 AM
How i can know if my pc is controlled of other people Nejad General 2 10-29-2007 08:25 AM
my redhat9 pc controlled by other PC chris68 Linux - Security 1 10-16-2004 08:45 PM

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

All times are GMT -5. The time now is 03:27 AM.

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