[Solved] Program's windows opens in background.

Hi I have weird problem with my arch. When I run firefox, or opera or chrome or whatever, and I want to open another program (like gnome-terminal, avidemux, xmms, smplayer..or whatever) the window of this program opens in background. I have to click the bottom panel to switch to this program. WTF is going on ? The option "always show on top" is not selected.
Last edited by lgolebio (2010-04-22 19:00:32)

Ofcourse, I forget
Sepc: (everything up to date)
Archlinux 32bit
Gnome 2.30.0-1
laptop dell m1530
Last edited by lgolebio (2010-04-22 18:59:25)

Similar Messages

  • I want to run java program on windows environment as background process

    Hi all
    I want to run java program on windows environment as background processSo command prompt return after executing java command and program on background In Linux we can do this easily �but I do not how to do this in windows
    for example look this programe
    import java.io.*;
    import java.util.*;
    public class TestClass {
         class ravi extends Thread{
              public void run(){
                   try {    
                        String target_file = "ravind.txt";
                        File targetfile = new File(target_file);
                        PrintWriter writer = new PrintWriter(new FileWriter(targetfile)) ;
                   for (int i =0 ; i < 100 ;i++ ){
                        Thread.sleep(10000);
                        writer.println(" ravindra shukla ");
              } catch (Exception e) {               
                             e.printStackTrace();
         public static void main(String[] args) {
              TestClass test1 = new TestClass();
              TestClass.ravi r1 = test1.new ravi();
              r1.start();          
    System.out.println(" return from main ");
    first i compile this
    javac TestClass.java
    then i run this by using this command
    java TestClass
    but becouse i put sleep on threads run function so it takes to much time to get return on command promt .... i want to run this programe as background process so command promt return as soon as i execute java command

    Thanks dude
    This solution �start java TestClass� works fine �. But it does not solve my problem
    It opens another black window and that black window persist till the life time of my program
    Is it possible application run on complete background without opening another black window �as in Linux

  • [SOLVED] keeping terminal window open for scrot keyboard shortcut

    Hey,
    Im trying to bind a keyboard shortcut to scrot with the -s command (for selecting window). Normal scrot command works fine straight away, but with the -s command a terminal window needs to be open that waits for the selection. i have created a file called lscrot with the following code:
    1 #!/bin/bash
    /usr/bin/terminal --working-directory=$HOME/dump/ --geometry 0x0-0-0 -e "/usr/bin/scrot -s"
    i have put the file in /usr/bin folder with 755 permissions.
    if i right click the file and choose "execute", the new terminal window will stay open and i can select an area to take a screenshot of, but when i bind it to a shortcut key (using xfce) the new terminal window will close immediately rendering the shortcut useless.
    how does one fix this?
    thanks
    Last edited by iOfWhy (2012-06-10 13:41:55)

    hmmm, ok. binding keys to /usr/bin/scrot works fine, but /usr/bin/scrot -s does not. dont really know where to begin searching for a fix...
    EDIT: im assuming there is something elementary i am missing. after further testing, launching for example scrot ~/dump/test.png from console works fine, but not when i bind it to a keyboard shortcut. however, scrot test.png works to bind. does anyone know anything more about XFCe and binding keyboard shortcuts?
    EDIT2: ok so im honing in a little bit, i realised that the first times i use the keyboard shortcut it works. forcing the terminal window to stay open after command has been executed i see following error:
    giblib error: couldn't grab keyboard:Resource temporarily unavailable
    Searching the net i found old bug that was closed without (seemingly) being solved.
    https://groups.google.com/group/linux.d … 2056017d9a
    Any ideas?
    EDIT3: ok so found a solution, "sleep". Adding sleep 0.1 to the top of the screenshot script seemed to help. seems you need to give sometime to release the keyboard for scrot to use. would still be great if anyone knew how to get it to work by using a direct command in the keyboard shortcut bindings. ie binding in straight to "scrot -s". using Alt+F2 then typing in scrot -s works fine, so i really dont see why i cant bind a keyboard command straight to that.
    NOTE: how do i see xsession errors? I find no .xsession-errors file in my home directory. been searching for months.
    Last edited by iOfWhy (2012-06-10 13:33:56)

  • There is an ad that popped up but it is not allowing me to close it. When I try to shut down the program another window opens asking if I was to navigate away from the page. Even if I select "yes" nothing happens. What do I do to get rid of this?

    the name at the top of the tab is "You are today's lucky winner" and all it says on the page is "Congratulations! You won an Apple iPad2. Read below for details". But it just WON'T go away!!!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • How to solve the problem when opening program illustrator cs6 ERROR: 16 It is WINDOWS 8.1 / 64 BIT help please

    how to solve the problem when opening program illustrator cs6
    ERROR: 16
    It is WINDOWS 8.1 / 64 BIT
    help please

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with. with a

    I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with.

    I suspect if you're trying to open a file in 08 that's been opened in 09 the file has been updated to 09 and will not open in 08.

  • Black window is open in background every time I open a new file

    Hi There,
    Every time I open a new file in photoshop CS6, it forces another window in the background to open.
    Please can you tell me how to disable this, as it is very annoying and I hate working in tabs.
    Also, how do I open all new files at 100%?
    Thanks

    I do not use a Mac but I do use floating windows on a PC.  I also know that there is some way to turn off Photoshop's main windows frame on a Mac.  That frame may be what you see as the black window. Try turning off Photoshop's frame.
    To have Photoshop Open new and existing documents from Photoshop's are 100% you need to set up a open event and have ir use an Action or Script the will set view actual pixels 100% zoom.  Look a menu File>scripts>Script Events Manager.... that is where you enable events and set up their handlers.

  • How do I get a program for windows to open without putting windows on my computer

    How do I get a program for windows to open and setup on my Macbook Pro without purchasing windows?

    Try running it through CrossOver Mac or WineSkin.
    (82008)

  • Opening a Word Document with a Java program in Windows

    When running a Java program in Windows, is it possible to have a button where when it is clicked it will open a Word document?
    If so, is it hard and can someone tell me how to do it??
    Thanks

    try this instead of Excel.exe you have to use Word.exe
    1. Declare your button
                   JButton butexlcom = new JButton("Carnet Offre");
                   butexlcom.addActionListener( new ButExlCommercial(msgout));
                   butexlcom.setBounds(215,510,110,30);
                   c.add( butexlcom );
    2. run your word document.
    class ButExlCommercial implements ActionListener {
         private JTextArea msgout;
         public ButExlCommercial( JTextArea msg) {
         msgout = msg;
         public void actionPerformed( ActionEvent e ) {
              try {
                   Runtime.getRuntime().exec("c:\\Program Files\\Microsoft Office\\Office\\Excel.exe NameWordDocument");
              catch(Exception en) {
                   msgout.append( "\n*** PROBLEME WORD ***\n" );
    }

  • Mac user OS 10.6.8 Firefox 6.0.2. Click the Firefox icon in dock, program does not open new window. Type cmd+N to open new window, cmd+T to open new tab or cmd+L to enter URL, nothing happens. What causes this, and what can be done?

    Mac user OS 10.6.8 Firefox 6.0.2. Click the Firefox icon in dock, program does not open new window. Type cmd+N to open new window, cmd+T to open new tab or cmd+L to enter URL, nothing happens. What causes this, and what can be done?

    It's strange. The problem apparently resolved itself after I ran TechTool on it. When I clicked on Firefox last night, I had no problem opening a window. Thanks for your help. (As to your previous post, the focus was on Firefox and neither the speed keys nor the menu bar would open a window or tab of allow me to enter a URL to open a window. Strange!)

  • How to invoke program in Windows to open file automatically

    I want to invoke some programs in Windows,such as winword,excel.But I don't intend to set program for each file and hope that it can invoke program to open files automatically
    Can someone help me?thanks

    To DrClap:
    I am very appreciated that you answer my
    wer my question. in the dos mode,when I type "start
    d:\test\test.xls", test.xls can be opened
    automatically.however I want my java program load the
    file,so I put the command line into my program just
    like below:Your Java program doesn't load anyhing.
    <code>Runtime.getRuntime().exec("start.exe
    d:\\test\\test.xls");</code>
    I just get error like that:
    <code>java.io.IOException: CreateProcess: start.exe
    d:\test\test.xls error=2</code>
    Hope for your precious reply!
    thanks!Replace "start.exe" with "start", and I'm not sure whether it's a shell command, so you'd have to use "cmd /c start ...".

  • When I try to read a PDF file, the window opens and then disappears after a second or two. This began after the last Adobe update. I tried accepting the Adobe terms using Eula.exe but that disn't solve the problem. What do I do?

    I can no longer read PDF files. The window opens and then disappears after a second or two. This began after the last Adobe update. I tried accepting the Adobe terms using Eula.exe but that disn't solve the problem. What do I do?

    Can you open Adobe Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • Make new window inactive/open in background in 5.1.7

    Hi,
    I have an MBA 2011 with 10.7.4 and Safari 5.1.7. I am very shortsighted and have struggled with the poor contrast levels between tabs and the rest of the Safari UI. My solution has been to switch off tabs, use windows instead. and configure my right option key as an App Expose shortcut. This works very nicely, but the only fly in the ointment is that when I click on a link I wish to open in a new window, it defaults to always opening in a new ACTIVE window, when I'd usually prefer it to open in the background as per tabs.
    I have checked and unchecked the option in the 'tabs' preference pane with no luck- do I need to re login to make this stick? CMD-Click works to a point, but it's not reliable, and I find it finicky, even though I've routed it to a touchpad gesture through BetterTouchTool. Is there any other way to force safari to open new windows in the background - perhaps by adding a new item to the context menu? I'd really like to resolve this as I'd love to make the switch from Chrome to Safari, especially with ML coming very soon.
    Thanks.

    As a retired webmaster I found this issue interesting.
    It is a pity browsers don't give us more control over such issues.
    If this http://www.w3.org/TR/css3-hyperlinks/#target0 is ever implemented it will be easy to control it via a local style sheet. Please note that despite the age of this document there is little sign of any progress.
    I think a local style sheet could do it in IE and Firefox with a combination of css, XML and JavaScript although I have not tested it.
    There may be browser extensions and applications which can do it but the only one I found did not appear to have a version I could test on my OS. Safari now has the hooks for it if anybody wants to write an extension.
    Your cmd-click method appears to work for me. The following shows my Safari 5.0.6 settings. I got the impression that it did not work when I first tried it but after a little playing with the settings it appears to be reliable. I did not need to login again but I may have closed and opened Safari preferences a few times.
    Can you describe in what way this is not reliable for you? Is it reliable for you with a conventional mouse and keyboard?

  • Elements Organizer 13.  The program primary window does not open.

    Good afternoon. I installed Elements Organizer. The first some times it has opened correctly and I managed to transfer all photos. But now the program primary window does not open. In dock the active icon appears, in the left top corner there is a name of the program and having clicked with its right mouse button it is possible to open options. What to do in such situation? Photoshop Elements 13 works correctly, but it is very inconvenient to search for photos.

    I managed to locate the problem
    I have an Elgato EyeTV 610. It is an old DVB-C TV Tuner hooked up on Firewire.
    When I remove the EyeTV 610 from the Firewireport it works fine.
    As mentioned in my first posting I was able to have the import window pop up by attaching my camera.
    The workaround also works when pluggin in my iPhone (Import window pops up automatically)

  • Every time i open up a window another window opens with 8 tabs & it states Index of file:///C:/Program Files (x86)/Mozilla Firefox/.. They open constantly I searched on google but no help.. What should i do

    every time i open up a tab with fire fox other window open with 8 tabs each & y=they all state ::
    Index of file:///C:/Program Files (x86)/Mozilla Firefox/
    I tried searching on google but no help.. what do i do??

    Hello Susanne.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

Maybe you are looking for

  • Change labels of multiple axis in xy-chart

    Hi, I want to programmatically change the labels of the axes in a xy-chart with two y-axes. I can easily manage this for the x-axis and the first y-axis. But I can't find how to access the properties of the second y-axis. How to do this? Steven LV 7.

  • Number of records in a infocube

    Hai,          How do we know the number of records in an infocube? I need to know if the infocube I am using is having more than 50 million records. Thanks.

  • 5310 can't transfer music

    Whenever I try to transfer music using PC suite it converts it and puts it in my collection folder but then as it tries to transfer it to the phone it comes up with "unknown error".Sometimes it will get half way through copying before the message app

  • Premiere Pro CC not playing fair with .mov files

    I have a CC account and use Premiere Pro on my PC with no issues so far except that the RAM and Graphics card suck. So I decided to run on my laptop running windows 8 rather than 7. AE runs with no issues (so far), but when I use Premiere Pro it does

  • Oracle App Server - Applet problem (HELP)

    I have a problem with accessing an applet in placed in a sub directory from the webroot. Basically, I can run an applet successfully in my webroot. When the same applet is placed in a sub dir in the webroot, OAS can't resolve the path and can't find