You are not logged in.
I am on Xubuntu 18.04 LTS.
Since the switch from 16.04 LTS to 18.04 LTS, my PDF Document Viewer (evince) looks strange: the window borders (window decorations?) do not seem to respect the xfce style settings. The window borders look and behave different from other programs. Also, evince does not seem to respect the X mouse setting which I like and have activated ("focus follows mouse, no pop up"). Can I do s/th to make evince look and behave more like other xfce programs? It did in 16.04, I never had a problem... until 18.04. A PDF viewer is very important to me.
Last edited by gojira (2020-03-29 17:52:30)
Offline
evince is Gnome's pdf viewer, and as such, it makes use of headerbars and CSD. That is what you are seeing. Instead of evince, use atril. It is a fork of evince but without the headerbars.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
@gojira I have asked some time ago about window decoration on some apps, especially for Evince, I had an answer maybe from ToZ (I don't remember) and the issue is that some apps are CSD (client side decoration) and the others are not. You can set a specific window decoration for an app(I mean any app) using in the launcher env GTK_CSD=1 and the Theme too using env GTK_THEME="name of the Theme", all together--> env GTK_CSD=1 GTK_THEME="name of the Theme" appname
Offline
http://i.imgur.com/7GfNkhS.png (link to Evince screenshot with shadow margin/borders around the window)
The code to make shadow margin/borders around the windows:
decoration {
border-radius: 6px 6px 0 0;
border-width: 4px;
box-shadow: 0px 0px 2px 19px rgba(162, 187, 236, 0.26);
/*box-shadow: 1px 14px 14px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
margin: 19px;}
decoration:backdrop{
border-radius: 6px 6px 0 0;
border-width: 3px;
/*box-shadow: 1px 7px 7px 7px rgba(0, 0, 0, 0.26);*/
box-shadow: 1px 14px 14px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);
margin: 19px;}
Offline
I had a help from Aravisian .you can see all post in Themes section .
Offline
https://imgur.com/gallery/0rIgpa6 (link to my Thunar screenshot)
with customized window decoration .
Offline
[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 531.86 KiB (Peak: 532.7 KiB) ]