Xpresent transparent window title bar

2024-02-03 Thread Guy Rouillier

New member of this mailing list.

I've been using Windows 7 side by side with Linux (mostly Ubuntu MATE).  
I'd like to use a couple of the features from the Aero interface from 
Windows 7 on MATE  I've been discussing this topic on the Ubuntu MATE 
community forum here:


https://ubuntu-mate.community/t/marco-xpresent-compositor-transparent-title-bars/26968/4

In brief, I'm trying to get semi-transparent task bar (accomplished), 
inactive window background (accomplished) and window titlebars (not yet 
accomplished with Xpresent.)  All of these features are achievable with 
Compiz, but that consumes quite a bit of the CPU, so I'm seeing if I can 
accomplish this with something less resource-intensive, like Xpresent or 
Xrender.  As noted, with Xpresent, I haven't been able to achieve the 
semi-transparent titlebars.


Is there any known way to get semi-transparent titlebars with Xpresent?  
I'm looking at the /usr/share/themes/YaruOk/gtk-3.0/gtk.css file and 
trying to figure out how I might modify the titlebar rendering in that 
theme, but the code is difficult to decipher by someone not familiar 
with it.


Thanks.  If this is not easily achievable, I'll switch my focus to 
Xrender.


--
Guy Rouillier



Re: Xpresent transparent window title bar

2024-02-06 Thread Guy Rouillier
I originally sent this message, and subscribed to receive replies.  
Carsten Haitzler appears to have replied to this message in a mirror, 
with a cc to xorg@lists.x.org. I did not receive that reply.  I'm 
guessing that subscribers only get messages sent "to" the list, and not 
"cc" the list?  Carsten's full reply is here:


https://lists.x.org/archives/xorg/2024-February/061540.html

I don't now the proper protocol for copying text from other messages, 
but I wanted to respond to the opening comment:

> Your question really should be directed at the mate picom etc. developers, not
> here unless you want to discuss the general x11 compositing and rendering
> pipeline etc. .. so I'll answer from that point of view.
I believe that the Xpresent extension is not part of picom.  Instead, it 
is part of xorg itself:


https://gitlab.freedesktop.org/xorg/lib/libxpresent

I was informed of this when I initially asked on the Ubuntu MATE forum:

https://ubuntu-mate.community/t/marco-xpresent-compositor-transparent-title-bars/26968

Since Xpresent is not a compositor, I'm going to spend a little time 
seeing if I can figure out how to modify the theme I'm using (YaruOK) to 
have transparent title bars.  If I can't get that to work, I'll switch 
to Xrender (which definitely is part of picom, and is a proper 
compositor.)


--
Guy Rouillier



Re: Window id of xterm started

2024-02-12 Thread Guy Rouillier

I haven't tried this myself, but perhaps it works.

I found the following via Google by searching for "window id from pid":

https://stackoverflow.com/questions/2250757/is-there-a-linux-command-to-determine-the-window-ids-associated-with-a-given-pro

I then searched to see if you can get the pid of a process started in 
xinitrc, and found this:


https://bbs.archlinux.org/viewtopic.php?id=104145

--
Guy Rouillier


On 2/10/2024 7:53:39 AM, "Riza Dindir"  wrote:


Hello,

I am starting xterm in my xinitrc. Is it possible to get the window id 
of that xterm?


Regards

Re[2]: looking for help on multimonitor setup

2025-03-11 Thread Guy Rouillier

On 3/9/2025 7:33:57 AM, "Marco Moock"  wrote:

Have you tried to change the output directly and removing the custom
xorg.conf?
I've been silently observing this conversation.  I've been using Ubuntu 
MATE
and Linux Mint MATE for years without an xorg.conf (and many years 
before
that with an xorg.conf.)  I don't remember when the conf file became 
optional.
I've been able to get the multi-monitor set up I want by using the GUI 
desktop

configuration tools.

--
Guy Rouillier