Change the default global shortcut for --background-mode from F12 to Ctrl+Shift+F12

F12 is too common. Change it to reduce the chance of conflict
wilder-portage
Jekyll Wu 14 years ago
parent 37fc995af4
commit 3ae465cedf
  1. 2
      src/Application.cpp
  2. 3
      src/main.cpp

@ -377,7 +377,7 @@ void Application::startBackgroundMode(MainWindow* window)
KAction* action = window->actionCollection()->addAction("toggle-background-window");
action->setObjectName(QLatin1String("Konsole Background Mode"));
action->setText(i18n("Toggle Background Window"));
action->setGlobalShortcut(KShortcut(QKeySequence(Qt::Key_F12)));
action->setGlobalShortcut(KShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F12)));
connect(action, SIGNAL(triggered()),
this, SLOT(toggleBackgroundInstance()));

@ -101,10 +101,9 @@ void fillCommandLineOptions(KCmdLineOptions& options)
options.add("profile <file>",
ki18n("Name of profile to use for new Konsole instance"));
options.add("list-profiles", ki18n("List the available profiles"));
// TODO - Update this when F12 is no longer hard coded
options.add("background-mode",
ki18n("Start Konsole in the background and bring to the front"
" when the F12 key is pressed"));
" when Ctrl+Shift+F12 (by default) is pressed"));
options.add("new-tab",
ki18n("Create a new tab in an existing window rather than"
" creating a new window"));

Loading…
Cancel
Save