Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two Things I'd Like To See In Metacity
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Tue Jan 06, 2004 12:08 am    Post subject: Two Things I'd Like To See In Metacity Reply with quote

Hi All,

Just a quick two:

1) Can I have edge resistance in Metacity? Against the edge of the screen and/or other windows?

2) Can I have a notification of the the position and size in pixels of my window when I move or resize? Similar to the way the *Boxes do it (ie, a small notification box with geometry and window size appears when moving and resizing).

If so... how?!? If not who do I have to ask, beg, bribe or sleep with to get it happening? Actually... I'm only prepared to ask :D

Thanks,

--
Lucas
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Jan 06, 2004 12:23 am    Post subject: Reply with quote

1: just hold down the Shift key while moving the titlebar

2: don't think this is an option
Back to top
View user's profile Send private message
Cerement
Guru
Guru


Joined: 14 Jun 2003
Posts: 404

PostPosted: Tue Jan 06, 2004 1:51 am    Post subject: Reply with quote

Havoc Pennington is the one responsible for Metacity ...

... and in his words, "Metacity is a crack-free window manager"

(crack-smoking features include borderless terminal windows and focus-follows-mouse)
Back to top
View user's profile Send private message
Cerement
Guru
Guru


Joined: 14 Jun 2003
Posts: 404

PostPosted: Tue Jan 06, 2004 5:19 am    Post subject: Reply with quote

... although I would like to know what Havoc was smoking when he decided that Metacity theme files should be xml based ...
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Tue Jan 06, 2004 5:27 am    Post subject: Havoc's Smoking Habits Reply with quote

Hiyas,

Probably crack, you see, he leaves Metacity "Crack-Free" so he's got more for himself *nods*.

1) That's more like edge snapping than edge resistance, but as good as I'm going to get I suppose.

2) Damn, perhaps there's a mouse tracker like the one for KDE that I can use to keep track of window sizes and geometry, not controlled by the WM?

Thanks guys,

--
Lucas
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Tue Jan 06, 2004 11:24 am    Post subject: Reply with quote

Quote:

(crack-smoking features include borderless terminal windows and focus-follows-mouse)


Borderless windows are in Gnome and not a feature of the terminal itself? How do you enable this, I've never encountered or read something like that. I know that it's possible in fluxbox, but in Gnome... Would be really nice for xawtv in not-fullscreen mode.

Quote:

... although I would like to know what Havoc was smoking when he decided that Metacity theme files should be xml based ...


What's wrong with xml??
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Tue Jan 06, 2004 10:41 pm    Post subject: Borderless Reply with quote

Hi,

dfus wrote:
Borderless windows are in Gnome and not a feature of the terminal itself?

I think you misunderstood. Borderless is (generally) a function of the window manager and Havoc has said that he's not planning to implement this feature for Metacity (although not in so many words). You can still get a borderless window for some applications by telling X that they aren't to be managed by the WM (XMMS and Gkrellm2 are two common examples), but then the application needs to provide it's own minimize, maximize, resize, etc.

People, I really want to know the geometry and dimensions of my window when moving and resizing :( There must be a way, a patch, another application that hooks into the WM?

Anyway, if anyone knows...

--
Lucas
Back to top
View user's profile Send private message
annex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2002
Posts: 102

PostPosted: Tue Jan 06, 2004 11:25 pm    Post subject: Reply with quote

Quote:
crack-smoking features include borderless terminal windows and focus-follows-mouse)


Doesn't the option "Select windows when the mouse moves over them" have the same effect as focus-follows-mouse? Or am I just being silly?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Jan 06, 2004 11:45 pm    Post subject: Reply with quote

Actually (and this is interesting) Metacity provides a resize measure box when the quanta for resizing are not 1×1 e.g. when the window is an xterm or other terminal, gvim, etc., and the window has to be a multiple of the character cell in size (plus a bit).

Thus the code's there, we just need to enable it.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Jan 06, 2004 11:48 pm    Post subject: Reply with quote

annex wrote:
Quote:
crack-smoking features include borderless terminal windows and focus-follows-mouse)


Doesn't the option "Select windows when the mouse moves over them" have the same effect as focus-follows-mouse? Or am I just being silly?
I think the difference is whether there's a delay, but I could be wrong. Anyway,
Havoc wrote:
Metacity has mouse focus and
autoraise as a compromise, but these features are all confusing for
many users, and cause problems with accessibility, fitt's law, and
so on.
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Wed Jan 07, 2004 3:17 am    Post subject: Reply with quote

enlightenment has support for both
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Wed Jan 07, 2004 3:26 am    Post subject: Reply with quote

