Re: Vivaldi has no frame

2016-07-11 Thread Frank Steiner

Rhialto wrote

> Many (all? I did not look it up) of the lists of window names also
> accept class names. Each window doesn't just have a name but also a
> class. You can find it with xprop and look for WM_CLASS, such as 
> WM_CLASS(STRING) = "lxterminal", "Lxterminal".

Thanks :-) Indeed I found this:
  WM_CLASS(STRING) = "crx_mpognobbkildjkofajifpdfhcoklimli", "vivaldi-stable"
and warping to "vivaldi-stable" works with ctwm!

cu,
Frank

-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17   Phone: +49 89 2180-4049
80333 Muenchen, Germany   Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *



Re: Vivaldi has no frame

2016-07-09 Thread Rhialto
On Fri 08 Jul 2016 at 14:07:25 +0200, Frank Steiner wrote:
> Worse... Even with that option there is still no title so that I
> cannot define a warpto shortcut etc.

Many (all? I did not look it up) of the lists of window names also
accept class names. Each window doesn't just have a name but also a
class. You can find it with xprop and look for WM_CLASS, such as 
WM_CLASS(STRING) = "lxterminal", "Lxterminal".

> They also don't support normal X11 parameters like -title, -geometry
> etc.

Of course, since the developers don't stick to conventions at all, they
may e failing in the WM_CLASSS department too.

I wonder how difficult it might be (and how useful) to generalise window
lists to be able to match on any string-like window property.

> Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl-- are condemned to reinvent it. Poorly.


signature.asc
Description: PGP signature


Re: Vivaldi has no frame

2016-07-08 Thread Frank Steiner

Matthew D. Fuller wrote

> On Fri, Jul 08, 2016 at 11:23:42AM +0200 I heard the voice of
> Frank Steiner, and lo! it spake thus:
>> Unfortunately, I cannot use MakeTitle because the windows shows in
>> IconManager and Window list as "untitled" *grmpf*. But I was shown
>> an option in Vivaldi "Use native window" and then it works :-)
> 
> Wacky wacky.  That means it's not even setting the window/icon title
> unless that option is picked.  What a shupid idea.

Worse... Even with that option there is still no title so that I
cannot define a warpto shortcut etc. I guess the developers have
no one in their team working with a *wm manager :-) They also
don't support normal X11 parameters like -title, -geometry etc.


-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17   Phone: +49 89 2180-4049
80333 Muenchen, Germany   Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *



Re: Vivaldi has no frame

2016-07-08 Thread Matthew D. Fuller

On Fri, Jul 08, 2016 at 11:23:42AM +0200 I heard the voice of
Frank Steiner, and lo! it spake thus:
> 
> Unfortunately, I cannot use MakeTitle because the windows shows in
> IconManager and Window list as "untitled" *grmpf*. But I was shown
> an option in Vivaldi "Use native window" and then it works :-)

Wacky wacky.  That means it's not even setting the window/icon title
unless that option is picked.  What a shupid idea.


> But I will checkout the latest branch, the MWMIgnore option might be
> helpful for other programs.

Having more testing of trunk ain't gonna make me unahppy either   :)


-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.



Re: Vivaldi has no frame

2016-07-08 Thread Matthew D. Fuller

On Fri, Jul 08, 2016 at 10:23:09AM +0200 I heard the voice of
Frank Steiner, and lo! it spake thus:
> 
> But it gets no border, title and icons in ctwm. And so it cannot be
> moved, iconized etc. I removed my .ctwmrc file to make sure it's not
> my config, but the problem remains.
> 
> The same happens in mwm, while fvwm and twm make vivaldi a normal
> window with a border etc.

Probably the Motif WM hints; ctwm (and presumably mwm; I mean, lookit
the name ;) honor them, and it's presumably asking not to be
decorated.

You can override it directly with MakeTitle{} for the windows you want
to force decoration onto.  With current trunk, you can also use
MWMIgnore{} to ignore specific bits of the hinting globally.



-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.



Re: Vivaldi has no frame

2016-07-08 Thread Mark Carroll

On 08 Jul 2016, Frank Steiner wrote:

> But it gets no border, title and icons in ctwm. And so it cannot be moved, 
> iconized etc. I removed my .ctwmrc file to make sure it's not my config, 
> but the problem remains.

Until someone more knowledgeable replies: it /may/ help that I usually
end up happier if I use ctwm compiled with no external window hints or
that kind of nonsense as generally application developers seem to use
this newer functionality to do things I don't want.

(Similarly, I want to *always* disable focus-stealing, etc.)

-- Mark



Vivaldi has no frame

2016-07-08 Thread Frank Steiner

Hi,

still liking Opera 11 so much ;-) I checked out the new vivaldi browser
that brings back most of the features other browsers are missing nowadays.

But it gets no border, title and icons in ctwm. And so it cannot be moved, 
iconized etc. I removed my .ctwmrc file to make sure it's not my config, 
but the problem remains.

The same happens in mwm, while fvwm and twm make vivaldi a normal window
with a border etc.

It must be sth. specific to ctwm (and mwm), but I've no idea what this
could be.

Anyone out there having a clue what's wrong here?

cu,
Frank
-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17   Phone: +49 89 2180-4049
80333 Muenchen, Germany   Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *