Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-15-2009, 04:59 PM   #1
LQ Newbie
Registered: Nov 2008
Location: tx
Posts: 1

Rep: Reputation: 0
How can I have a program open with the window above all others

I have been searching all day and can not find a thing on this problem. I am writing a script (in tcsh) that is initializing a program (specifically kuickshow in the kde environment) in the background. What I want is for that program to open up on top of all other windows (IOW with the ">Advanced->Keep Above Others" flag set (Actually I would prefer that, along with the ">To Desktop->All Desktops" flag set - but I'll take what I can get). Or at least pass the focus to the new window through the script, so rises to the top layer.

the -geometry flag doesn't help, for one it's opening a specific .jpg file and the geometry command apparently gets overwritten by the file size. But even if I could change the size or even make it go full screen, it still comes up behind the other windows. It's designed to be an alarm - but it's not much good if it's hidden when it comes up.

Anyone know how to commnad the layers of the system in a command line?

Old 10-15-2009, 05:39 PM   #2
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Some WM's might have a way to access the WM api from the command line. Kwin had dcop (and now supposedly dcop) for that, though I have no idea if that concrete functionality is accessible or not, but you could investigate along those lines.

Fvwm -which I use- lets you to do so without problems using the FvwmCommand module, that could be used from any scripting or programming language.

In other WM's you might want to investigate other tools, maybe wmctrl or devilspie can do this, but I am not sure at all.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Firefox - can't open second window/dupe a tab to a new window. Used to work. GrapefruiTgirl Linux - Desktop 4 06-24-2009 08:27 PM
Metacity: when a program spawns a new window, that window is not in foreground. why? BrianK Linux - General 1 12-18-2008 05:50 AM
!! Problem !! Minimizing ANY window EXITS the Program / Browser window NOoBuntuLinux Linux - Newbie 6 11-20-2008 02:32 PM
how do i open a session window in gnome in order to install a program. sleekmason Linux - Newbie 3 03-27-2006 03:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

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