Skip to content

I want to remove the border [i3] and the shadow [compton] to splash window, but, I don't know what I'm doing

As the title says, I want to remove the borders and shadows from all splash windows however I don't know what I'm doing.

I used xprop and clicked over a splash window (that of RetroShare 0.6), the interesting bit is this:

WM_CLIENT_LEADER(WINDOW): window id # 0x3200014
_NET_WM_PID(CARDINAL) = 28577
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_SPLASH, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NAME(STRING) = "retroshare06"

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_SPLASH, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL have something meaningful for me, but I don't know what to do, should I use the _NET_WM_WINDOW_TYPE_SPLASH value? how? I did this mess in my compton.conf file:

# shadow-blue = 0.0;
shadow-exclude = [
	"name = 'Notification'",
	"class_g = 'Conky'",
	"class_g ?= 'Notify-osd'",
	"class_g = 'Cairo-clock'",
	"_GTK_FRAME_EXTENTS@:c",
        "_NET_WM_WINDOW_TYPE_SPLASH:c"
];
# shadow-exclude = "n:e:Notification";

This doesn't work.

EDIT: I find out the correct way, is this:

# Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
  splash = { fade = false; shadow = false; };
};

~~But I'm still stuck with i3 rules...

May can somebody help me?~~

Thanks!

EDIT 2: Uh, I got that solve too!:

for_window [window_role="splash"] floating enable, border none

Edited 3 Aug 2015. We only hold this version.

6 points5 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
6 · 100% up
Kind
Text
ID
3fl2bj

Author

56
posts
146
comments
11
media
View profile

5 comments

Thank you for actually posting your solutions so others can reference it!

3 points

You're welcome!

Is because I hate that people that post things like "oh, forget it I solved my problem, lol" and don't post anything helpful for others :)

2 points

Congratz on solving it all by yourself. If you have any other questions regarding i3 I'd say you jump over to /r/i3wm.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.