WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Suspend, hibernate working through pm-utils on ub-dCore  (Read 4193 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Suspend, hibernate working through pm-utils on ub-dCore
« on: June 13, 2015, 07:59:52 AM »
PM-utils work without a flaw as outlined in the wiki.

I have noticed that I have lately been doing a considerable part of my computer work on dCore and this new find will make it even more useful to me. Hope for others, too!

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Suspend, hibernate working through pm-utils on ub-dCore
« Reply #1 on: June 13, 2015, 01:32:34 PM »
That is good to hear.  I read the page and see bash is needed by pm-utils.  I will add bash to the dependency list of pm-utils.  Whenever a package needs another to function, it should be added to it's dep list.  Anyone let me know when they see such a case.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Evince & glib-compile-schemas
« Reply #2 on: June 14, 2015, 05:26:16 AM »
Thanks for your response, Jason!
On a similar note as the dependency on Bash, I found out that Evince needs to have its GTK-scheme compiled, cf. the wiki page on desktop applications.
Mainly for the sake of curiosity, do you see a way to have these steps automated in dCore?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Evince & glib-compile-schemas
« Reply #3 on: June 14, 2015, 09:25:57 AM »
Putting the below in the startup script of evince should do it.  I have added it in, please test by re-importing. 


/usr/local/postinst/libglib2.0-0 trigger

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Evince & glib-compile-schemas
« Reply #4 on: June 15, 2015, 04:59:26 AM »
AFAIKT it is not working yet. /usr/share/glib2.0/schemas/gschemas-compiled is not updated upon importing or loading evince-gtk. Manually issueing ''sudo /usr/local/postinst/libglib2.0-0 trigger'', however, does do its job. The package libglib2.0-bin does not seem needed.

What script are you refering to? Under /usr/local/tce.installed I find evince-{gtk,common} which execute ''/usr/local/postinst/evince-{gtk,common} configure'', neither one doing anything like triggering libglib2.0-0.

Could it be that my machine is not updating from repo.tinycorelinux.net? If so, how could I check? Neither is it answering to ping requests at 89.22.99.37 nor does the url http://repo.tinycorelinux.net show anything to a browser.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Suspend, hibernate working through pm-utils on ub-dCore
« Reply #5 on: June 15, 2015, 11:57:37 AM »
You first mentioned evince, evince-gtk does not have evince in it's deps so the evince.deb2sce that I uploaded is still needed by evince but I have now evince-gtk.deb2sce.   Mentioning the specific package name is helpful.  :-)

Re-import and it should work. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Suspend, hibernate working through pm-utils on ub-dCore
« Reply #6 on: June 15, 2015, 12:00:55 PM »
The deb2sce scripts get installed as /usr/local/tce.installed/PKGNAME. and are executed on sce loading.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Evince & glib-compile-schemas
« Reply #7 on: June 15, 2015, 02:04:14 PM »
Could it be that my machine is not updating from repo.tinycorelinux.net? If so, how could I check? Neither is it answering to ping requests at 89.22.99.37 nor does the url http://repo.tinycorelinux.net show anything to a browser.

The server considers pings a start of a port scan, and blocks you for a short while.
The only barriers that can stop you are the ones you create yourself.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: Suspend, hibernate working through pm-utils on ub-dCore
« Reply #8 on: June 15, 2015, 02:36:16 PM »
You first mentioned evince, evince-gtk does not have evince in it's deps so the evince.deb2sce that I uploaded is still needed by evince but I have now evince-gtk.deb2sce.   Mentioning the specific package name is helpful.  :-)
(...)
The deb2sce scripts get installed as /usr/local/tce.installed/PKGNAME. and are executed on sce loading.
Re-import and it should work.

Now it does work, of course. Sorry for the confusion and thanks for the explanation about the start scripts, too!
evince works without any hick-up while evince-gtk does not play well as ondemand application since the name of its executable (evince) differs from the package name. So I have adapted the wiki page.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: Evince & glib-compile-schemas
« Reply #9 on: June 15, 2015, 02:38:22 PM »
The server considers pings a start of a port scan, and blocks you for a short while.
Thanks for that explanation! In fact, I have wondered occasionally about the connection and my first check is always ping responses. That was anything but helpful here as it turns out.  :o
« Last Edit: June 15, 2015, 02:40:14 PM by sm8ps »