Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma

On 12/23/21 19:36, the...@sys-concept.com wrote:
[snip]


I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty 
anyhow.
Logout / Login and system recreated that file with my home user name.

But I still can not open "ps" file with evince. I'm getting an error message:

evince W-9\ Form.ps

(evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 
'GtkFileChooserNative' to 'GtkWidget'

Worth to note that I just upgraded my system.



Solved:
The new 'evince' package was installed without "postscript" support, enable it solved the 
problem with evince but hylafax viewer "YajHFC" still has a problem viewing PS files.
Before upgrade I was able to view PS files with evince.

Now I'm getting strange output:

yajhfc.file.FileConverter$ConversionException: Non-zero exit code of 
GhostScript (1):
Error: /undefined in .setpdfwrite
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:776/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1

at 
yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
at 
yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
at 
yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
at 
yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181)
at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:498)
at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)


YajHFC 0.6.1
Java 1.8.0_312 (Temurin)
OpenJDK Runtime Environment 1.8.0_312-b07
OpenJDK 64-Bit Server VM
Linux 5.10.61-gentoo (amd64)



Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma

On 12/23/21 17:54, eric wrote:

On 12/23/21 5:40 PM, the...@sys-concept.com wrote:

On 12/23/21 17:19, Mark Knecht wrote:

On Thu, Dec 23, 2021 at 4:53 PM  wrote:


On 12/23/21 15:51, Spackman, Chris wrote:

On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens
and closes instantly.


My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)



When I try to open "ps" file with evince I'm getting an error:

evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
'/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.



Have you Googled it? I think this error has been all over the place recently.

- Mark


Who suppose to be the owner of the file: /run/user/1000/dconf/user

-rw--- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user




Shouldn't the owner be who ever has the uid of 1000? That is how it is on my 
system.

Regards,

Eric


I deleted the that file: /run/user/1000/dconf/user (owned as root) it was empty 
anyhow.
Logout / Login and system recreated that file with my home user name.

But I still can not open "ps" file with evince. I'm getting an error message:

evince W-9\ Form.ps

(evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 
'GtkFileChooserNative' to 'GtkWidget'
 
Worth to note that I just upgraded my system.




Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread Miles Malone
It shouldnt be root, should be your current user.  Looks like you've
run a GUI program as root in your current session maybe, which has
created a root-owned dconf/user.

On Fri, 24 Dec 2021 at 10:40,  wrote:
>
> On 12/23/21 17:19, Mark Knecht wrote:
> > On Thu, Dec 23, 2021 at 4:53 PM  wrote:
> >>
> >> On 12/23/21 15:51, Spackman, Chris wrote:
> >>> On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:
>  I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> 
>  When I try to view a postsript file from command line: gs W-9_Form.ps
>  It works OK, but when I try to open same file in Xfce desktop it opens
>  and closes instantly.
> >>>
> >>> My guess would be that in XFCE, gs is successfully doing whatever
> >>> (showing, interpreting, ??) in a terminal window and then immediately
> >>> closing when done.
> >>>
> >>> Have you tried a GUI such as Okular or Evince? They both support viewing
> >>> .ps files.
> >>>
> >>> In Thunar, just right click on the file and choose "Open with >" and
> >>> either Okular or Evince if they are listed, or "Open with Other
> >>> Application ..." if they aren't. (But if they aren't listed, you might
> >>> have to install them, or a similar GUI viewer.)
> >>>
> >>
> >> When I try to open "ps" file with evince I'm getting an error:
> >>
> >> evince W-9\ Form.ps
> >>
> >> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
> >> '/run/user/1000/dconf/user': Permission denied.  dconf will not work 
> >> properly.
> >>
> >
> > Have you Googled it? I think this error has been all over the place 
> > recently.
> >
> > - Mark
> >
> Who suppose to be the owner of the file: /run/user/1000/dconf/user
>
> -rw--- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user
>
>



Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread eric

On 12/23/21 5:40 PM, the...@sys-concept.com wrote:

On 12/23/21 17:19, Mark Knecht wrote:

