Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-28 04:11:15

gojira
Member
Registered: 2012-11-20
Posts: 20

evince does not seem to respect xfce border settings, looks different

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

#2 2020-03-28 11:46:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: evince does not seem to respect xfce border settings, looks different

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

#3 2020-04-01 09:44:39

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: evince does not seem to respect xfce border settings, looks different

@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

#4 2020-04-01 09:46:59

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: evince does not seem to respect xfce border settings, looks different

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

#5 2020-04-01 09:50:36

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: evince does not seem to respect xfce border settings, looks different

I had a help from Aravisian .you can see all post in Themes section .

Offline

#6 2020-04-01 10:49:10

pavloskiv
Member
Registered: 2019-12-19
Posts: 27

Re: evince does not seem to respect xfce border settings, looks different

https://imgur.com/gallery/0rIgpa6 (link to my Thunar screenshot)
with customized window decoration .

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 531.86 KiB (Peak: 532.7 KiB) ]