Results 1 to 9 of 9

Thread: Yes! You CAN restore default keyboard shortcuts!

  1. #1
    Join Date
    Feb 2009
    Location
    Land of over 15,000 Lakes
    Beans
    122
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lightbulb Yes! You CAN restore default keyboard shortcuts!

    So here's the story:

    I usually know what I am doing, so I decided to experiment with the keyboard shortcuts in System > Preferences > Keyboard shortcuts.

    Unfortunately, after I decided I liked some of the defaults better, I couldn't go back to the defaults because I had no clue what they used to be. Should have written them down...


    Fortunately, I figured out the solution!!! Amazing, yes?

    Here are the directions:


    1. Boot the Live CD

    2. When you get to the desktop, go to System > Preferences > Keyboard shortcuts

    3. Write down the shortcuts you want to restore (don't forget to label them so you know what they are for!).

    4. Shut down the Live CD

    5. Boot-up Ubuntu normally

    6. Open a terminal and use this command:
    Code:
    gconf-editor
    It will open the Configuration Editor

    7. In the Configuration Editor, navigate to
    apps > gnome_settings_daemon > keybindings

    8. Now find the shortcut that you wish to change back, and click the "Value" twice (double-click is too fast - click once to select, click again to edit)

    9. Type in the shortcut.

    10. Repeat steps 8 and 9 for all shortcuts you wish to change back.

    11. REJOICE!


    I would think you would do something similar if you are running KDE. Feel free to post those directions as well.

    Have fun, I guess.
    ~Do Not Be Deceived! This is a signature!~
    ~$sudolife: I don't post junk but then again, I don't update it much, either~
    AXE COP IZ DA BOMB

  2. #2
    Join Date
    Mar 2007
    Beans
    892

    Re: Yes! You CAN restore default keyboard shortcuts!

    I followed the insrtuctions but the key board short cut settings in 9.04 are not there.

  3. #3
    Join Date
    Feb 2008
    Location
    Indy | USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Yes! You CAN restore default keyboard shortcuts!

    Well, if no one else will say it, I will...

    Thanks! It's one of those, "Gee, why didn't I think of that...?", sort of things.

  4. #4
    Join Date
    Jan 2008
    Location
    Portugal
    Beans
    17

    Smile Re: Yes! You CAN restore default keyboard shortcuts!

    That's great, thanks. It helped me quite a bit.

    Instead of having to boot from CD, you may want to just start a guest session and take note of the keys to be changed, as described above.
    I suppose it "works" because the new (temporary) guest session is always restarted in /tmp from stuff in /etc/skel and other places, so unless you change stuff there, you should have a "clean" image to inspect from.

  5. #5
    Join Date
    Nov 2011
    Beans
    1

    Re: Yes! You CAN restore default keyboard shortcuts!

    what if the shortcut is a global shortcut like Ctrl + A
    mine in missing . and i get an error :
    Error while trying to run (<Control>a)
    which is linked to the key (<Control>a)

  6. #6
    Join Date
    Mar 2013
    Beans
    7

    Re: Yes! You CAN restore default keyboard shortcuts!

    As a special but not helpful note to KDE users, this typing the above command launched the APT installer for me. I don't know why. Unfortunately, I was doing an install from the terminal at the same time, so I it just said, "Waiting for other package managers to quit."

    Booting from a Live CD is not always an option. For some users, it has been a while since their disc install. Many have upgraded several times since, and the Live CD or DVD may have been lost, written over, or destroyed.

    In my opinion, there should always be an easy way to reset all of the keyboard shortcuts to the defaults in any distribution of Ubuntu since many users of Ubuntu distributions are not experienced Linux users.

  7. #7
    Join Date
    May 2009
    Location
    Fareham, UK
    Beans
    1,524
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Yes! You CAN restore default keyboard shortcuts!

    Please, not more necromancy
    Catch me on Freenode - imark

  8. #8
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Yes! You CAN restore default keyboard shortcuts!

    Thanks for sharing, but this was a pretty old thread.

    From the Ubuntu Forums Code of Conduct: http://ubuntuforums.org/misc.php?do=showrules

    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.

    Thread Closed.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  9. #9
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Yes! You CAN restore default keyboard shortcuts!

    Quote Originally Posted by CaptainMark View Post
    Please, not more necromancy
    Exactly.

    Things can change in the space of a year, and if a thread hasn't had a response in over a year, it's often safer to let it rest in peace by starting a new thread. It's OK to refer back to the old thread if necessary.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

Tags for this Thread

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
  •