Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent emacs #29

Open
JustGold3n opened this issue Apr 11, 2023 · 6 comments
Open

Transparent emacs #29

JustGold3n opened this issue Apr 11, 2023 · 6 comments

Comments

@JustGold3n
Copy link

Hello,
After installing emacs it turned nearly transparent, even when it was master and in focus

pic-selected-230411-1011-01

@FT-Labs
Copy link
Owner

FT-Labs commented Apr 11, 2023

Could you

'''xprop''' then click emacs
And then send the output to here ?

@JustGold3n
Copy link
Author

This is the output of xprop en emacs
`_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 1, 0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0xe00158
bitmap id # of mask for icon: 0xe0015e
window id # of group leader: 0xe00001
_GTK_THEME_VARIANT(UTF8_STRING) =
_NET_WM_WINDOW_OPACITY(CARDINAL) = 858993459
_NET_WM_ICON(CARDINAL) = Icon (48 x 48):
(not shown)

XdndAware(ATOM) = BITMAP
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 846, 992
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 14680384, 14680385
_NET_WM_USER_TIME(CARDINAL) = 187182
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0xe0013f
WM_CLIENT_LEADER(WINDOW): window id # 0xe00001
_NET_WM_PID(CARDINAL) = 1607
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "PureCargo"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 24 by 17
program specified resize increment: 1 by 1
program specified base size: 24 by 17
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "emacs", "Emacs"
WM_ICON_NAME(COMPOUND_TEXT) = "doom \033$(G!9\033(B Doom Emacs"
_NET_WM_ICON_NAME(UTF8_STRING) = "doom – Doom Emacs"
WM_NAME(COMPOUND_TEXT) = "doom – Doom Emacs"
_NET_WM_NAME(UTF8_STRING) = "doom – Doom Emacs"`

@FT-Labs
Copy link
Owner

FT-Labs commented Apr 11, 2023

Could you please change ~/.config/picom/picom.conf, and set the transparency options like below?

opacity-rule = [
"100:class_g = 'St' && focused",
"50:class_g = 'St' && !focused",
"100:class_g = 'emacs' && focused",
"100:fullscreen",
];

@JustGold3n
Copy link
Author

JustGold3n commented Apr 12, 2023

I changed it it remains the same, there is the output of xprop `_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 2, 0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x1e00158
bitmap id # of mask for icon: 0x1e0015e
window id # of group leader: 0x1e00001
_GTK_THEME_VARIANT(UTF8_STRING) =
_NET_WM_WINDOW_OPACITY(CARDINAL) = 858993459
_NET_WM_ICON(CARDINAL) = Icon (48 x 48):
(not shown)

XdndAware(ATOM) = BITMAP
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 846, 992
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 31457600, 31457601
_NET_WM_USER_TIME(CARDINAL) = 187451
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1e0013f
WM_CLIENT_LEADER(WINDOW): window id # 0x1e00001
_NET_WM_PID(CARDINAL) = 3128
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "PureCargo"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 24 by 17
program specified resize increment: 1 by 1
program specified base size: 24 by 17
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "emacs", "Emacs"
WM_ICON_NAME(COMPOUND_TEXT) = "doom \033$(G!9\033(B Doom Emacs"
_NET_WM_ICON_NAME(UTF8_STRING) = "doom – Doom Emacs"
WM_NAME(COMPOUND_TEXT) = "doom – Doom Emacs"
_NET_WM_NAME(UTF8_STRING) = "doom – Doom Emacs"WM_ICON_NAME(COMPOUND_TEXT) = "doom \033$(G!9\033(B Doom Emacs"
_NET_WM_ICON_NAME(UTF8_STRING) = "doom – Doom Emacs"
WM_NAME(COMPOUND_TEXT) = "doom – Doom Emacs"
_NET_WM_NAME(UTF8_STRING) = "doom – Doom Emacs"`

@FT-Labs
Copy link
Owner

FT-Labs commented Apr 16, 2023

How about this one?

opacity-rule = [
"100:class_g = 'St' && focused",
"50:class_g = 'St' && !focused",
"100:class_g = 'Emacs' && focused",
"100:fullscreen",
];

@JustGold3n
Copy link
Author

Still the same, however i found a way if launched from terminal with flags -nw it works, but im not shure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants