LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   A way to close all windows except the one that has the focus in the Seamonkey browse. (http://www.linuxquestions.org/questions/slackware-14/a-way-to-close-all-windows-except-the-one-that-has-the-focus-in-the-seamonkey-browse-4175476814/)

stf92 09-12-2013 12:11 AM

A way to close all windows except the one that has the focus in the Seamonkey browse.
 
Kernel 3.2.29, Slackware 14.0
Seamonkey 2.12.1

Hi: is there a way to close all windows except the one that has the focus in the Seamonkey browser?

John VV 09-12-2013 02:48 AM

????
the Seamonkey web browser only has ONE window
but can have a few "tabs" open

that is unless it is the "preferences" pop-up ( edit/preferences )

the other tools are in a new tab

elesmod 09-12-2013 03:37 AM

If you're talking about opening new Seamonkey windows, then I don't think there's a way to close those which have no focus.
If however you're talking about new tabs in one Seamonkey window, then you can right click on an active tab and choose 'close other tabs' or something similar (my options are not in English).

stf92 09-12-2013 04:29 AM

My mistake. Not 'close', I meant 'minimize'.

stf92 09-12-2013 04:34 AM

My mistake. I did it all wrong. I really did not mean the browser, but the whole DE. And it was not "open" but "minimize". The post should read as follows:

Kernel 3.2.29, Slackware 14.0
Xfce 4.10

Hi: is there a way to minimize all windows except the one that has the focus in Xfce 4?

Ilgar 09-12-2013 01:33 PM

I think the answer is "no" if you restrict yourself to Xfce's internal commands. However, you can use external software like wmctrl or xdotool to do what you want. Both are available at slackbuilds.org.

stf92 09-12-2013 03:22 PM

Then maybe my question is wrong again, and I should be asking for a command that minimizes _all_ windows. Something like a "Show desktop" command.

TracyTiger 09-12-2013 04:36 PM

Quote:

Originally Posted by stf92 (Post 5026712)
Then maybe my question is wrong again, and I should be asking for a command that minimizes _all_ windows. Something like a "Show desktop" command.

Perhaps I've misunderstood what you're looking for but ...

On Slackware64-14.0 using xfce I just have to click the "Minimize all open windows and show desktop" icon on the toolbar. The icon looks like a folder.

I don't remember doing any customization except for placement of things.

EDIT: Perhaps you were looking for a "command", not using the GUI interface? It also doesn't leave any windows open.

ljb643 09-12-2013 04:49 PM

In Xfce, the default Window Manager key bindings makes Ctrl+Alt+d do the Minimize all Windows and Show Desktop function. (Think of d=desktop, or d=de-clutter). You can map it to a different key under Settings > Window Manager, on the Keyboard tab, if you like. Is that what you are looking for?

Ilgar 09-12-2013 05:49 PM

If you want to minimize ALL windows, yes there's a shortcut for that, as others pointed out. However if you want to minimize all except one particular window, then it's a different story.

The programs I mentioned will let you do that from the command line. If you want to bind those commands to keys, you can use the "Application Shortcuts" section of Xfce's Keyboard Settings.

On a side note: I myself prefer to create keyboard shortcuts for quite a few things and I use the software called xbindkeys for that purpose (although I almost always use XFCE, this way I have a desktop-independent solution).

John VV 09-12-2013 06:45 PM

Quote:

Then maybe my question is wrong again,
:banghead:

stf92 09-12-2013 11:54 PM

Quote:

Originally Posted by Tracy Tiger (Post 5026741)
Perhaps I've misunderstood what you're looking for but ...

On Slackware64-14.0 using xfce I just have to click the "Minimize all open windows and show desktop" icon on the toolbar. The icon looks like a folder.

I don't remember doing any customization except for placement of things.

EDIT: Perhaps you were looking for a "command", not using the GUI interface? It also doesn't leave any windows open.

In no way. Just what you say above you do. Ctl+Alt+d seems to accomplish the same funcion a the icon. As for this, a cannot find it in my toolbar. Thank you Sir.

Ilgar 09-13-2013 05:20 AM

The "Show desktop" button is indeed a panel plugin. You can add it to your panel if you want to.


All times are GMT -5. The time now is 07:03 PM.