UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I just did this on a Ubuntu VM, the steps I took were:
Hit the button on the top right (start menu type button, whatever they call it).
Typed "keyboard".
Selected the "Keyboard" option shown.
In the "Keyboard" application selected "Custom Shortcuts".
Clicked the "+" symbol to add a shortcut.
Called it "wake" and added the command "/usr/bin/wakeonlan 00:00:49:d0:30:09" to it.
With "wake" listed I clicked on the word "Disabled".
Hit Ctrl+X to set that as the shortcut (for testing purposes, select whatever it is you want).
Closed the keyboard application, then re-opened it to make sure changes had stayed.
Closed the keyboard application again.
Hit Ctrl+X and verified it sent the magic packet using an app called "Wake On LAN Monitor" on my iPad.
The command that you give for any shortcut is exactly the same as you would enter on the command line but should have the whole path to be sure it is running the right thing.
Hi 273,
Thanks very much for going to the efforts you have.
I've really hit a brick wall with this one, I've followed your steps to the letter with my mac address.
But still it does not work for me.
I'm going to give up on this one and live with wakeonlan direct from a terminal or from my smart phone.
I really can't take this any more it is so FRUSTRATING!!!
I'm going to leave this unsolved for a few more weeks.
Open question to anyone else who has taken the time to read this thread, Could it be something to do with the fact that wakeonlan is a perl script?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.