Tag Info

Hot answers tagged

6

TL,DR: it's Apparmor's fault, and due to my home directory being outside /home. Under a default installation of Ubuntu 10.04, the apparmor package is pulled in as an indirect Recommends-level dependency of the ubuntu-standard package. The system logs (/var/log/syslog) show that Apparmor is rejecting Evince's attempt to read ~/.Xauthority: Jul 5 ...


5

I found this script which you can modify to attach a signature to an existing PDF file. http://emmanuel.branlard.free.fr/work/linux/dev/SignPDF/SignPDF You can also download it from this pastebin URL: http://pastebin.com/9TL5pvBA There is also this Q&A on AskUbuntu that has many other methods for doing this. The Q&A is titled: How to put a ...


5

Since evince lacks options to explicitly control its own window management (as do most applications), the next approach is to control evince externally from the window manager itself. Assuming GNOME with metacity as the window manager, you'll have to use devilspie to get the window matching features. Install devilspie from your official Ubuntu ...


5

This behavior is caused by a known bug in poppler (reported at least here and here) related to unicode characters. There is no fix at the moment, you just have to follow the bug tracker.


4

You should compare the following file between your account and an account for which printing works: ~/.config/evince/print-settings (and/or backup your copy and replace with one from another user). If that doesn't help you might try to replace the whole ~/.config/evince directory.


4

Using zathura with tabbed might help here: Tabbed provides a "simple generic tabbed fronted to xembed aware applications" and zathura is a simple PDF viewer that is XEmbed-aware. A much more heavyweight approach would be letting a browser provide the tabbing while having the chapters displayed using plugins, e.g. using mozplugger (even with evince) or ...


3

Use a different tool to open the PDF. kpdf is one example. There you can disable "Follow DRM". Afterwards you can save protected PDFs.


3

You don't say in your question but are you able to print using other applications? The command line? I'd confirm that you're printer is still configured and working correctly by doing the following: 1. confirm that printer is setup and accessible using: lpq # check for jobs on the default printer % lpq mfc-8480dn is ready no entries # check for any jobs ...


2

I've had a reasonably good experience with uPdf. Installation sudo add-apt-repository ppa:atareao/updf sudo apt-get update suod apt-get install -y updf Then fix a bug by editing 2 lines in a Python script. Usage Launch uPdf, select the Add an image tool, draw a rectangle around the area where you want the signature to go and select the image file with ...


2

Ubuntu sets up evince to use AppArmor, which prevents it from accessing certain files even though the files have appropriate permissions. See Evince fails to start because it cannot read .Xauthority for a different but related problem. Do you have a custom TeX installation? If so, evince is probably preventing from writing the font files by AppArmor. See ...


2

I suspect this is an error with the NTFS driver on this system. I would make sure to use the most current version of the NTFS driver: http://www.tuxera.com/community/ntfs-3g-download/ And see if the problem persists. If it does, here is the form for the ntfs-3g driver: http://tuxera.com/forum/ Troubleshooting log OK, the back and forth in the comment ...


2

Quick idea involving evince and your bash script: dir=$(dirname $source) rm -f ~/evince_save ln -s $dir ~/evince_save And when you "Save as" in evince, save into ~/evince_save. As you observe, evince will use the same directory every time, but the automation script will have replaced its link each time; you don't have to do any navigating and the file ...


2

If these C source file are not yet under revision control bring them under revision control (mercurial would be my suggestion). If they are under some outdated revision control system (SVN, CVS) convert the source base. (After that,) clone the repository and make branch 'revision', use the normal editor with syntax highlighting (should be as readable as ...


1

Whenever I open a PDF file that I have read, evince (3.4 in my case) opens on the last page that I viewed from that that is what seems to be happening in your case as well. This information is not stored in the PDF (as with some viewers do with EPUB files), because if you rename the file, evince starts again the first page. So you probably are using some ...


1

While putting my own signature commands into a shell script, I was looking for a way to interactively select the area where the signature should go. Luckily I found this question and the script of Emmanuel Branlard contains the idea on how to do it (with xv). I implemented the following points: use ImageMagicks display instead of xv use stdbuf -oL and the ...


1

Here's an approach using xdotool to change the window's class then you can move it to Desktop 5 with XMonad or Devil's pie. #!/bin/sh $1 & NEW_WINDOW_PID=$! WINDOW_EXISTENCE=$(xdotool search --pid ${NEW_WINDOW_PID} 2> /dev/null) #is empty if the window hasn't finished opening. COUNTER=0 while [[ -z $WINDOW_EXISTENCE && $COUNTER < 6 ]] ...


1

A pure xmonad configuration is possible for that. In your .xmonad/xmonad.hs you need to setup a manageHook for that. I included more than one "rule" on purpose. theManageHook = composeAll [ -- send applications to the right workspace className =? "Evince" --> doShift "5", className =? "Pidgin" --> doShift "4" --- more settings ... ] ...


1

In the spirit of do one thing and do it well, Devil's Pie was created for these kinds of issues with any standards-compliant WM (such as properly-configured XMonad, also see the FAQ). Some configuration along the lines (adopted from this tutorial, I do not know if this way of matching Evince actually works, maybe some other way (see the docs) is needed) of ...


1

Debian stable runs does not jump to newer versions of packages very quickly. Poppler Versions: Debian Stable: 0.12.4 (2 yrs old) Debian Testing/Unstable: 0.16.7 (10 months old) Current Release: 0.18.4 (2 months old) Bleeding Edge: 0.19.3 (6 days old) So you may be running to the bug in poppler you found by in your search. I would try the Debian ...



Only top voted, non community-wiki answers of a minimum length are eligible