On Thu, Dec 23, 2021 at 4:53 PM  wrote:


On 12/23/21 15:51, Spackman, Chris wrote:

On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens
and closes instantly.


My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support 
viewing

.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)



When I try to open "ps" file with evince I'm getting an error:

evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
'/run/user/1000/dconf/user': Permission denied.  dconf will not work 
properly.




Have you Googled it? I think this error has been all over the place 
recently.


- Mark


Who suppose to be the owner of the file: /run/user/1000/dconf/user

-rw--- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user




Shouldn't the owner be who ever has the uid of 1000? That is how it is 
on my system.


Regards,

Eric



Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma

On 12/23/21 17:19, Mark Knecht wrote:

On Thu, Dec 23, 2021 at 4:53 PM  wrote:


On 12/23/21 15:51, Spackman, Chris wrote:

On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens
and closes instantly.


My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)



When I try to open "ps" file with evince I'm getting an error:

evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
'/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.



Have you Googled it? I think this error has been all over the place recently.

- Mark


Who suppose to be the owner of the file: /run/user/1000/dconf/user

-rw--- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user




Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma





Thelma
On 12/23/21 17:19, Mark Knecht wrote:

On Thu, Dec 23, 2021 at 4:53 PM  wrote:


On 12/23/21 15:51, Spackman, Chris wrote:

On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens
and closes instantly.


My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)



When I try to open "ps" file with evince I'm getting an error:

evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
'/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.



Have you Googled it? I think this error has been all over the place recently.

- Mark


Yes, I did; but couldn't find a solution yet.




Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread Mark Knecht
On Thu, Dec 23, 2021 at 4:53 PM  wrote:
>
> On 12/23/21 15:51, Spackman, Chris wrote:
> > On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:
> >> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> >>
> >> When I try to view a postsript file from command line: gs W-9_Form.ps
> >> It works OK, but when I try to open same file in Xfce desktop it opens
> >> and closes instantly.
> >
> > My guess would be that in XFCE, gs is successfully doing whatever
> > (showing, interpreting, ??) in a terminal window and then immediately
> > closing when done.
> >
> > Have you tried a GUI such as Okular or Evince? They both support viewing
> > .ps files.
> >
> > In Thunar, just right click on the file and choose "Open with >" and
> > either Okular or Evince if they are listed, or "Open with Other
> > Application ..." if they aren't. (But if they aren't listed, you might
> > have to install them, or a similar GUI viewer.)
> >
>
> When I try to open "ps" file with evince I'm getting an error:
>
> evince W-9\ Form.ps
>
> (evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
> '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.
>

Have you Googled it? I think this error has been all over the place recently.

- Mark



Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma

On 12/23/21 15:51, Spackman, Chris wrote:

On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens
and closes instantly.


My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)



When I try to open "ps" file with evince I'm getting an error:

evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file 
'/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.



Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread Spackman, Chris
On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:
> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> 
> When I try to view a postsript file from command line: gs W-9_Form.ps
> It works OK, but when I try to open same file in Xfce desktop it opens
> and closes instantly.

My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)

> I use hylafax + YajHFC and when I try to open some files I get an error:

I honestly have no idea about hylafax and YajHFC. Unless there is more
here than just trying to view a .ps file (or you are working in a very
restricted environment), they are probably not the best tool.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL EducatorColumbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




[gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread thelma

I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1

When I try to view a postsript file from command line: gs W-9_Form.ps
It works OK, but when I try to open same file in Xfce desktop it opens and 
closes instantly.

I use hylafax + YajHFC
and when I try to open some files I get an error:

yajhfc.file.FileConverter$ConversionException: Non-zero exit code of 
GhostScript (1):
Error: /undefined in .setpdfwrite
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:776/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local
GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1

at 
yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
at 
yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
at 
yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
at 
yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181)
at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:498)
at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)


YajHFC 0.6.1
Java 1.8.0_312 (Temurin)
OpenJDK Runtime Environment 1.8.0_312-b07
OpenJDK 64-Bit Server VM
Linux 5.10.61-gentoo (amd64)

--
Thelma