Xfce Forum

Sub domains
 

You are not logged in.

#26 2021-11-21 14:39:13

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

ToZ wrote:

I'm not sure that's possible - how would the window know which button is positioned where or when the button is being hovered over. The hover effect is related to the button.

That makes sense. What about its borders? If I add a 1px margin, this is what happens to my beautiful border:

U0wutUs.png

If I increase it, obviously the border will move in further and further, like this.

VNfgSqv.png

Edit: Actually, forget about it. It looks like I really need buttons to be at 62 to 64 pixels for background effects to be visible.

Last edited by KBar (2021-11-21 14:59:53)


Xubuntu 20.04

Offline

#27 2021-11-21 17:22:56

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

I'd rather increase icon size for tasklist items. It's way too small for my taste. This page mentions that it can be customized via gtkrc-2.0. How about gtk.css?


Xubuntu 20.04

Offline

#28 2021-11-21 17:53:50

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

The problem with GTK, when increasing icon sizes, is that it blurs the image (down-sampling is much better). Have a read through this thread for more information about re-sizing the images.

Online

#29 2021-11-21 17:55:12

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

KBar wrote:

I'd rather increase icon size for tasklist items. It's way too small for my taste. This page mentions that it can be customized via gtkrc-2.0. How about gtk.css?

gtk-icon-sizes is no longer supported by GTK - in later versions of GTK2 or in GTK3.

Online

#30 2021-12-03 15:48:51

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Same here. Icons become blurry.

What I tested instead is adding individual launchers in place of the Window Buttons plugin and it works. The only problem is that, of course, there is no way to control their windows. I found one of your scripts that add this feature (basically comes down to "wmctrl -a || start_app"). I'll incorporate and slightly modify it to fit my needs, if you don't mind.

Although I'm not sure if it's possible to add right-click context menus without messing with the code. I've got to dig deeper. Regardless, it's so much fun. Hopefully, I'll finish it by the New Year. I want to be the one to start off our 2022 thread. tongue

Actually, I will just use desktop entries. This is how it works in Unity. Right-clicking brings up actions for applications, not their windows.

Do you know of a way to place whisker's categories horizontally at the bottom instead of the ugly username?


Xubuntu 20.04

Offline

#31 2021-12-03 18:22:21

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

KBar wrote:

Do you know of a way to place whisker's categories horizontally at the bottom instead of the ugly username?

As of 2.7.0, both those options (horizontal category and hide username pane) were added to the whiskermenu.

Edit: screenie
wmenu.png

Last edited by ToZ (2021-12-03 18:28:19)

Online

#32 2021-12-04 06:17:16

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Oh, wow! That's one beautiful Whisker Menu! It looks like you've got something new coming for 2022, too. lol

I wasn't aware of that. That's very neat. Do I have to uninstall the xfce4-whiskermenu-plugin first and then recompile the new version from source? I'm going to wait until the latest version gets uploaded to one of Xubuntu's PPAs. It shouldn't take long.

Last edited by KBar (2021-12-04 06:32:15)


Xubuntu 20.04

Offline

#33 2021-12-05 08:16:42

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Heh. I, too, have got a new shiny menu now! From this PPA: ppa:xubuntu-dev/staging

aOItueAs.png


Xubuntu 20.04

Offline

#34 2022-01-04 15:43:39

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

I can't seem to style the entire log out dialog window. Here's what I've got:
us61RL1l.png

.xfsm-logout-dialog {
	padding: 0px;
        margin: 0px;
	border-radius: 10px;
}

It looks like it's inside another window, otherwise I don't know why there are black borders and corners around the dialog. Is there a clever, proper way of theming it? Tried .keycap with same the result. I don't see any other hints in the source of xfce4-session.

Last edited by KBar (2022-01-04 15:51:32)


Xubuntu 20.04

Offline

#35 2022-01-04 17:12:32

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

Hmm. Looks more like an artifact of non-transparency.

Try adding these individually, one at a time, to see if it disappears:

box-shadow: none;
background: transparent;

Also try renaming first line to "dialog.xfsm-logout-dialog {" and then trying those two again.

Online

#36 2022-01-04 17:50:15

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

dialog.xfsm-logout-dialog { background: transparent; }

w8fYhA6l.png

dialog.xfsm-logout-dialog { box-shadow: none; border-radius: 50px; }

qrXons4l.png

dialog.xfsm-logout-dialog { box-shadow: none; border-radius: 50px; background: transparent; }

O2kKHKHl.png


Xubuntu 20.04

Offline

