Author Topic: command line problem  (Read 337 times)

Offline moha

  • Newly Subscribed
  • *
  • Posts: 3
  • Karma: 0
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
command line problem
« on: April 15, 2020, 02:32:27 pm »
hello everyone !
i'm running into a problem I've just switched to peppermint recently and as I'm learning the keyboard shortcuts I decided to change show_desktop_key shortcut from ctrl+alt+d to ctrl+d and at first that worked fine and then as I am used to super+d shortcut I changed it and it was changed at first but as I tried it, to my surprise it didn't work, when I reopened the peppermint control center I found that it got back to ctrl+d and now both of them don't work I tried to restore all the shortcuts to default but this message shows up "This feature has not yet been implemented." I also tried to access the file and edit it from the terminal using vi ~/.config/peppermint-control-center/xbindkeys.conf but i got the message "sudo: vi: command not found"
please help and thanks in advance

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2377
  • Karma: 624
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: command line problem
« Reply #1 on: April 16, 2020, 02:39:58 am »
Hi moha,

Apparently you have messed up your keyboard shortcut config files (and there are several). All I can tell you is that it is not necessary to use sudo to access, edit and save files in your user-home .config folder. As I never have used vi as my editor, try opening a terminal and entering:

Code: [Select]
xed ~/.config/peppermin-control-center/xbindkeys.confor

Code: [Select]
nano ~/.config/peppermin-control-center/xbindkeys.conf
Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline moha

  • Newly Subscribed
  • *
  • Posts: 3
  • Karma: 0
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Re: command line problem
« Reply #2 on: April 17, 2020, 05:10:09 am »
Hi Slim.Fatz
first thank you so much for the reply. there is been some update I managed to install vi as I am comfortable using it but I will give a shot to the other options. thank you for letting me know that I don't have to use sudo, that I didn't know now the trouble that I have now is when I save the changes they don't take effect and again thank you so much for the help

Online murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: command line problem
« Reply #3 on: April 17, 2020, 09:07:09 am »
You have to log out and in or reboot for the changes to take effect.

Offline moha

  • Newly Subscribed
  • *
  • Posts: 3
  • Karma: 0
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Re: command line problem
« Reply #4 on: April 17, 2020, 03:20:14 pm »
Hi murraymint


no I tried that it does not work I logged off and back in again and nothing it seems to me that a shortcut can be changed only once which does not make any sense


but thank you for the suggestion