Hi,

ecatmur wrote:
Actually (and this is interesting) Metacity provides a resize measure box when the quanta for resizing are not 1×1 e.g. when the window is an xterm or other terminal...

Yeah I had noticed that, but I thought it might be a function of the application (which doesn't make sense now that I think about it, because it works with any terminal emulator I try). So if it's not terribly difficult to do, perhaps Havoc just doesn't want to? Or just hasn't thought to? Eh...

--
Lucas
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Jan 07, 2004 4:14 am    Post subject: Reply with quote

Indeed, it's not terribly difficult - I've just done it!

Here's the patch: http://home.jesus.ox.ac.uk/~ecatmur/gentoo/overlay/x11-wm/metacity/files/metacity-2.6.3-shift-resize-popup.patch
Only 8.6K!

It makes Metacity display the window size excluding decorations whenever you hold Shift down as you resize a window.

To use, untar http://home.jesus.ox.ac.uk/~ecatmur/gentoo/overlay/x11-wm/metacity/tarball-metacity.tar.bz2 into your Portage overlay, emerge metacity, and killall metacity.

Now I guess I need to email this to Havoc Pennington... argh.
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Wed Jan 07, 2004 4:25 am    Post subject: Reply with quote

Ah Fabulous!

Thankyou ecatmur! Now I need to learn about portage overlay...

Thanks again,

--
Lucas
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Jan 07, 2004 4:31 am    Post subject: Reply with quote

Your overlay is at /usr/local/portage. In this case you would:

cd /usr/local/portage
wget http://home.jesus.ox.ac.uk/~ecatmur/gentoo/overlay/x11-wm/metacity/tarball-metacity.tar.bz2
tar jxvf tarball-metacity.tar.bz2
emerge metacity
killall metacity

Note that you need to do all but the last command as root.

By the way - what is your reason for needing to see the sizes of windows? It'd be good to know :)
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Wed Jan 07, 2004 4:39 am    Post subject: Reply with quote

Hi,

Thanks again ecatmur.

I don't need too se the window sizes, I just like to know that my windows are a particular size, for example, I'd like my browser window to be 800x600 and my XChat window to be 640x480... I just like having my windows precisely sized. It makes me happy :)
Back to top
View user's profile Send private message
johnisevil
n00b
n00b


Joined: 14 Dec 2003
Posts: 45
Location: Hamilton, ON Canada

PostPosted: Wed Jan 07, 2004 7:40 am    Post subject: Reply with quote

Metacity would be completely crack-free if it didn't have window animations like when you minimize a window.
Back to top
View user's profile Send private message
astika
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 131
Location: /usr/local/src

PostPosted: Thu Jan 08, 2004 9:04 pm    Post subject: Reply with quote

johnisevil wrote:
Metacity would be completely crack-free if it didn't have window animations like when you minimize a window.


https://forums.gentoo.org/viewtopic.php?t=113806
_________________
even now in heaven, there were angels carrying savage weapons
Back to top
View user's profile Send private message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Thu Jan 08, 2004 9:35 pm    Post subject: Reply with quote

Quote:
(crack-smoking features include borderless terminal windows and focus-follows-mouse)


You can do "focus follows mouse", but you can not disable "click to raise". That means if I want to select text from a window that's underneath the one I want to paste it into, I have to live with the source window popping to the top.

This is irritating, and why I don't care to use Metacity. I prefer Gnome to KDE, but that's only after I replace the WM. Out of the box, if I weren't allowed to change window managers, I'd use KDE.
Back to top
View user's profile Send private message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 341

PostPosted: Fri Jan 09, 2004 3:27 am    Post subject: Reply with quote

sgarcia wrote:
Quote:
(crack-smoking features include borderless terminal windows and focus-follows-mouse)


You can do "focus follows mouse", but you can not disable "click to raise". That means if I want to select text from a window that's underneath the one I want to paste it into, I have to live with the source window popping to the top.

This is irritating, and why I don't care to use Metacity. I prefer Gnome to KDE, but that's only after I replace the WM. Out of the box, if I weren't allowed to change window managers, I'd use KDE.


Actually, that's not true. The latest release of Metacity (much to my annoyance) reversed that. A window will only be raised now if you click on the border.
Back to top
View user's profile Send private message
brsett
n00b
n00b


Joined: 28 Mar 2003
Posts: 63

PostPosted: Fri Jan 09, 2004 4:13 am    Post subject: Reply with quote

The big change I'm looking for is allowing panels to layer like regular windows, rather than always being on top.

I really would prefer that my window list panel could go under my apps (the starter bar panel I'm not as picky about).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum