WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] suspend workaround  (Read 5586 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: [SOLVED] suspend workaround
« Reply #15 on: October 31, 2010, 08:12:25 PM »
Right, I have it working to my satisfaction:


Code: [Select]
killall Xorg
echo "mem" > /sys/power/state
su tc -c -l echo

that code is executed by the sleep button routine, in my case acpid.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: [SOLVED] suspend workaround
« Reply #16 on: November 01, 2010, 08:06:03 AM »
We need an extension for psmisc. All the other process tree options were pretty complicated compared to "pstree" ;)
The only barriers that can stop you are the ones you create yourself.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: [SOLVED] suspend workaround
« Reply #17 on: November 01, 2010, 08:16:52 AM »
We need an extension for psmisc. All the other process tree options were pretty complicated compared to "pstree" ;)
So very true, if 'pstree' would have been available I would mentioned it probably as the one and only option ... 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SOLVED] suspend workaround
« Reply #18 on: November 01, 2010, 01:16:22 PM »
We need an extension for psmisc. All the other process tree options were pretty complicated compared to "pstree" ;)
So very true, if 'pstree' would have been available I would mentioned it probably as the one and only option ... 
I had actually done a search in repo for 'pstree' while reading this thread and was slightly surprised to find it does not exist.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)