Stop Microsoft

Miscellaneous => Technical Support => Topic started by: GenuineAdvantage on 27 June 2006, 13:03

Title: Fluxbox show the desktop
Post by: GenuineAdvantage on 27 June 2006, 13:03
Ok, so I've added desktop icons to fluxbox. Now all I need is a "show desktop" button on the bar. Is there an easy way to do this? A tray icon that does it would do it, but I can't find anything like it.
Title: Re: Fluxbox show the desktop
Post by: Jack2000 on 27 June 2006, 15:54
well maby a program that will instrukt every other program to "minimize"

:)
or maby integrate [winkey] + D


even easyer solution
just swich to another desk top ( you know there are 4 of them i think just swich to another one it will have the same icons but all the programs will be in the last desktop :)
Title: Re: Fluxbox show the desktop
Post by: worker201 on 27 June 2006, 18:58
Does Fluxbox even have multiple workspaces?
Title: Re: Fluxbox show the desktop
Post by: pofnlice on 27 June 2006, 19:45
never open a window...then you will always have the desktop!

Somehow I bet that wasn't the answer you were looking for.

I like worker201 has the easiest idea. activate multiple desktops, then you can pick or choose from your task bar. However if you specifically want to get to that particular desktop...I would imagine you'll just have to shrink the window...
Title: Re: Fluxbox show the desktop
Post by: GenuineAdvantage on 28 June 2006, 01:35
Haha, but still. The point is it helps some people. It's one of my habits and since there's a button in other wms I not the only one. You open stuff compulsively, then you want to get to your icons, or in the case of flux, just merely right clicking to get to the menu - and that's the only way to get to program links on the gui, but there's a bunch of stuff in the way so you have to go and minimize everything one by one. There idea and habit I have is to open whatever you want at will, that's why a permanent menu on a panel is the best. Fluxbox doesn't have your program menu there. And as far as multiple workspaces, Yes, flux does have them. By default there's the usual 4, but even workspaces run out of space if you go around opening stuff on each one. And having to switch desktops slows you down. A command to minimize everything, is there such a thing? I like the idea of setting that to the windows key.
Title: Re: Fluxbox show the desktop
Post by: H_TeXMeX_H on 28 June 2006, 06:50
Oh ... I see now what you are talking about ... I think. Well the solution is easy for me:

1) I don't use icons ... only the menu
2) I change the apps dimensions so there is a bit of a space at the top or left or right of the windows so you can right-click and bring up a menu quickly

If you were wondering ... right-click on a window title > Remember > check Dimensions and Position ... this causes the window to be brought up in the same place with the same dimensions every time leaving a bit of room around the edges will let you access the menu anytime. To edit the window dimentions edit the ~/.fluxbox/apps config file.

It'll look something like this:

[app] (Gecko)
   [Dimensions] {938 739}
   [Position] (UPPERLEFT) {1 1}
[end]

Your dimensions are probably different ... and this is only the entry for Firefox.
Title: Re: Fluxbox show the desktop
Post by: worker201 on 28 June 2006, 07:51
Expose in Mac OSX does this real nicely.   Click one button to show the desktop, click one to show all open windows.  Move the mouse to hot corners if you don't like the keyboard.

Guess sometimes you have to shell out a couple bucks for the features you really want :D
Title: Re: Fluxbox show the desktop
Post by: pofnlice on 28 June 2006, 10:01
now you don't

