LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2020, 03:55 PM   #1
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
Zathura edges


My setup:
- Slackware 14.2
- zathura 0.3.8

My ~/.config/zathura/zathurarc:
Code:
set recolor true
set recolor-darkcolor "#dcdccc"
set recolor-lightcolor "#1f1f1f"
Problem: I cannot get rid of grey edges no matter how much I zoom in. If I scroll to the edge, then I can see it.

[Edit] I tried to use mupdf (0.3.2) plugin but it does not help.

Last edited by unInstance; 01-01-2020 at 04:10 PM. Reason: Aditional info
 
Old 01-01-2020, 05:54 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hello uninstance! Happy New Year!

I'm unclear to what you're referring to as "grey edges" in the post above. Do you mean the frame of the reader? Or are you referring to that #dcdccc grey bar at the very top of the image?
 
Old 01-01-2020, 06:03 PM   #3
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vtel57 View Post
Hello uninstance! Happy New Year!

I'm unclear to what you're referring to as "grey edges" in the post above. Do you mean the frame of the reader? Or are you referring to that #dcdccc grey bar at the very top of the image?
https://i.imgur.com/pltvhxe.jpg
Light-grey frame.

Last edited by unInstance; 01-01-2020 at 06:14 PM. Reason: Wrong url
 
Old 01-01-2020, 06:58 PM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Ah! Thanks for the quick reply and the highlighted image. Unfortunately, I'm not that familiar with this application. I thought that border area was supposed be there.

I'm sure you've seen THIS already.

Others are evidently having the same issues with different Linuxes. I don't see any solutions there, though, other than another thread that blamed out-of-date Zathura.

How did you install this app on Slack? SlackBuild? Also, there are similar issues posted on the list at the Zathura Github site.

Sorry I couldn't be more helpful. I'd be curious to know if you resolve this. Please update us, if you can.

Regards,

~Eric
 
Old 01-01-2020, 07:28 PM   #5
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vtel57 View Post
How did you install this app on Slack? SlackBuild?
SlackBuilds, right (link in the first post). There are guys on arch wiki who have solved the problem by reinstalling the app from AUR, therefore newer version solves (may solve) frame problem.
However, quote from SlacBuilds zathura page:
Quote:
zathura 0.3.8 is the last possible update for Slackware
14.2. Newer versions would require a newer gtk+3.
 
Old 01-01-2020, 09:17 PM   #6
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hmm... an bug issue with the SlackBuild?

Not much else I can suggest to you at this point.

Stand by for further assistance... hopefully.
 
Old 01-02-2020, 02:19 PM   #7
exfx
LQ Newbie
 
Registered: Dec 2019
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Hi.
Have you tried to set up 'default-bg' option? In my zathurarc i have
Code:
set default-bg "#bdbdbd"
It looks like this - https://i.imgur.com/s2x7Hyz.png. Try to set background color like the one in your document. To determine the document color you can use gimp.
 
Old 01-02-2020, 03:15 PM   #8
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Strange, I have Zathura 0.3.8 from SBo running on Slack 14.2 (with awesomewm 4.3) and I've not seen this particular issue. My zathurarc:
Code:
set recolor true
set recolor-lightcolor "#9f9f9f"
set recolor-darkcolor "#0f0f0f"

set guioptions ""
set window-icon "/usr/share/pixmaps/zathura.png"

set selection-clipboard "clipboard"
set synctex-editor-command "emacs"

set font "monospace normal 10"
 
Old 01-02-2020, 05:08 PM   #9
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by exfx View Post
Hi.
Have you tried to set up 'default-bg' option? In my zathurarc i have
Code:
set default-bg "#bdbdbd"
It looks like this - https://i.imgur.com/s2x7Hyz.png. Try to set background color like the one in your document. To determine the document color you can use gimp.
Does not help.
 
Old 01-02-2020, 05:09 PM   #10
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Do you see the same problem with a different window manager?
 
Old 01-03-2020, 02:39 AM   #11
exfx
LQ Newbie
 
Registered: Dec 2019
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by unInstance View Post
Does not help.
Hmm.. That's strange. It works for me - zathura before bg color change, zathura after bg color change.
 
Old 01-03-2020, 04:38 AM   #12
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by exfx View Post
Hmm.. That's strange. It works for me - zathura before bg color change, zathura after bg color change.
You still have it but in different color. You cannot view text on a page close to the edges.
 
Old 01-03-2020, 05:01 AM   #13
exfx
LQ Newbie
 
Registered: Dec 2019
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by unInstance View Post
You still have it but in different color. You cannot view text on a page close to the edges.
Of course, i still have them. You can't just cut this area. I guess there are two ways to mask this: change bg color or switch to floating layout and fit window.

Sorry, don't know what you mean by viewing page close to the edges - https://i.imgur.com/fDms7c2.jpg, https://i.imgur.com/bdPgoEB.jpg//
 
Old 01-03-2020, 12:16 PM   #14
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Progressively zooming in on a PDF in Zathura looks like this for me: 1, 2, 3 (here you can see the black PDF border is gone completely).

I'd still want to know if your problem persists in a different window manager (XFCE/xfwm4 for example).
 
Old 01-03-2020, 07:30 PM   #15
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
I migrated from 14.2 to current and everything works now.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zathura for Debian Stretch? lucmove Linux - Software 6 03-19-2019 04:40 PM
[SOLVED] Zathura PDF viewer: how to yank a link into the clipboard? FlinchX Linux - Newbie 5 06-10-2018 01:19 AM
[SOLVED] text copying can't do in epdfview for files why? also,how to copy text in zathura? rubankumars Linux - Software 1 01-10-2014 11:38 AM
cleaner/sharper system fonts for kde/mandrake (jagged edges) webazoid Linux - Software 0 07-03-2004 06:00 PM
Fluxbox snap to edges? Wynd Linux - General 3 06-03-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration