This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
My setup is the following: I use i3wm on Plasma desktop with SDDM on Arch Linux. I have noticed, since the very beginning, that when my laptop wakes up from hibernate the KDE lockscreen comes up with the password prompt. The lockscreen takes a few seconds to load and meanwhile the window, on which I was working before my laptop hibernated, shows up. This happens before the lockscreen loads and thus before I put in my password. This is not secure and is a serious issue as my active window is clearly shown even though for a couple of seconds.
I also noticed another issue. Since I use the Plasma background apps and services, the location of the KDE notifications sometimes shows up in the centre of the screen randomly. This only happens when I login into my user and the location stays the same. For example, if I find that the notification showed up in the centre of the screen, it stays the same for the rest of the session. I tried to use the i3wm config for the location and also use a script to redirect the window to the specific location. The script is shown below(I took the following script from another Reddit post. I am sorry for not citing the source). The problem still persists.
My log file is: https://logs.i3wm.org/logs/5693411524870144.bz2
I have used the following script to change the location of the notifications generated by plasma
#!/usr/bin/env bash
################# GET INFO of current screen
OFFSET_RE="\ ([-0-9] )\ ([-0-9] )"
# Get the active window position
unset x y w h
eval $(xwininfo -id $(xdotool getactivewindow) |
sed -n -e "s/^ \ Absolute upper-left X: \ \([0-9]\ \).*/x=\1/p" \
-e "s/^ \ Absolute upper-left Y: \ \([0-9]\ \).*/y=\1/p" \
-e "s/^ \ Width: \ \([0-9]\ \).*/w=\1/p" \
-e "s/^ \ Height: \ \([0-9]\ \).*/h=\1/p" )
# Loop through each screen and compare the offset with the window position (top left) to find the active monitor
monitor_index=0
while read name width height xoff yoff
do
if [ "${x}" -ge "$xoff" \
-a "${y}" -ge "$yoff" \
-a "${x}" -lt "$(($xoff $width))" \
-a "${y}" -lt "$(($yoff $height))" ]
then
monitor=$name
break
fi
((monitor_index ))
done < &2
exit 1
fi
My i3 config is: https://pastebin.com/aFhZPj9T
I will provide you with any other info as needed.
This is my i3 - version
Binary i3 version: 4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 723) abort…)
Loaded i3 config: /home/saipavanc/.config/i3/config (Last modified: Mon 05 Aug 2019 05:00:24 PM IST, 501675 seconds ago)
The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: /usr/bin/i3
The following is the excerpt from my journal after my hibernation: https://pastebin.com/6Yc9egRk
Any help will be highly appreciated.
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/i3wm/commen...