Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: andfree on April 05, 2016, 04:29:54 AM

Title: Evince closes when maximized
Post by: andfree on April 05, 2016, 04:29:54 AM
Hi. I installed evince.tcz and pdf files seems to open properly. But, every time I click the square icon to maximize it, it closes.
Title: Re: Evince closes when maximized
Post by: curaga on April 05, 2016, 04:41:57 AM
IIRC this was some incompatibility with evince and tinyx, use Xorg or a different pdf reader as a workaround.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 06:40:56 AM
Thanks for answer. FlaxPDF seems to work properly but, as I see, it doesn't have tools, e.g. like print. I read some discussions, but I don't find other choices.

I installed Xorg-7.7-3d.tcz, but I don't know how to use it.
Title: Re: Evince closes when maximized
Post by: Juanito on April 05, 2016, 06:55:07 AM
Exit to the console prompt, type "startx" and you're using it.

BTW, you could use Xorg-7.7 instead of Xorg-7.7-3d.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 08:23:34 AM
Thanks, now evince works properly.

Xorg-7.7 is preferable? Have I to uninstall Xorg-7.7-3d before install Xorg-7.7? How to do so? FAQ says:

Quote
How do I delete an extension?

Use appsaudit. See Tools->AppsAudit from the system menu

I don't find AppsAudit at right-click menu -> System Tools.
Title: Re: Evince closes when maximized
Post by: Juanito on April 05, 2016, 08:34:09 AM
Xorg-7.7 is preferable if you have a slow cpu, relatively little ram, not much storage space for extensions or no need for accelerated graphics.

You might want to keep Xorg-7.7-3d for occasional use, in which case you just need to check that it is not listed "onboot", reboot and load Xorg-7.7.

Otherwise, start the apps gui and use maintenance/dependencies and deletions to mark it for deletion.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 10:26:34 AM
Old slow hardware is exactly the case and for this reason I try tiny core and also bother you with all these questions. So, I have to delete Xorg-7.7-3d. I don't know if I did something wrong or just deleted Xorg-7.7-3d, but after reboot:

Code: [Select]
$ startx
-sh: startx: not found
Title: Re: Evince closes when maximized
Post by: Rich on April 05, 2016, 10:30:06 AM
Hi andfree
Try adding  Xorg-7.7.tcz  to your  onboot.lst  file and reboot.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 10:48:40 AM
Hi andfree
Try adding  Xorg-7.7.tcz  to your  onboot.lst  file and reboot.

Hi Rich and thanks for answer.
How to do this without X?
I' ve tried path to onboot.ist and I'm at this point:

Code: [Select]
tc@box:/mnt/sda1/tce$
Title: Re: Evince closes when maximized
Post by: Misalf on April 05, 2016, 11:07:40 AM
Code: [Select]
vi /etc/sysconfig/tcedir/onboot.lst
Press  i  or  INS  key to get in "insert mode".
Make changes.
Press ESCAPE to get in "command mode".
Enter
Code: [Select]
:wq
to write (save the file) and quit vi.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 11:29:32 AM
and quit vi.

Code: [Select]
tc@box:/$ exit

Core Linux
box login:
Title: Re: Evince closes when maximized
Post by: Misalf on April 05, 2016, 11:57:41 AM
What I meant is
Code: [Select]
:w
saves the file and
Code: [Select]
:q
quits vi.
They can be combined...
Code: [Select]
:wq
which results in the file being written and then quitting vi.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 12:18:53 PM
Ok, I did it, I added Xorg to the list and rebooted, but it still says:

Code: [Select]
-sh: startx: not found
I think that we should expect it, because I have uninstalled Xorg. Adding it to the list doesn't mean I reinstalled it, does it?
Title: Re: Evince closes when maximized
Post by: Misalf on April 05, 2016, 12:43:33 PM
Correct, it can't be loaded if it is not present and won't get re-downloaded automatically.

By the way,  Xorg-7.7.tcz  is a dependency of  Xorg-7.7-3d.tcz  so it's loaded anyway.
It's also not really necessary to delete the  Xorg-7.7-3d.tcz  extension unless storage is limited. Switching between 3D / not 3D is just a matter of editing the  onboot.lst  file (either Xorg-7.7.tcz or Xorg-7.7-3d.tcz) and reboot.

You may also want to add a driver for your graphics card. For example  xf86-video-intel.tcz  if you have an Intel card.
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 01:15:34 PM
By the way,  Xorg-7.7.tcz  is a dependency of  Xorg-7.7-3d.tcz  so it's loaded anyway.

Yes, but I uninstalled Xorg-7.7-3d.tcz and this caused the problem. I wonder if it's less of trouble to reinstall OS than trying to find how to reinstall Xorg.
Title: Re: Evince closes when maximized
Post by: Rich on April 05, 2016, 01:21:03 PM
Hi andfree
Try:
Code: [Select]
tce-load -iw Xorg-7.7
Title: Re: Evince closes when maximized
Post by: gerald_clark on April 05, 2016, 01:29:19 PM
tce-load -iw Xorg-7.7
Title: Re: Evince closes when maximized
Post by: andfree on April 05, 2016, 02:12:25 PM
It worked. Thanks a lot.