Jump to content

execute a script when the notebook resumes


Guest aMan
 Share

Recommended Posts

Hi,

I have a notebook with a high screen resolution (1400x1050) and an Intel 915GM graphics card. The card needs a program called 915resolution to run properly. There is already an init script provided by mandriva, but it gets executed only on startup. So when the notebook resumes from suspend to disk, the resolution is 640x480..

 

A second problem is that when it resumes from suspend to ram. It is then on the first virtual terminal (Ctrl+Alt+1). I know that I have to execute chvt 7, but I don't know where to do it.

 

Can you help me?

Link to comment
Share on other sites

  • 7 months later...

While I doubt you check this anymore, it might be worthwhile to start looking in the /etc/acpi directory in the events or actions directories. It seems simple enough that you could run this on the resume.

 

I hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...