You are not logged in.

#1 2014-10-23 07:55:37

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Evince (GTK3?) doesn't actually run fullscreen - has a big border

Evince (and perhaps other applications) doesn't fill it's available space. There's an big transparent border around the content that I don't know how to get rid of.

This must have been because of a very recent upgrade, but I don't know which one.

Both my ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini has gtk-theme-name="ClearLooks" (and 3.0 without quotes).

See http://imgur.com/sbHOTOk

Any idea how I can fix this?

~/.gtkrc-2.0:

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

include "/home/simendsjo/.gtkrc-2.0.mine"
gtk-theme-name="Clearlooks"
gtk-icon-theme-name="gnome"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Neutral"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"

~/.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=Clearlooks
gtk-icon-theme-name=gnome
gtk-font-name=Cantarell 11
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=true
gtk-menu-images=true
gtk-enable-event-sounds=true
gtk-enable-input-feedback-sounds=true
gtk-xft-antialias=true
gtk-xft-hinting=true
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Neutral

Offline

#2 2014-10-23 08:18:59

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

I noticed the same since latest gtk update.
It happens with evince,gedit,file-roller and possibly some more. But not with all gtk apps though.
I'm using xmonad.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#3 2014-10-25 08:00:17

antiqiuty
Member
Registered: 2014-09-12
Posts: 11

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

I have seen the same problem here for most of the pdf files. But for some other files, the transparent margin gone. Also, the same intermittent phenomenon happens to the toolbar.
Some pdf file will show the toolbar, some don't. In that case, toolbar hides until hitting <c-l> and hides again after pressing <esc>.

I am using i3wm.

Offline

#4 2014-10-25 08:10:48

null
Member
Registered: 2009-05-06
Posts: 398

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

Try this is your gtk.css in the theme against the gap:

.window-frame, .window-frame:backdrop {
 box-shadow: 0 0 0 black;
 border-style: none;
 margin: 0;
 border-radius: 0;
}

.titlebar {
 border-radius: 0;
}

Last edited by null (2014-10-25 08:11:13)

Offline

#5 2014-10-25 08:32:54

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

null wrote:

Try this is your gtk.css in the theme against the gap:

You don't have to change your theme. Just create the file ~/.config/gtk-3.0/gtk.css with the following content:

.window-frame, .window-frame:backdrop {
 box-shadow: 0 0 0 black;
 border-style: none;
 margin: 0;
 border-radius: 0;
}

.titlebar {
 border-radius: 0;
}

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2014-10-25 08:41:12

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

Thanks, that did the trick for me.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#7 2014-10-25 15:02:39

pengw
Member
Registered: 2014-04-03
Posts: 5

Re: Evince (GTK3?) doesn't actually run fullscreen - has a big border

progandy wrote:

You don't have to change your theme. Just create the file ~/.config/gtk-3.0/gtk.css with the following content:
.window-frame, .window-frame:backdrop {
box-shadow: 0 0 0 black;
border-style: none;
margin: 0;
border-radius: 0;
}

.titlebar {
border-radius: 0;
}

Thanks, @progandy. That solves the problem that holds off the evince-3.14.1-2 upgrade.

Offline

Board footer

Powered by FluxBB