Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] viewer for "ps" postscript files
Date: Fri, 24 Dec 2021 02:36:31
Message-Id: f595f002-96d5-2d69-9470-ce5a0719b31f@sys-concept.com
In Reply to: Re: [gentoo-user] viewer for "ps" postscript files by eric
1 On 12/23/21 17:54, eric wrote:
2 > On 12/23/21 5:40 PM, thelma@×××××××××××.com wrote:
3 >> On 12/23/21 17:19, Mark Knecht wrote:
4 >>> On Thu, Dec 23, 2021 at 4:53 PM <thelma@×××××××××××.com> wrote:
5 >>>>
6 >>>> On 12/23/21 15:51, Spackman, Chris wrote:
7 >>>>> On 2021/12/23 at 01:57pm, thelma@×××××××××××.com wrote:
8 >>>>>> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
9 >>>>>>
10 >>>>>> When I try to view a postsript file from command line: gs W-9_Form.ps
11 >>>>>> It works OK, but when I try to open same file in Xfce desktop it opens
12 >>>>>> and closes instantly.
13 >>>>>
14 >>>>> My guess would be that in XFCE, gs is successfully doing whatever
15 >>>>> (showing, interpreting, ??) in a terminal window and then immediately
16 >>>>> closing when done.
17 >>>>>
18 >>>>> Have you tried a GUI such as Okular or Evince? They both support viewing
19 >>>>> .ps files.
20 >>>>>
21 >>>>> In Thunar, just right click on the file and choose "Open with >" and
22 >>>>> either Okular or Evince if they are listed, or "Open with Other
23 >>>>> Application ..." if they aren't. (But if they aren't listed, you might
24 >>>>> have to install them, or a similar GUI viewer.)
25 >>>>>
26 >>>>
27 >>>> When I try to open "ps" file with evince I'm getting an error:
28 >>>>
29 >>>> evince W-9\ Form.ps
30 >>>>
31 >>>> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.
32 >>>>
33 >>>
34 >>> Have you Googled it? I think this error has been all over the place recently.
35 >>>
36 >>> - Mark
37 >>>
38 >> Who suppose to be the owner of the file: /run/user/1000/dconf/user
39 >>
40 >> -rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
41 >>
42 >>
43 >
44 > Shouldn't the owner be who ever has the uid of 1000? That is how it is on my system.
45 >
46 > Regards,
47 >
48 > Eric
49
50 I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty anyhow.
51 Logout / Login and system recreated that file with my home user name.
52
53 But I still can not open "ps" file with evince. I'm getting an error message:
54
55 evince W-9\ Form.ps
56
57 (evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
58
59 Worth to note that I just upgraded my system.

Replies

Subject Author
Re: [gentoo-user] viewer for "ps" postscript files thelma@×××××××××××.com