#37 2022-01-04 18:24:57

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Whew! Found a way to make it work with GtkInspector. Rebooting every time for changes to take effect wasn't fun. Just had to Ctrl+Shift+I on that dialog, which revealed another widget XfsmLogoutDialog. The source has this:

struct _XfsmLogoutDialogClass
{
  GtkDialogClass __parent__;
};

and many other lines hinting it might be the parent (at least to my ignorant existence). Could anything be done with it? Like with -XfwmTabwinWidget-icon-size or -XfcePanelWindowHidden-popup-delay or something similar.


Xubuntu 20.04

Offline

#38 2022-01-04 18:30:33

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Tried your answer here: https://forum.xfce.org/viewtopic.php?pid=54836#p54836

Still have black corners with this little surprise: X1pbrMml.png

Actually, it was like that before too. The whole dialog window seems broken as hell.

Last edited by KBar (2022-01-04 18:35:13)


Xubuntu 20.04

Offline

#39 2022-01-04 18:33:17

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

Interesting. Using your inital config, I tested this on my 21.10 Xubuntu VM and saw the same. I reloaded xfdesktop "xfdesktop -R" and the dark patches disappeared. Now I can't get them back. Does running "xfdesktop -R" do that for you as well?

Online

#40 2022-01-04 18:40:07

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

ToZ wrote:

Interesting. Using your inital config, I tested this on my 21.10 Xubuntu VM and saw the same. I reloaded xfdesktop "xfdesktop -R" and the dark patches disappeared. Now I can't get them back. Does running "xfdesktop -R" do that for you as well?

Thanks a lot but no luck for me. sad

Also sent hangup signal with `kill -HUP $(pidof xfdesktop)`

Mine is Xubuntu 20.04

Last edited by KBar (2022-01-04 18:47:13)


Xubuntu 20.04

Offline

#41 2022-01-04 19:18:35

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

KBar wrote:

Tried your answer here: https://forum.xfce.org/viewtopic.php?pid=54836#p54836

Still have black corners with this little surprise: https://imgur.com/X1pbrMml.png

Actually, it was like that before too. The whole dialog window seems broken as hell.

That's only because the butoon widget positioning exceeds the space that was pulled back by your border-radius command.

Do you have the compositor enabled?

Online

#42 2022-01-04 19:58:30

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Yes, it is enabled.

To me, it really looks like it cannot draw transparency.

Last edited by KBar (2022-01-04 20:19:18)


Xubuntu 20.04

Offline

#43 2022-01-04 21:25:45

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

KBar wrote:

Yes, it is enabled.

To me, it really looks like it cannot draw transparency.

I agree.

Out of curiosity, which video card do you have and which driver are you using?

Online

#44 2022-01-04 21:37:45

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

ToZ wrote:

I agree.

Yep. You were spot on from the get-go.

Out of curiosity, which video card do you have and which driver are you using?

Intel® HD Graphics 4400

*-display
             description: VGA compatible controller
             product: Haswell-ULT Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0b
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:48 memory:b2000000-b23fffff memory:a0000000-afffffff ioport:6000(size=64) memory:c0000-dffff

To test if other windows exhibited a similar behavior, I launched Catfish and a bunch of other apps (like atril) with CSD enabled and the window decorations (including transparency) were drawn correctly. Launching the logout dialog with `GTK_CSD=1 xfce4-session-logout`, however, didn't change anything. I'll try removing the whole ruleset and adding declarations one by one tomorrow. If that doesn't help, I'll try creating a custom background and sticking it in place.

Appreciate your tips and guidance.

Last edited by KBar (2022-01-04 21:58:00)


Xubuntu 20.04

Offline

#45 2022-01-05 15:32:43

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Do you happen to know which call dims the screen on dialog invocation? Could that be it messing with drawing transparency? What do you think?

Arc and Greybird, a new user with default Greybird have it, too.

https://imgur.com/Q2aFpF5

Last edited by KBar (2022-01-05 16:59:15)


Xubuntu 20.04

Offline

#46 2022-01-05 17:44:12

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,837

Re: Recreating Unity in Xubuntu

KBar wrote:

Do you happen to know which call dims the screen on dialog invocation? Could that be it messing with drawing transparency? What do you think?

I'm thinking this function. Seems to dig into Xwindows calls.

Arc and Greybird, a new user with default Greybird have it, too.

They have the rounded corners but not the transparency artifact. Is this a screenshot from your system?

Online

#47 2022-01-05 17:49:57

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

ToZ wrote:

They have the rounded corners but not the transparency artifact.

It's hard to spot because the radius is so small (looks like it's 3px) but it's there if you zoom in. Try with xfwm's desktop zoom. It's Alt+mouse wheel on my end. Probably should have set a white background. Sorry for that.

Is this a screenshot from your system?

Yep. Taken from a new user environment.

EDIT: So it's called fadeout and it's drawn by cairo. It's rgba value is 0,0,0,0.5. commit e90852df0f772184546320871c69d3358699d182 mentions this:

commit e90852df0f772184546320871c69d3358699d182
Author: Nick Schermer <nick@xfce.org>
Date:   Sun Nov 27 15:31:23 2011 +0100

    Improve fadeout code.
    
    Don't use some random color, but use black since it the easiest
    on the users' eyes. Also use rgba if compositing is enable, this
    is not only faster but looks nicer too, since everything behind
    the dialog continues to work.

Anyway, it doesn't seem to be configurable.

Last edited by KBar (2022-01-05 18:21:29)


Xubuntu 20.04

Offline

#48 2022-01-05 18:33:55

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Is 0x4008ce the dialog window?

xfce4-session-logout; sleep 5s; xwininfo -root -all

xwininfo: Window id: 0x162 (the root window) (has no name)

  Root window id: 0x162 (the root window) (has no name)
  Parent window id: 0x0 (none)
     95 children:
     0x4008ce "xfce4-session": ("xfce4-session" "Xfce4-session")  328x220+551+286  +551+286
        1 child:
        0x4008cf (has no name): ()  1x1+-1+-1  +550+285
     0x4008cd (has no name): ()  1366x768+0+0  +0+0
     0x500020c "Xfce Terminal": ("xfce4-terminal" "Xfce4-terminal")  218x342+418+321  +418+321
        1 child:
        0x500020d (has no name): ()  1x1+-1+-1  +417+320
     0x5000204 "Xfce Terminal": ()  10x10+-100+-100  +-100+-100
     0x5000009 (has no name): ()  1x1+-1+-1  +-1+-1
     0x5000001 "Xfce Terminal": ("xfce4-terminal" "Xfce4-terminal")  10x10+10+10  +10+10
     0x4a00003 (has no name): ()  1x1+-1+-1  +-1+-1
     0x4a00001 "xfrun4": ("xfrun4" "Xfrun4")  10x10+10+10  +10+10
     0x4600309 "Xfce Forums": ("Firefox" "Firefox")  95x30+1248+133  +1248+133
        1 child:
        0x46008d6 (has no name): ()  1x1+-1+-1  +1247+132
     0x4c00003 "xfce4-session": ("xfce4-session" "Xfce4-session")  800x543+566+24  +566+24
        1 child:
        0x4c00004 (has no name): ()  1x1+-1+-1  +565+23
     0x4800009 (has no name): ()  1x1+-1+-1  +-1+-1
     0x4800001 "Mousepad": ("mousepad" "Mousepad")  10x10+10+10  +10+10
     0x2200061 "Whisker Menu": ("wrapper-2.0" "Wrapper-2.0")  1302x743+64+25  +64+25
        1 child:
        0x2200062 (has no name): ()  1x1+-1+-1  +63+24
     0x4c001e5 "xfce4-session": ()  10x10+-100+-100  +-100+-100
     0x4c00009 (has no name): ()  1x1+-1+-1  +-1+-1
     0x4c00001 "xfce4-session": ("xfce4-session" "Xfce4-session")  10x10+10+10  +10+10
     0x4000b2 (has no name): ()  1x1+-1+-1  +-1+-1
     0x2400b04 "catfish": ()  10x10+-100+-100  +-100+-100
     0x2a015ce "Thunar": ("Thunar" "Thunar")  174x37+0+0  +0+0
        1 child:
        0x2a015cf (has no name): ()  1x1+-1+-1  +-1+-1
     0x240001e "catfish": ("catfish" "Catfish")  2x2+0+0  +0+0
        1 child:
        0x240001f (has no name): ()  1x1+-1+-1  +-1+-1
     0x2400003 (has no name): ()  1x1+-1+-1  +-1+-1
     0x2400001 "catfish": ("catfish" "")  10x10+10+10  +10+10
     0x2a0108f "Thunar": ("Thunar" "Thunar")  253x437+974+16  +974+16
        1 child:
        0x2a01090 (has no name): ()  1x1+-1+-1  +973+15
     0x2a0002d "Thunar": ("Thunar" "Thunar")  2x2+0+0  +0+0
        1 child:
        0x2a0002e (has no name): ()  1x1+-1+-1  +-1+-1
     0x2a00016 "Thunar": ()  10x10+-100+-100  +-100+-100
     0x2a00003 (has no name): ()  1x1+-1+-1  +-1+-1
     0x3000256 "xfdesktop": ()  10x10+-100+-100  +-100+-100
     0x4600989 "Firefox": ("Firefox" "Firefox")  1287x182+67+287  +67+287
        1 child:
        0x46009ba (has no name): ()  1x1+-1+-1  +66+286
     0x46008d9 "Firefox": ("Firefox" "Firefox")  262x206+597+489  +597+489
        1 child:
        0x4600986 (has no name): ()  1x1+-1+-1  +596+488
     0x46002c6 "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        0x4600306 (has no name): ()  1x1+-1+-1  +-1+-1
     0x460014c "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        0x460019e (has no name): ()  1x1+-1+-1  +-1+-1
     0x2e00003 (has no name): ()  1x1+-1+-1  +-1+-1
     0x46000e0 "Open a new tab (Ctrl+T)": ("Firefox" "Firefox")  171x30+196+81  +196+81
        1 child:
        0x4600149 (has no name): ()  1x1+-1+-1  +195+80
     0x460007a "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        0x46000c0 (has no name): ()  1x1+-1+-1  +-1+-1
     0x4600048 (has no name): ("firefox" "Firefox")  100x100+0+0  +0+0
        1 child:
        0x4600052 (has no name): ()  1x1+-1+-1  +-1+-1
     0x460003f "Firefox": ()  10x10+-100+-100  +-100+-100
     0x4600001 "Firefox": ("firefox" "Firefox")  10x10+10+10  +10+10
     0x3e00001 "redshift-gtk": ("redshift-gtk" "")  10x10+10+10  +10+10
     0x3800029 (has no name): ()  1x1+-1+-1  +-1+-1
     0x340006a (has no name): ()  1x1+-1+-1  +-1+-1
     0x1c00008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x3400047 "Notes": ()  10x10+-100+-100  +-100+-100
     0x4000001 "polkit-gnome-authentication-agent-1": ("polkit-gnome-authentication-agent-1" "Polkit-gnome-authentication-agent-1")  10x10+10+10  +10+10
     0x4200001 "xfce4-power-manager": ("xfce4-power-manager" "Xfce4-power-manager")  10x10+10+10  +10+10
     0x3800001 "NetworkManager Applet": ("nm-applet" "Nm-applet")  10x10+10+10  +10+10
     0x3400001 "Notes": ("xfce4-notes" "Xfce4-notes")  10x10+10+10  +10+10
        1 child:
        0x3400002 (has no name): ()  1x1+-1+-1  +9+9
     0x3000003 (has no name): ()  1x1+-1+-1  +-1+-1
     0x1e00008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x1800008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x3000001 "xfdesktop": ("xfdesktop" "Xfdesktop")  10x10+10+10  +10+10
     0x2600008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x2000008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x1000008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x2a00001 "Thunar": ("Thunar" "Thunar")  10x10+10+10  +10+10
     0x2200008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x1a0000b (has no name): ()  1x1+-1+-1  +-1+-1
     0x2e00001 "xfce4-notifyd": ("xfce4-notifyd" "Xfce4-notifyd")  10x10+10+10  +10+10
     0x1a00007 "wrapper-2.0": ()  10x10+-100+-100  +-100+-100
     0x1600008 (has no name): ()  1x1+-1+-1  +-1+-1
     0x2800001 "bamfdaemon": ("bamfdaemon" "Bamfdaemon")  10x10+10+10  +10+10
     0x2600001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0xc00003 (has no name): ()  10x10+0+0  +0+0
     0x2200001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x2000001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1c00001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1600001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1e00001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1a00001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1800001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0x1000001 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  10x10+10+10  +10+10
     0xa003cc (has no name): ()  734x502+0+0  +0+0
     0xe00003 (has no name): ()  1x1+-1+-1  +-1+-1
     0xc00002 (has no name): ()  1x1+-1+-1  +-1+-1
     0xe00001 "xfce4-panel": ("xfce4-panel" "Xfce4-panel")  10x10+10+10  +10+10
     0xc00001 "xfsettingsd": ("xfsettingsd" "Xfsettingsd")  10x10+10+10  +10+10
     0xa000b9 (has no name): ()  1x1+-1+-1  +-1+-1
     0xa000ae "Xfwm4": ("xfwm4" "Xfwm4")  5x5+-1000+-1000  +-1000+-1000
        1 child:
        0xa000af (has no name): ()  1x1+-1+-1  +-1001+-1001
     0xa000ac (has no name): ()  10x10+-100+-100  +-100+-100
     0xa00001 "xfwm4": ("xfwm4" "Xfwm4")  10x10+10+10  +10+10
     0x400002 (has no name): ()  1x1+1+1  +1+1
     0x800002 "xfce4-screensaver": ()  10x10+-100+-100  +-100+-100
     0x800001 "xfce4-screensaver": ("xfce4-screensaver" "Xfce4-screensaver")  10x10+10+10  +10+10
     0x400001 "xfce4-session": ("xfce4-session" "Xfce4-session")  10x10+10+10  +10+10
     0xa000b2 (has no name): ()  1x768+-1+0  +-1+0
     0xa000b3 (has no name): ()  1x768+1366+0  +1366+0
     0xa000b4 (has no name): ()  1366x1+0+-1  +0+-1
     0xa000b5 (has no name): ()  1366x1+0+768  +0+768
     0xa003d8 (has no name): ()  65x744+0+24  +0+24
        16 children:
        0xe00013 "xfce4-panel": ("xfce4-panel" "Xfce4-panel")  65x744+0+0  +0+24
           3 children:
           0xe00018 (has no name): ()  64x64+0+680  +0+704
              1 child:
              0x2600003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  64x64+0+0  +0+704
                 1 child:
                 0x2600004 (has no name): ()  1x1+-1+-1  +-1+703
           0xe00017 (has no name): ()  64x64+0+1  +0+25
              1 child:
              0x2200003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  64x64+0+0  +0+25
                 1 child:
                 0x2200004 (has no name): ()  1x1+-1+-1  +-1+24
           0xe00014 (has no name): ()  1x1+-1+-1  +-1+23
        0xa003e7 (has no name): ()  1x1+0+0  +0+24
        0xa003e6 (has no name): ()  1x1+0+0  +0+24
        0xa003e5 (has no name): ()  1x1+0+0  +0+24
        0xa003e4 (has no name): ()  1x1+0+0  +0+24
        0xa003e3 (has no name): ()  1x1+0+0  +0+24
        0xa003e2 (has no name): ()  1x1+0+0  +0+24
        0xa003e1 (has no name): ()  1x1+0+0  +0+24
        0xa003e0 (has no name): ()  1x1+0+0  +0+24
        0xa003df (has no name): ()  1x1+0+0  +0+24
        0xa003de (has no name): ()  1x1+0+0  +0+24
        0xa003dd (has no name): ()  1x1+0+0  +0+24
        0xa003dc (has no name): ()  1x1+0+0  +0+24
        0xa003db (has no name): ()  1x1+0+0  +0+24
        0xa003da (has no name): ()  1x1+0+0  +0+24
        0xa003d9 (has no name): ()  1x1+0+0  +0+24
     0xa003ab (has no name): ()  1366x24+0+0  +0+0
        16 children:
        0xe00008 "xfce4-panel": ("xfce4-panel" "Xfce4-panel")  1366x24+0+0  +0+0
           8 children:
           0xe00012 (has no name): ()  32x24+1334+0  +1334+0
              1 child:
              0x2000003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  32x24+0+0  +1334+0
                 1 child:
                 0x2000004 (has no name): ()  1x1+-1+-1  +1333+-1
           0xe00011 (has no name): ()  32x24+1231+0  +1231+0
              1 child:
              0x1c00003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  32x24+0+0  +1231+0
                 1 child:
                 0x1c00004 (has no name): ()  1x1+-1+-1  +1230+-1
           0xe00010 (has no name): ()  32x24+1199+0  +1199+0
              1 child:
              0x1e00003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  32x24+0+0  +1199+0
                 1 child:
                 0x1e00004 (has no name): ()  1x1+-1+-1  +1198+-1
           0xe0000f (has no name): ()  28x24+1171+0  +1171+0
              1 child:
              0x1800003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  28x24+0+0  +1171+0
                 1 child:
                 0x1800004 (has no name): ()  1x1+-1+-1  +1170+-1
           0xe0000e (has no name): ()  64x24+1107+0  +1107+0
              1 child:
              0x1600003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  64x24+0+0  +1107+0
                 1 child:
                 0x1600004 (has no name): ()  1x1+-1+-1  +1106+-1
           0xe0000d (has no name): ()  24x24+1075+0  +1075+0
              1 child:
              0x1a00003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  24x24+0+0  +1075+0
                 2 children:
                 0x1a00012 (has no name): ()  22x22+1+1  +1076+1
                    1 child:
                    0x3400022 "Notes": ("xfce4-notes" "Xfce4-notes")  22x22+0+0  +1076+1
                       1 child:
                       0x3400023 (has no name): ()  1x1+-1+-1  +1075+0
                 0x1a00004 (has no name): ()  1x1+-1+-1  +1074+-1
           0xe0000c (has no name): ()  1075x24+0+0  +0+0
              1 child:
              0x1000003 "wrapper-2.0": ("wrapper-2.0" "Wrapper-2.0")  1075x24+0+0  +0+0
                 1 child:
                 0x1000004 (has no name): ()  1x1+-1+-1  +-1+-1
           0xe00009 (has no name): ()  1x1+-1+-1  +-1+-1
        0xa003ba (has no name): ()  1x1+0+0  +0+0
        0xa003b9 (has no name): ()  1x1+0+0  +0+0
        0xa003b8 (has no name): ()  1x1+0+0  +0+0
        0xa003b7 (has no name): ()  1x1+0+0  +0+0
        0xa003b6 (has no name): ()  1x1+0+0  +0+0
        0xa003b5 (has no name): ()  1x1+0+0  +0+0
        0xa003b4 (has no name): ()  1x1+0+0  +0+0
        0xa003b3 (has no name): ()  1x1+0+0  +0+0
        0xa003b2 (has no name): ()  1x1+0+0  +0+0
        0xa003b1 (has no name): ()  1x1+0+0  +0+0
        0xa003b0 (has no name): ()  1x1+0+0  +0+0
        0xa003af (has no name): ()  1x1+0+0  +0+0
        0xa003ae (has no name): ()  1x1+0+0  +0+0
        0xa003ad (has no name): ()  1x1+0+0  +0+0
        0xa003ac (has no name): ()  1x1+0+0  +0+0
     0xa8f813 (has no name): ()  734x502+65+24  +65+24
        16 children:
        0x5000003 "Terminal - kbar@hp: ~": ("xfce4-terminal" "Xfce4-terminal")  734x474+0+28  +65+52
           1 child:
           0x5000004 (has no name): ()  1x1+-1+-1  +64+51
        0xa8f822 (has no name): ()  19x19+6+5  +71+29
        0xa8f821 (has no name): ()  19x19+44+5  +109+29
        0xa8f820 (has no name): ()  19x19+25+5  +90+29
        0xa8f81f (has no name): ()  1x1+0+0  +65+24
        0xa8f81e (has no name): ()  1x1+0+0  +65+24
        0xa8f81d (has no name): ()  1x1+0+0  +65+24
        0xa8f81c (has no name): ()  722x3+6+0  +71+24
        0xa8f81b (has no name): ()  722x28+6+0  +71+24
        0xa8f81a (has no name): ()  6x28+728+0  +793+24
        0xa8f819 (has no name): ()  6x28+0+0  +65+24
        0xa8f818 (has no name): ()  1x1+0+0  +65+24
        0xa8f817 (has no name): ()  1x1+0+0  +65+24
        0xa8f816 (has no name): ()  1x1+0+0  +65+24
        0xa8f815 (has no name): ()  1x1+0+0  +65+24
        0xa8f814 (has no name): ()  1x1+0+0  +65+24
     0xa792e4 (has no name): ()  1301x744+65+24  +65+24
        16 children:
        0x4800003 "/home/kbar/xfce4-session-4.14.2/xfce4-session/xfsm-fadeout.c - Mousepad": ("mousepad" "Mousepad")  1301x716+0+28  +65+52
           1 child:
           0x4800004 (has no name): ()  1x1+-1+-1  +64+51
        0xa792f3 (has no name): ()  19x19+6+5  +71+29
        0xa792f2 (has no name): ()  19x19+44+5  +109+29
        0xa792f1 (has no name): ()  19x19+25+5  +90+29
        0xa792f0 (has no name): ()  1x1+0+0  +65+24
        0xa792ef (has no name): ()  1x1+0+0  +65+24
        0xa792ee (has no name): ()  1x1+0+0  +65+24
        0xa792ed (has no name): ()  1x1+0+0  +65+24
        0xa792ec (has no name): ()  1301x28+0+0  +65+24
        0xa792eb (has no name): ()  1x1+0+0  +65+24
        0xa792ea (has no name): ()  1x1+0+0  +65+24
        0xa792e9 (has no name): ()  1x1+0+0  +65+24
        0xa792e8 (has no name): ()  1x1+0+0  +65+24
        0xa792e7 (has no name): ()  1x1+0+0  +65+24
        0xa792e6 (has no name): ()  1x1+0+0  +65+24
        0xa792e5 (has no name): ()  1x1+0+0  +65+24
     0xa00a95 (has no name): ()  1301x744+65+24  +65+24
        16 children:
        0x4600031 "Xfce Forums — Mozilla Firefox": ("Navigator" "Firefox")  1301x716+0+28  +65+52
           2 children:
           0x460003e (has no name): ()  1301x716+0+0  +65+52
           0x4600032 (has no name): ()  1x1+-1+-1  +64+51
        0xa00aa4 (has no name): ()  19x19+6+5  +71+29
        0xa00aa3 (has no name): ()  19x19+44+5  +109+29
        0xa00aa2 (has no name): ()  19x19+25+5  +90+29
        0xa00aa1 (has no name): ()  1x1+0+0  +65+24
        0xa00aa0 (has no name): ()  1x1+0+0  +65+24
        0xa00a9f (has no name): ()  1x1+0+0  +65+24
        0xa00a9e (has no name): ()  1x1+0+0  +65+24
        0xa00a9d (has no name): ()  1301x28+0+0  +65+24
        0xa00a9c (has no name): ()  1x1+0+0  +65+24
        0xa00a9b (has no name): ()  1x1+0+0  +65+24
        0xa00a9a (has no name): ()  1x1+0+0  +65+24
        0xa00a99 (has no name): ()  1x1+0+0  +65+24
        0xa00a98 (has no name): ()  1x1+0+0  +65+24
        0xa00a97 (has no name): ()  1x1+0+0  +65+24
        0xa00a96 (has no name): ()  1x1+0+0  +65+24
     0xa0833a (has no name): ()  1301x744+65+24  +65+24
        16 children:
        0x2a00007 "kbar - File Manager": ("Thunar" "Thunar")  1301x716+0+28  +65+52
           1 child:
           0x2a00008 (has no name): ()  1x1+-1+-1  +64+51
        0xa08349 (has no name): ()  19x19+6+5  +71+29
        0xa08348 (has no name): ()  19x19+44+5  +109+29
        0xa08347 (has no name): ()  19x19+25+5  +90+29
        0xa08346 (has no name): ()  1x1+0+0  +65+24
        0xa08345 (has no name): ()  1x1+0+0  +65+24
        0xa08344 (has no name): ()  1x1+0+0  +65+24
        0xa08343 (has no name): ()  1x1+0+0  +65+24
        0xa08342 (has no name): ()  1301x28+0+0  +65+24
        0xa08341 (has no name): ()  1x1+0+0  +65+24
        0xa08340 (has no name): ()  1x1+0+0  +65+24
        0xa0833f (has no name): ()  1x1+0+0  +65+24
        0xa0833e (has no name): ()  1x1+0+0  +65+24
        0xa0833d (has no name): ()  1x1+0+0  +65+24
        0xa0833c (has no name): ()  1x1+0+0  +65+24
        0xa0833b (has no name): ()  1x1+0+0  +65+24
     0xa0aba9 (has no name): ()  1301x744+65+24  +65+24
        16 children:
        0x2400007 "Search results for "fadeout"": ("catfish" "Catfish")  1301x716+0+28  +65+52
           1 child:
           0x2400008 (has no name): ()  1x1+-1+-1  +64+51
        0xa0abb8 (has no name): ()  19x19+6+5  +71+29
        0xa0abb7 (has no name): ()  19x19+44+5  +109+29
        0xa0abb6 (has no name): ()  19x19+25+5  +90+29
        0xa0abb5 (has no name): ()  1x1+0+0  +65+24
        0xa0abb4 (has no name): ()  1x1+0+0  +65+24
        0xa0abb3 (has no name): ()  1x1+0+0  +65+24
        0xa0abb2 (has no name): ()  1x1+0+0  +65+24
        0xa0abb1 (has no name): ()  1301x28+0+0  +65+24
        0xa0abb0 (has no name): ()  1x1+0+0  +65+24
        0xa0abaf (has no name): ()  1x1+0+0  +65+24
        0xa0abae (has no name): ()  1x1+0+0  +65+24
        0xa0abad (has no name): ()  1x1+0+0  +65+24
        0xa0abac (has no name): ()  1x1+0+0  +65+24
        0xa0abab (has no name): ()  1x1+0+0  +65+24
        0xa0abaa (has no name): ()  1x1+0+0  +65+24
     0xa00581 (has no name): ()  1366x768+0+0  +0+0
        16 children:
        0x30000a6 "Desktop": ("xfdesktop" "Xfdesktop")  1366x768+0+0  +0+0
           1 child:
           0x30000a7 (has no name): ()  1x1+-1+-1  +-1+-1
        0xa00590 (has no name): ()  1x1+0+0  +0+0
        0xa0058f (has no name): ()  1x1+0+0  +0+0
        0xa0058e (has no name): ()  1x1+0+0  +0+0
        0xa0058d (has no name): ()  1x1+0+0  +0+0
        0xa0058c (has no name): ()  1x1+0+0  +0+0
        0xa0058b (has no name): ()  1x1+0+0  +0+0
        0xa0058a (has no name): ()  1x1+0+0  +0+0
        0xa00589 (has no name): ()  1x1+0+0  +0+0
        0xa00588 (has no name): ()  1x1+0+0  +0+0
        0xa00587 (has no name): ()  1x1+0+0  +0+0
        0xa00586 (has no name): ()  1x1+0+0  +0+0
        0xa00585 (has no name): ()  1x1+0+0  +0+0
        0xa00584 (has no name): ()  1x1+0+0  +0+0
        0xa00583 (has no name): ()  1x1+0+0  +0+0
        0xa00582 (has no name): ()  1x1+0+0  +0+0

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1366
  Height: 768
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 1366x768+0+0

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      ButtonPress
      ButtonRelease
      Exposure
      StructureNotify
      SubstructureNotify
      SubstructureRedirect
      FocusChange
      PropertyChange
      ColormapChange
  Do not propagate these events:
  Override redirection?: No

  No window manager hints defined
  Window manager hints:
      Process id: (unknown)

  No normal window size hints defined
  No zoom window size hints defined

  No window shape defined
  No border shape defined