(http://www.tacktech.com/images/articles/332/showdesktopicon-01.png)

now you see it!

(http://www.tacktech.com/images/articles/332/showdesktopicon-04.png)

snicker

You might be able to get something like this to work......

Discovering the K Desktop Environment (http://www.mandriva.ie/documentation/Discovering_the_K_Desktop_Environment.html)

According to fluxbox, it's kde compatible.

Or shit son, just go here and ask the experts...

Flux box Gurus (http://fluxbox.sourceforge.net/)
Title: Re: Fluxbox show the desktop
Post by: Pathos on 28 June 2006, 12:20
http://fluxbox.sourceforge.net/docbook/en/html/ (http://fluxbox.sourceforge.net/docbook/en/html/)

read chapter 5

you can add a key binding to ~/.fluxbox/keys for the 'showdesktop' action.

fluxbox is awesome cause its so easy to configure with just vi.

personally if I want start a new application I go to a new desktop. I make Alt-F* desktop shortcuts.
Title: Re: Fluxbox show the desktop
Post by: H_TeXMeX_H on 28 June 2006, 20:59
Or for an instant menu you can bind RootMenu to a key ... for example mine is:

Mod1 w :RootMenu

pressing 'Alt' 'w' will bring up the menu. Also, it's 'ShowDesktop' ... I think the case is important.
Title: Re: Fluxbox show the desktop
Post by: Laukev7 on 29 June 2006, 00:07
Is there any way to use a mouse button as a binding? I'm trying to add the ctrl-click feature for Linux PPC (since it's a single mouse button), but I haven't found anythign yet.
Title: Re: Fluxbox show the desktop
Post by: GenuineAdvantage on 29 June 2006, 02:10
Not bad thanks. It's better than nothing. I just set it to ShowDesktop. The bad thing is it doesn't work with just a single key, does it? It has to be Alt+ letter? The windows key is the Multi_key, and that doesn't work either way. Works in XFCE though, so could I make it work by itself in this config?

edit: the Win key is supposively Mod4 but that's not working anyways. I guess I will just go with alt m, since comma doesn't work
edit: n'm comma works, and Multi_key is only the right windows key. I set it to Mod1 Multi_key :ShowDesktop - right next to each other.

Btw, as far as the comment of having shortcuts on the mac mouse. What a double edged sword. You lose the functionality of the buttons for anything else. That's not even worth it since you use the mouse buttons much more than needing to minimize everything.
Title: Re: Fluxbox show the desktop
Post by: Laukev7 on 29 June 2006, 07:42
Quote
Btw, as far as the comment of having shortcuts on the mac mouse. What a double edged sword. You lose the functionality of the buttons for anything else. That's not even worth it since you use the mouse buttons much more than needing to minimize everything.


You don't lose the functionality of any button. The function is binded to a specific combination of buttons, not to the buttons themselves. Ctrl-click would pop up a menu, while you would still be able to use ctrl in combination of other buttons.
Title: Re: Fluxbox show the desktop
Post by: GenuineAdvantage on 29 June 2006, 08:49
Unless Ctrl is a mouse button that seems pretty goofy to me. But that's just me. If you have to press the keyboard might as well just put keyboard shortcuts.
Title: Re: Fluxbox show the desktop
Post by: Laukev7 on 29 June 2006, 14:21
Ctrl-click is the standard replacement for right click on Macs, unless you have a two-button mouse (which I don't because that Mac doesn't have USB),
Title: Re: Fluxbox show the desktop
Post by: pofnlice on 29 June 2006, 18:04
real men use 6 button meeses! :P
Title: Re: Fluxbox show the desktop
Post by: H_TeXMeX_H on 29 June 2006, 19:13
Unless there's some config file for it, I wouldn't know how to make Ctrl-click work. Or can the mouse be bound as a key in the keys config file ?
Title: Re: Fluxbox show the desktop
Post by: Jack2000 on 29 June 2006, 20:14
real men use old style 3 button mise
+ wireless allaround
with bluetooth and shit
Title: Re: Fluxbox show the desktop
Post by: piratePenguin on 29 June 2006, 20:43
REAL men use telepathy
Title: Re: Fluxbox show the desktop
Post by: GenuineAdvantage on 1 July 2006, 04:27
Mod0 lets you skip the key combination, you can set any key by itself! How about that suckas!
Title: Re: Fluxbox show the desktop
Post by: Pathos on 1 July 2006, 08:35
In fluxbox Ctrl+Click moves or resizes the window with the mouse, very handy when the window is bigger than the screen.
Title: Re: Fluxbox show the desktop
Post by: Laukev7 on 1 July 2006, 16:30
Quote from: Pathos
In fluxbox Ctrl+Click moves or resizes the window with the mouse, very handy when the window is bigger than the screen.

It's not the same key on Linux PPC with an Apple keyboard; that's actually the 'option' key. The key labelled 'ctrl' is a different key, which happens to be the standard for ctrl-click on Mac OS.
Title: Re: Fluxbox show the desktop
Post by: piratePenguin on 1 July 2006, 17:38
In basically all window managers in my experience, pressing ALT + left click and dragging moves the window, I think it's an X11 thing..
ALT + middle click and dragging resizes the window
Title: Re: Fluxbox show the desktop
Post by: GenuineAdvantage on 2 July 2006, 07:33
Ok, I just installed fluxbox1.0rc1 and the need for Mod0 is gone, you can just put in F5 by itself, for example, and that's all you need to press. If you install this don't bother using the .fluxbox folder from the previous one. It won't start up, or didn't for me. I just copied menu keys and startup but nothing else. Not sure what the issue was but probably difference in init.

Oh btw, in this version, that nasty maximization gap on the right seems to be kaput! But I haven't tested much yet. I hope it's gone forever.
Title: Re: Fluxbox show the desktop
Post by: KernelPanic on 3 July 2006, 01:52
Moving this thread to Tech Support.
Title: Re: Fluxbox show the desktop
Post by: Pathos on 4 July 2006, 05:34
Quote from: Laukev7
Is there any way to use a mouse button as a binding? I'm trying to add the ctrl-click feature for Linux PPC (since it's a single mouse button), but I haven't found anythign yet.

http://www.biostat.umn.edu/~nali/computing/linux_key.html

this may give you some options, mapping keyboard buttons as mouse buttons