WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Evince closes when maximized  (Read 4672 times)

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Evince closes when maximized
« 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Evince closes when maximized
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #2 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Evince closes when maximized
« Reply #3 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.

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #4 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Evince closes when maximized
« Reply #5 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.

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #6 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Evince closes when maximized
« Reply #7 on: April 05, 2016, 10:30:06 AM »
Hi andfree
Try adding  Xorg-7.7.tcz  to your  onboot.lst  file and reboot.

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #8 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$

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Evince closes when maximized
« Reply #9 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.
Download a copy and keep it handy: Core book ;)

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #10 on: April 05, 2016, 11:29:32 AM »
and quit vi.

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

Core Linux
box login:

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Evince closes when maximized
« Reply #11 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.
Download a copy and keep it handy: Core book ;)

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #12 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?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Evince closes when maximized
« Reply #13 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.
Download a copy and keep it handy: Core book ;)

Offline andfree

  • Full Member
  • ***
  • Posts: 127
Re: Evince closes when maximized
« Reply #14 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.