Last edited by KBar (2022-01-05 18:34:36)


Xubuntu 20.04

Offline

#49 2022-01-05 18:55:26

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

Got its Xprops:

xfce4-session-logout; sleep 1s; xwininfo -root -all | sed --silent '7p' | xprop -id $(awk '{print $1}')
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x400001
XdndAware(ATOM) = BITMAP
_GTK_MENUBAR_OBJECT_PATH(UTF8_STRING) = "/org/appmenu/gtk/window/37"
_UNITY_OBJECT_PATH(UTF8_STRING) = "/org/appmenu/gtk/window/37"
_GTK_UNIQUE_BUS_NAME(UTF8_STRING) = ":1.7"
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 328, 220
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 4198190, 4198191
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x400f2d
WM_CLIENT_LEADER(WINDOW): window id # 0x400001
_NET_WM_PID(CARDINAL) = 954
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "hp"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 328 by 220
		program specified maximum size: 328 by 220
		program specified base size: 0 by 0
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xfce4-session", "Xfce4-session"
WM_ICON_NAME(STRING) = "xfce4-session"
_NET_WM_ICON_NAME(UTF8_STRING) = "xfce4-session"
WM_NAME(STRING) = "xfce4-session"
_NET_WM_NAME(UTF8_STRING) = "xfce4-session"

The reason for using xwininfo is that it doesn't appear in wmctrl's list.

Last edited by KBar (2022-01-05 19:05:24)


Xubuntu 20.04

Offline

#50 2022-01-06 13:25:20

KBar
Member
Registered: 2021-11-05
Posts: 378

Re: Recreating Unity in Xubuntu

UPDATE: nevermind, this does exactly that:

#xfwm-tabwin label { font-size: 0px; }

#xfwm-tabwin button label { color: @dark_fg_color; font-size: 14px}

How do I hide the label at the very bottom?
uDTR6nDl.png

When I do something like this:

#xfwm-tabwin label { font-size: 0px; }

the button labels disappear as well:
ffneXg2l.png

Regarding the logout dialog, adding a border-image (semi-transparent with rounded corners like in xfwm-tabwin) didn't make any difference. Here's another example:

dialog.xfsm-logout-dialog { border: 20px dotted; background: alpha(@average_bg, 0.9) padding-box; }

NWY7FVul.png

I noticed that the dialog geometries are at constant size. Borders are drawn inwards.

Also, I'd like to get rid of the checkbutton. `dialog.xfsm-logout-dialog .text-button { opacity: 0; }` does it in a way, but maybe there is an xfconf property (like ShowSuspend boolean, etc.)?

Last edited by KBar (2022-01-06 13:51:51)


Xubuntu 20.04

Offline

Board footer

Powered by FluxBB