You are not logged in.

#1 2016-08-31 05:48:11

Waxolunist
Member
Registered: 2016-05-15
Posts: 7

Default Document Viewer and client side decorations

On my bunsenlabs installation a lot of client side decorated applications are running, but I dislike that they don't fit the appealing and simple bunsenlabs / openbox theme, besides the different close buttons are irritating.

So I startet to search for alternatives for each of those applications. The first one to eliminate was the documente viewer / aka evince.

I've found mupdf and suggest it as the default application for bunsenlabs. It is faster, simpler, weighs less and is completely keyboard controllable.

The only caveat I've found so far, is that it does not ask for a password automatically. For that case, I wrote following script called from my desktop files:

#!/bin/bash

CMD="/usr/bin/mupdf $@"
OUTPUT=$($CMD 2>&1)

if [[ $? -ne 0 && $OUTPUT =~ ^.*error:\ Needs\ a\ password.*$ ]]; then
	PASSWORD=$(yad --title="Password for pdf" --text="Enter password for file <b>$1</b>:" --image="dialog-password" --entry --hide-text --center 2> /dev/null)
	/usr/bin/mupdf -p "$PASSWORD" "$@"
else
	/usr/bin/mupdf "$@"
fi

What do you mean?

Offline

#2 2016-08-31 08:19:16

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,754

Re: Default Document Viewer and client side decorations

I have this in my postbang notes

atril is mate version of evince & engrampa is mate version of file-roller

There is also a thread where this stuff was discussed someplace.

Last edited by brontosaurusrex (2016-08-31 08:20:53)

Offline

#3 2016-08-31 10:41:28

Waxolunist
Member
Registered: 2016-05-15
Posts: 7

Re: Default Document Viewer and client side decorations

the mate versions are probably really the way to go

okular is kdebased I think, so would not fit the current bunsenlabs setup, but it has some appealing features.

Offline

#4 2016-08-31 10:43:29

Waxolunist
Member
Registered: 2016-05-15
Posts: 7

Re: Default Document Viewer and client side decorations

when installing atril and engrampa is it save to uninstall evince and fileroller?

Offline

#5 2016-08-31 15:34:37

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Default Document Viewer and client side decorations

Waxolunist wrote:

a lot of client side decorated applications

i suppose this means gtk3.
isn't there a way to globally disable client side decorations?

Offline

#6 2016-08-31 18:29:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Default Document Viewer and client side decorations

Waxolunist wrote:

when installing atril and engrampa is it save to uninstall evince and fileroller?

You can check what will happen by using the "-s" (for "simulate") flag:

aptitude purge -s evince fileroller

If `aptitude` starts asking you to make choices, <Ctrl>+c and leave them alone smile

Or see http://forums.debian.net/viewtopic.php?t=104157

Offline

#7 2016-08-31 21:34:29

ozitraveller
Member
From: Less is More! Devuan powered!
Registered: 2015-10-01
Posts: 32
Website

Re: Default Document Viewer and client side decorations

atril comes with some mate theme dependencies: mate-desktop-common, mate-icon-theme. I use it it's much lighter than evince.

Offline

#8 2016-08-31 22:25:06

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: Default Document Viewer and client side decorations

I'm testing Atril as I type ... nice program  And the theme fits better than Evince


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#9 2016-09-01 04:02:38

ozitraveller
Member
From: Less is More! Devuan powered!
Registered: 2015-10-01
Posts: 32
Website

Re: Default Document Viewer and client side decorations

I was using zathura, then it disppeared.

https://tracker.debian.org/pkg/zathura

Offline

#10 2016-09-01 05:03:12

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Default Document Viewer and client side decorations

Could this all be about the need to further tweak the BunsenLabs GTK3 theming?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2016-09-01 06:08:17

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Default Document Viewer and client side decorations

^ as i said, isn't it possible to globally disable client-side deco in ~/.config/gtk-3.0/settings.ini or some such?
not sure if it affects functionality, but if not, maybe that's the way to go for bunsenlabs?

Offline

#12 2016-09-01 13:38:50

qcgxr
Member
Registered: 2016-08-31
Posts: 29

Re: Default Document Viewer and client side decorations

Tried out both Atril and Engrampa. While both work well, seem light weight, and generally look better, Atril lacks the annotation/highlighting feature that was added to recent versions of Evince (it continues to confound me that the Linux world doesn't seem to need to annotate things, since almost not PDF viewer or ebook reader supports this feature...)

Offline

#13 2016-09-01 17:55:41

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,754

Re: Default Document Viewer and client side decorations

@qcgxr: There is something in Atril (1.14.1), maybe Debian version is not there yet?, same thing in Debian (version 1.8.1).
atril.th.png
http://blogs.perl.org/users/cyocum/2011 … vince.html

Last edited by brontosaurusrex (2016-09-02 10:01:58)

Offline

#14 2016-10-26 20:48:18

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Default Document Viewer and client side decorations

Hmm, I'm just wondering: If I open evince or mupdf, it shows the document but without menu-icons. How do I get access to the different features? I tried F1-F12, the menu-key, right-click, etc. somehow I cannot see the usual layout....

Offline

#15 2016-10-26 20:56:32

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Default Document Viewer and client side decorations

martix wrote:

Hmm, I'm just wondering: If I open evince or mupdf, it shows the document but without menu-icons. How do I get access to the different features? I tried F1-F12, the menu-key, right-click, etc. somehow I cannot see the usual layout....

Have you tried different themes?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2016-10-26 21:09:12

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Default Document Viewer and client side decorations

@damo Thank you!
I had Faenza-Dark-Bunsen and just switched to something else: Now the menu is there on Evince!
For Atril I had the menu icons also with Faenza-Dark-Bunsen.

Offline

#17 2016-10-29 16:50:53

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,157
Website

Re: Default Document Viewer and client side decorations

I'm going to wait till stretch is pending before I change any GTK3 theming, since GNOME is a clusterfuck.

if you use engrampa with thunar, don't forget to add bronto's extraction script for the extract here/create archive context menu entries...

http://crunchbang.org/forums/viewtopic. … 79#p436779
http://crunchbang.org/forums/viewtopic. … 10#p436810


I don't care what you do at home. Would you care to explain?

Online

Board footer

Powered by FluxBB