Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

XFCE-DESKTOP: Evince vs Atril

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

XFCE-DESKTOP: Evince vs Atril

#1 Post by Danielsan »

Hi guys, I had to uninstall Evince in favor of Atril because new release of Evince in Testing requires Nautilus. However that solution remove some packages from Gnome and install other ones from Mate not a very great deal...

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: XFCE-DESKTOP: Evince vs Atril

#2 Post by Bloom »

Since XFCE 4.12 still uses GTK2, it is a bit overkill to use several packages from Gnome 3 like Evince, EOG and File-Roller, since they will add GTK3 libraries to your system. You can save quite a bit of memory by purging those and installing the equivalent ones from MATE:

Code: Select all

sudo apt purge evince eog file-roller
sudo apt -y install atril eom engrampa
To integrate Engrampa with Thunar, there is unfortunately a tap file missing.
Create the following text file engrempa.tap in your home directory:

Code: Select all

#!/bin/sh
#
# engrampa.tap - Wrapper script to create and extract archive files
# in Thunar, via the thunar-archive-plugin, using the
# engrampa archive manager.
#
# $Id: engrampa.tap 1468 2006-07-02 14:02:38Z benny $
#
# Copyright (c) 2006 Benedikt Meurer <benny@xfce.org>.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
#
# determine the action and the folder, $@ then contains only the files
action=$1; shift;
folder=$1; shift;
# check the action
case $action in
create)
exec engrampa "--default-dir=$folder" --add "$@"
;;
extract-here)
exec engrampa "--extract-to=$folder" --force "$@"
;;
extract-to)
exec engrampa --extract "$@"
;;
*)
echo "Unsupported action '$action'" >&2
exit 1
esac
Then do:

Code: Select all

sudo cp engrampa.tap /usr/lib/x86_64-linux-gnu/thunar-archive-plugin/
sudo chmod 755 /usr/lib/x86_64-linux-gnu/thunar-archive-plugin/engrampa.tap
For a 32 bit system, replace x86_64 in the two lines above by i386.

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: XFCE-DESKTOP: Evince vs Atril

#3 Post by Bloom »

I forgot: XFCE normally uses Ristretto as its picture viewer, epdfviewer or xpdf as its document viewer and xarchiver as its universal archives handling program. Unfortunately, they don't work nearly as good or as nice as what Gnome 2 used to have. That's why I replace them on any XFCE desktop I install for myself or for others by eom, atril and engrampa from MATE. Much better!

deborah-and-ian
Posts: 182
Joined: 2016-07-13 08:40

Re: XFCE-DESKTOP: Evince vs Atril

#4 Post by deborah-and-ian »

new release of Evince in Testing requires Nautilus
That's not true.

https://packages.debian.org/buster/evince

Same goes for Atril. It doesn't pull in a bunch of Mate stuff, just 2 small Mate packages that together pull in maybe 3MB of dependencies. The rest is the usual gtk stuff that pretty much every gtk app pulls in.
Debian GNU/Linux 9 Stretch w/Openbox

Acer Aspire E5-521G
AMD A8-6410 APU
4 GB RAM
integrated AMD Mullins
dedicated AMD Hainan Radeon R5 M240 2 GB
240 GB Toshiba Q300 SSD
Realtek RTL8111/8168/8411 ethernet
Qualcomm Atheros QCA9565 wireless

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XFCE-DESKTOP: Evince vs Atril

#5 Post by debiman »

Bloom wrote:Since XFCE 4.12 still uses GTK2, it is a bit overkill to use several packages from Gnome 3 like Evince, EOG and File-Roller, since they will add GTK3 libraries to your system.
xfce4 has been relying on both gtk2 and gtk3 for a long time now, so the libraries are likely already installed.
i think they're planning on switching to gtk3 only, maybe you misunderstood that.

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: XFCE-DESKTOP: Evince vs Atril

#6 Post by Danielsan »

Someone suggested me to install Xreader from Mint Apps, I found the repo:

http://packages.linuxmint.com/search.ph ... rd=xreader

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: XFCE-DESKTOP: Evince vs Atril

#7 Post by GarryRicketson »

But how long will it work , if it works at all ?
https://wiki.debian.org/DontBreakDebian
Ubuntu, Mint or other derivative repositories are not compatible with Debian!

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: XFCE-DESKTOP: Evince vs Atril

#8 Post by Danielsan »

I can also compile it by myself as you can see there are very few dependencies to build the package:

https://github.com/linuxmint/xreader

However I have a FrankenDebian, it is Testing with pinning to Multimedia, Sid and Experimental, so no fear! 8)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: XFCE-DESKTOP: Evince vs Atril

#9 Post by stevepusser »

MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XFCE-DESKTOP: Evince vs Atril

#10 Post by debiman »

why are people so obsessed with pdf readers?
i use mupdf.
i also used to use xpdf.
both work & allow me to read pdfs, copy text from it etc.

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: XFCE-DESKTOP: Evince vs Atril

#11 Post by Bloom »

I chose Atril because I wanted a general document viewer, not just pdf.

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: XFCE-DESKTOP: Evince vs Atril

#12 Post by Danielsan »

debiman wrote:why are people so obsessed with pdf readers?
i use mupdf.
i also used to use xpdf.
both work & allow me to read pdfs, copy text from it etc.
I use both. In particular MuPDF is one of the best PDF-Reader, it is not a coincidence that is a project made by Artifex (Ghostscript), Xpdf is a fallback solution when you have problem to some exotic or old PDF.

The problem with the PDF readers, from my point of view, is because I want an integrated reader able to handle correctly all the kind of PDF. Evince is a good option but is too way much integrated in Gnome3, even if I have decent computer I would avoid to have a lot of runtime active because GTK2, GKT3, QT, etc...

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XFCE-DESKTOP: Evince vs Atril

#13 Post by debiman »

Danielsan wrote:The problem with the PDF readers, from my point of view, is because I want an integrated reader able to handle correctly all the kind of PDF.
ok, maybe my usage habits just don't include "all the kind of PDF", because i never ever had a problem opening a pdf with mupdf.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: XFCE-DESKTOP: Evince vs Atril

#14 Post by None1975 »

debiman wrote:i use mupdf.i also used to use xpdf.both work & allow me to read pdfs, copy text from it etc.
+1! I also use mupdf.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: XFCE-DESKTOP: Evince vs Atril

#15 Post by Danielsan »

debiman wrote:
Danielsan wrote:The problem with the PDF readers, from my point of view, is because I want an integrated reader able to handle correctly all the kind of PDF.
ok, maybe my usage habits just don't include "all the kind of PDF", because i never ever had a problem opening a pdf with mupdf.

You missed an importat part: I want an integrated reader. MuPDF is one of the best pdf reader, so far I saw it is able to rendering all the type of PDF (PDF/A, PDF/E, PDF/UA, PDF/VT, PDF/X) but not all the PDF reader for Linux are able to display correctly for example PDF-X1 type. By the way I don't remember that you can copy text from Mupdf or doing some other basic action, it is just a reader.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XFCE-DESKTOP: Evince vs Atril

#16 Post by debiman »

Danielsan wrote:By the way I don't remember that you can copy text from Mupdf or doing some other basic action

Code: Select all

MOUSE BEHAVIOR
       Left mouse button click
              A left click on a hyper link follows the link. In presentation
              mode advances to the next page.

       Right mouse button click
              In presentation mode goes back to the previous page.

       Left mouse button drag
              Pan the page. Panning beyond the bottom or top edge will go to
              the next or previous page.

       Right mouse button drag
              Select text in an area. On X11, the selected text can be pasted
              in another application with a middle click.  Press Ctrl+C to
              copy the selected text to the clipboard.  On Windows, the
              selected text will automatically be copied to the clipboard.

       Scroll wheel
              Pan page up or down. Does not change page when reaching the
              bottom or top edge.

       Shift + Scroll wheel
              Pan page left or right.

       Control + Scroll wheel
              Zoom in or out.

KEY BINDINGS
       Page navigation:

       . pgdn right space
              Go to the next page.

       , pgup left b backspace
              Go to the previous page.

       <, >   Skip back/forth 10 pages at a time.

       123g   Go to page 123.

       g, G   Go to the first or last page.

       m      Mark current page for snap back. Up to 256 pages can be marked.

       t      Pop back to the latest mark.

       [0-9]m Save the current page number in the numbered register.

       [0-9]t Go to the page saved in the numbered register.

       Zooming and rotating:

       +, -   Zoom in or out.

       W, H   Zoom page to exactly fit width/height of window.

       Z      Zoom page to fit either to width or height of window.

       L, R   Rotate page left (counter-clockwise) or right (clockwise).

       w      Shrinkwrap window to fit the page.

       f      Toggles fullscreen mode.

       Panning:

       h, j, k, l
              Pan page left, down, up, or right.

       Searching:

       /, ?   Search for text forwards or backwards.

       n, N   Find the next/previous search result.

       Miscellanous:

       [, ]   Increase/decrease EPUB/XHTML font size.

       r      Reload file.

       p      Toggle presentation mode.

       c      Toggle between color and grayscale rendering.

       C      Toggle full-page color tinting.

       i      Toggle between normal and inverted color rendering.

       S      Save updated document file.

       q      Quit.

Post Reply