Results 1 to 5 of 5

Thread: how to create custom hotkey?

  1. #1
    Join Date
    Jul 2011
    Beans
    291

    how to create custom hotkey?

    Hi All,

    I have a laptop with the intermittent black screen video problem. Occasionally, the screen just turns black, but the processor still runs. So, I need some method of shutting down the computer while the screen is black.

    I think the answer is to open the terminal emulator, type in xfce4-session-logout, hit enter, hit the right arrow twice, then hit enter. That series of keystrokes will powerdown the computer properly.

    I'd like to have a single hotkey to complete all the above steps, but I don't know how to assign the hotkey and make it do all the above steps.

    Is there a step by step guide (hotkey 101 or similar) in the documentation or in this forum that explains now to make it happen? Needless to say, I'm new to xubuntu.

    TY

    Art

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: how to create custom hotkey?

    It would be easier to press ctrl+alt+f2, then ctrl+alt+delete

    You could do a shortcut to run shutdown, but your going to have to set it up to run without password.

  3. #3
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: how to create custom hotkey?

    i just thought of a easier way, just set the power manager to shutdown when the power button is pushed.
    Attached Images Attached Images

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: how to create custom hotkey?

    Dont miss anything even it is small. one small pin is enough to bring down a man.


  5. #5
    Join Date
    Jul 2011
    Beans
    291

    Re: how to create custom hotkey?

    For Kerry-

    ctrl+alt+f2, then ctrl+alt+delete works ok, ty.

    I worked out a series of commands which can be run in the terminal..they require typing the root password. I do not want to run without a password and I can't give the root password to my daughter, the other user on my system. The password can be typed in the blind, with practice though. But 'ctrl+alt+f2, then ctrl+alt+delete' works just as well and doesn't prompt for a password.

    ========

    For Kerry-


    The power manager solution does not work, possibly a quirk on the Dell laptop. I also can't run hibernate.

    ========

    For Raja-

    I think this solution is a little dated (written in 2007) since there is now a built in keyboard editor for creating custom shortcuts (menu>settings manager>keyboard>applications(tab). But, I did notice that conf-editor is available in the software center, so it can be loaded. I'll play with it later this evening.

    ========

    TY to all.

    Art

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •