PDA

View Full Version : Four simple improvements


cuantar
May 31st, 2007, 09:40 PM
Hi there. This post is largely a duplicate of the one I wrote here: [url:b0463]http://forum.beryl-project.org/viewtopic.php?t=3802[/url:b0463]

I'm accustomed to FVWM, specifically a theme called FVWM-Crystal located at [url:b0463]http://fvwm-crystal.org/[/url:b0463]. There are a few significant differences between this configuration and (GNOME/KDE/XFCE4)+(beryl/compiz) that are due to the flexibility of FVWM.


I have a close button on each side of the window titlebar. Currently, although the placement of titlebar buttons through emerald-theme-manager is very flexible, there is no way to create more than one of any given button. I would look at this myself, but I don't know where the code that controls this is located.
[/*:m:b0463]
I can define different actions for each mouse button on any of the titlebar buttons. Compiz/Beryl will not allow me to set right-click on the close button to be minimize, for example.
[/*:m:b0463]
I can configure clicks on the desktop to do whatever I want them to (like open a terminal on right-click). There is a DesktopClick plugin for Beryl that does this, written by tb7653. Take a look at the linked thread on the other forum for a brief discussion.
[/*:m:b0463]
I can toggle reverse-axis titlebar shading with the scroll wheel, ie. scroll down -> shade up. tb7653 also wrote a patch for emerald that adds a checkbox to toggle this option in Beryl, but the patch was apparently never introduced to svn and it's gone now. Here's the patch: http://bugs.beryl-project.org/ticket/1452
[/*:m:b0463]
Miniwindows/minimize-in-place/minimize to icons/whatever you want to call it. We have window previews at the taskbar, and we have a scale plugin. Why shouldn't this feature be possible? I'd like to try my hand at this one, but I don't know where to look to get started.[/*:m:b0463]

Most of these things seem like they require small changes. I would like to help with development if somebody knowledgable could help me find the relevant sections of code to work with (it's a big project!).

SmSpillaz
June 1st, 2007, 01:38 AM
Hi there. This post is largely a duplicate of the one I wrote here: [url:3c7d9]http://forum.beryl-project.org/viewtopic.php?t=3802[/url:3c7d9]

I'm accustomed to FVWM, specifically a theme called FVWM-Crystal located at [url:3c7d9]http://fvwm-crystal.org/[/url:3c7d9]. There are a few significant differences between this configuration and (GNOME/KDE/XFCE4)+(beryl/compiz) that are due to the flexibility of FVWM.

Well before you get your hopes up, there is pretty much no development on Beryl as of now. Use CompComm or Soon-to-be-named project instead


I have a close button on each side of the window titlebar. Currently, although the placement of titlebar buttons through emerald-theme-manager is very flexible, there is no way to create more than one of any given button. I would look at this myself, but I don't know where the code that controls this is located.
[/*:m:3c7d9]
I can define different actions for each mouse button on any of the titlebar buttons. Compiz/Beryl will not allow me to set right-click on the close button to be minimize, for example.
[/*:m:3c7d9]
I can configure clicks on the desktop to do whatever I want them to (like open a terminal on right-click). There is a DesktopClick plugin for Beryl that does this, written by tb7653. Take a look at the linked thread on the other forum for a brief discussion.
[/*:m:3c7d9]
I can toggle reverse-axis titlebar shading with the scroll wheel, ie. scroll down -> shade up. tb7653 also wrote a patch for emerald that adds a checkbox to toggle this option in Beryl, but the patch was apparently never introduced to svn and it's gone now. Here's the patch: http://bugs.beryl-project.org/ticket/1452
[/*:m:3c7d9]
Miniwindows/minimize-in-place/minimize to icons/whatever you want to call it. We have window previews at the taskbar, and we have a scale plugin. Why shouldn't this feature be possible? I'd like to try my hand at this one, but I don't know where to look to get started.[/*:m:3c7d9]

Most of these things seem like they require small changes. I would like to help with development if somebody knowledgable could help me find the relevant sections of code to work with (it's a big project!).[/quote:3c7d9]


- Doable
- You can - try right clicking on the maximize button :D
- DesktopClick can be gotten from somewhere :/
- Ok?
- Used to be mindows but it was uber-unstable, minimizing to icons would be a bit weird however. You would not be able to minimize to actual icons but we may be able to make fake icons at the bottom of the screen. If you want an example, try Avant-Window-Navigator or RYX's Screenlets 'Window List' screenlet

Hope I helped

hells_dark
June 1st, 2007, 11:41 AM
.

I can define different actions for each mouse button on any of the titlebar buttons. Compiz/Beryl will not allow me to set right-click on the close button to be minimize, for example.

Hey ! this could be really interesting !!! We could have only one button for 3 main actions !
left click on it to minimize, right to close and middle to enlarge !
Great idea !

cuantar
June 1st, 2007, 07:47 PM
For the record, I am using CompComm (via layman/xeffects). I've been updating from git daily since it stabilized enough to be slightly useable :)

I checked out screenlets last night, and there are enough examples there that I might be able to throw something interesting together that emulates the minimize-to-screenshot-icon that I'm used to. I'll try grepping around for something that looks like titlebar button code later tonight, and hopefully that window shade patch still works.

What's the procedure for submitting patches to this project, btw?

About the multiple actions on titlebar buttons thing: yeah, it would be interesting to have buttons that respond differently to all three buttons. I've been using that for a few years on the close button at least. I wonder how easy that would be to implement in a general way...