12/21/2025

How do I install the NVIDIA drivers for RTX A6000 GPUs on Ubuntu 22.04?

 


How do I install the NVIDIA drivers for RTX A6000 GPUs on Ubuntu 22.04?

Installing NVIDIA drivers for the RTX A6000 on Ubuntu 22.04 requires a few key steps to ensure optimal performance and compatibility. The RTX A6000 is a powerful data center and workstation GPU, and proper driver installation is essential for machine learning, AI, and high-performance computing workloads.

Prerequisites

  • Ubuntu 22.04 LTS installed and updated (sudo apt update && sudo apt upgrade -y)
  • RTX A6000 GPU properly installed in the system
  • Internet connection for downloading drivers
  • Administrative (sudo) privileges

Step-by-Step Installation Guide

1. Disable Nouveau Drivers (Open-Source Alternative)

Nouveau drivers can conflict with NVIDIA's proprietary drivers. Disable them by running:

  1. Open a terminal and create a new blacklist file: sudo nano /etc/modprobe.d/blacklist-nouveau.conf
  2. Add these lines:
    blacklist nouveau
    options nouveau modeset=0
  3. Save the file (Ctrl+O, then Ctrl+X).
  4. Update the initramfs: sudo update-initramfs -u
  5. Reboot the system: sudo reboot

2. Install NVIDIA Drivers via Ubuntu Repository

The simplest method is using Ubuntu's built-in repository:

  1. Open a terminal and update the package list: sudo apt update
  2. Install the recommended NVIDIA driver (usually the latest stable version): sudo ubuntu-drivers autoinstall
  3. Alternatively, manually select a driver version: sudo apt install nvidia-driver-535 (replace 535 with the latest version)
  4. Reboot the system: sudo reboot

3. Verify Installation

After rebooting, confirm the driver is working:

  • Run nvidia-smi to check GPU status and driver version.
  • Check the NVIDIA settings panel: nvidia-settings.
  • Verify CUDA compatibility if needed: nvcc --version (requires CUDA Toolkit).

Alternative: Install Drivers from NVIDIA Website

For the latest drivers directly from NVIDIA:

  1. Visit NVIDIA's official driver download page and select the RTX A6000 and Linux 64-bit option.
  2. Download the .run file.
  3. Make it executable: chmod +x NVIDIA-Linux-x86_64-*.run
  4. Run the installer: sudo ./NVIDIA-Linux-x86_64-*.run
  5. Follow on-screen prompts and reboot.

Troubleshooting Tips

  • If the system boots to a black screen, try switching to a virtual terminal (Ctrl+Alt+F2) and reinstalling drivers.
  • Use sudo apt purge nvidia* to remove existing drivers before reinstalling.
  • Check logs for errors: dmesg | grep -i nvidia.

Following these steps ensures your RTX A6000 operates at peak performance on Ubuntu 22.04, whether for AI training, 3D rendering, or high-performance computing tasks.



3/17/2025

Ubuntu 22.04 won't upgrade to 6.8 kernal even after sudo apt install linux-generic-hwe-22.04 ran

If the Ubuntu 22.04 is stuck at 5.15 kernal, make sure the following setting is correct.

 It turned out that the Software & Updates need to subscribe to All Updates.



3/13/2025

Install nvidia driver 535 on Ubuntu 22.04

 For some reason, Nvidia driver 510 and 470 couldn't be install on Ubuntu 22.04 because the installation failed in the last compiling step. Installing driver 535 fixed that issue. To install 535:

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt update

Then install.

3/12/2025

Debug Ubuntu system

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:


The following packages have unmet dependencies:

 libcairo2-dev : Depends: libcairo2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed

                 Depends: libcairo-gobject2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed

                 Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed

                 Depends: libfreetype6-dev (>= 2.1.10) but it is not going to be installed

E: Unable to correct problems, you have held broken packages.


sudo apt-cache policy libcairo2  

After the system is fixed: sudo apt install ubuntu-desktop to recover all missing components

3/10/2025

Make VSCode (Cursor IDE) settings better

Settings:

{ "window.commandCenter": 1, "workbench.colorTheme": "Default Light Modern", "workbench.colorCustomizations": { "editorCursor.background": "#ff0000", "editorCursor.foreground": "#ff0000", "editor.lineHighlightBackground": "#cee1ff", "editor.lineHighlightBorder": "#cee1ff" }, "editor.cursorBlinking": "solid", "editor.fontSize": 13, "editor.rulers": [80], "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": "keyword.control", "settings": { "foreground": "#006518" } }, { "scope": "entity.name.function", "settings": { "foreground": "#000000" } }, { "scope": "support.function.js", "settings": { "foreground": "#000000" } } ] }, "files.trimTrailingWhitespace": true, "editor.tabSize": 2, "editor.renderLineHighlight": "all", "workbench.editor.tabSizing": "fixed", "workbench.editor.tabSizingFixedMinWidth": 38,
"editor.wordSeparators": "`~!@#$%^&*()-_=+[{]}\\|;:'\",.<>/?" }



VSCode IDE keybindings to Eclipse ones

[
            {
                "mac": "cmd+3",
                "win": "ctrl+3",
                "linux": "ctrl+3",
                "key": "ctrl+3",
                "command": "workbench.action.showCommands"
            },
            {
                "mac": "cmd+shift+r",
                "win": "ctrl+shift+r",
                "linux": "ctrl+shift+r",
                "key": "ctrl+shift+r",
                "command": "workbench.action.quickOpen"
            },
            {
                "mac": "ctrl+h",
                "win": "ctrl+h",
                "linux": "ctrl+h",
                "key": "ctrl+h",
                "command": "workbench.action.findInFiles"
            },
            {
                "mac": "cmd+shift+t",
                "win": "ctrl+shift+t",
                "linux": "ctrl+shift+t",
                "key": "ctrl+shift+t",
                "command": "workbench.action.showAllSymbols"
            },
            {
                "mac": "cmd+f3",
                "win": "ctrl+f3",
                "linux": "ctrl+f3",
                "key": "ctrl+f3",
                "command": "outline.focus"
            },
            {
                "mac": "cmd+l",
                "win": "ctrl+l",
                "linux": "ctrl+l",
                "key": "ctrl+l",
                "command": "workbench.action.gotoLine"
            },
            {
                "mac": "cmd+w",
                "win": "ctrl+w",
                "linux": "ctrl+w",
                "key": "ctrl+w",
                "command": "workbench.action.closeActiveEditor"
            },
            {
                "mac": "cmd+shift+s",
                "win": "ctrl+shift+s",
                "linux": "ctrl+shift+s",
                "key": "ctrl+shift+s",
                "command": "workbench.action.files.saveAll"
            },
            {
                "mac": "cmd+alt+s",
                "win": "ctrl+alt+s",
                "linux": "ctrl+alt+s",
                "key": "ctrl+alt+s",
                "command": "workbench.action.files.saveAs"
            },
            {
                "mac": "cmd+alt+t",
                "win": "ctrl+alt+t",
                "linux": "ctrl+alt+t",
                "key": "ctrl+alt+t",
                "command": "workbench.action.terminal.toggleTerminal"
            },
            {
                "mac": "ctrl+m",
                "win": "ctrl+m",
                "linux": "ctrl+m",
                "key": "ctrl+m",
                "command": "workbench.action.toggleSidebarVisibility"
            },
            {
                "mac": "cmd+e",
                "win": "ctrl+e",
                "linux": "ctrl+e",
                "key": "ctrl+e",
                "command": "workbench.action.showEditorsInActiveGroup"
            },
            {
                "mac": "cmd+shift+w",
                "win": "ctrl+shift+w",
                "linux": "ctrl+shift+w",
                "key": "ctrl+shift+w",
                "command": "workbench.action.closeAllEditors"
            },
            {
                "mac": "cmd+shift+f4",
                "win": "ctrl+shift+f4",
                "linux": "ctrl+shift+f4",
                "key": "ctrl+shift+f4",
                "command": "workbench.action.closeAllEditors"
            },
            {
                "mac": "cmd+f12",
                "win": "f12",
                "linux": "f12",
                "key": "f12",
                "command": "workbench.action.focusActiveEditorGroup"
            },
            {
                "mac": "cmd+shift+[",
                "win": "ctrl+shift+[",
                "linux": "ctrl+shift+[",
                "key": "ctrl+shift+[",
                "command": "workbench.action.splitEditor"
            },
            {
                "mac": "cmd+shift+c",
                "win": "ctrl+shift+c",
                "linux": "ctrl+shift+c",
                "key": "ctrl+shift+c",
                "command": "editor.action.commentLine",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+7",
                "win": "ctrl+7",
                "linux": "ctrl+7",
                "key": "ctrl+7",
                "command": "editor.action.commentLine",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+/",
                "win": "ctrl+shift+/",
                "linux": "ctrl+shift+/",
                "key": "ctrl+shift+/",
                "command": "editor.action.blockComment",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+alt+y",
                "win": "shift+alt+y",
                "linux": "shift+alt+y",
                "key": "shift+alt+y",
                "command": "editor.action.toggleWordWrap",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+alt+j",
                "win": "ctrl+alt+j",
                "linux": "ctrl+alt+j",
                "key": "ctrl+alt+j",
                "command": "editor.action.joinLines",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+o",
                "win": "ctrl+o",
                "linux": "ctrl+o",
                "key": "ctrl+o",
                "command": "workbench.action.gotoSymbol",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+f",
                "win": "ctrl+shift+f",
                "linux": "ctrl+shift+f",
                "key": "ctrl+shift+f",
                "command": "editor.action.formatSelection",
                "when": "editorTextFocus && editorHasSelection"
            },
            {
                "mac": "cmd+shift+f",
                "win": "ctrl+shift+f",
                "linux": "ctrl+shift+f",
                "key": "ctrl+shift+f",
                "command": "editor.action.formatDocument",
                "when": "editorTextFocus && !editorHasSelection"
            },
            {
                "mac": "cmd+alt+down",
                "win": "ctrl+alt+down",
                "linux": "ctrl+alt+down",
                "key": "ctrl+alt+down",
                "command": "editor.action.copyLinesDownAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "ctrl+alt+cmd+down",
                "win": "ctrl+alt+win+down",
                "linux": "ctrl+alt+win+down",
                "key": "ctrl+alt+win+down",
                "command": "editor.action.copyLinesDownAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+alt+up",
                "win": "ctrl+alt+up",
                "linux": "ctrl+alt+up",
                "key": "ctrl+alt+up",
                "command": "editor.action.copyLinesUpAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "ctrl+alt+cmd+up",
                "win": "ctrl+alt+win+up",
                "linux": "ctrl+alt+win+up",
                "key": "ctrl+alt+win+up",
                "command": "editor.action.copyLinesUpAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "alt+down",
                "win": "alt+down",
                "linux": "alt+down",
                "key": "alt+down",
                "command": "editor.action.moveLinesDownAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "alt+up",
                "win": "alt+up",
                "linux": "alt+up",
                "key": "alt+up",
                "command": "editor.action.moveLinesUpAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+d",
                "win": "ctrl+d",
                "linux": "ctrl+d",
                "key": "ctrl+d",
                "command": "editor.action.deleteLines",
                "when": "editorTextFocus"
            },
            {
                "key": "shift+enter",
                "command": "editor.action.insertLineAfter",
                "when": "editorTextFocus && !editorReadonly"
            },
            {
                "mac": "cmd+shift+delete",
                "win": "ctrl+shift+delete",
                "linux": "ctrl+shift+delete",
                "key": "ctrl+shift+delete",
                "command": "deleteAllRight",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+alt+s",
                "win": "alt+shift+s",
                "linux": "alt+shift+s",
                "key": "alt+shift+s",
                "command": "editor.action.sourceAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+alt+r",
                "win": "alt+shift+r",
                "linux": "alt+shift+r",
                "key": "alt+shift+r",
                "command": "editor.action.rename",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+o",
                "win": "ctrl+shift+o",
                "linux": "ctrl+shift+o",
                "key": "ctrl+shift+o",
                "command": "editor.action.organizeImports",
                "when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
            },
            {
                "mac": "cmd+space",
                "win": "ctrl+space",
                "linux": "ctrl+space",
                "key": "ctrl+space",
                "command": "editor.action.triggerSuggest",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+.",
                "win": "ctrl+.",
                "linux": "ctrl+.",
                "key": "ctrl+.",
                "command": "editor.action.marker.next",
                "when": "editorFocus && !editorReadonly"
            },
            {
                "mac": "f3",
                "win": "f3",
                "linux": "f3",
                "key": "f3",
                "command": "editor.action.goToDeclaration",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+1",
                "win": "ctrl+1",
                "linux": "ctrl+1",
                "key": "ctrl+1",
                "command": "editor.action.quickFix",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+g",
                "win": "ctrl+shift+g",
                "linux": "ctrl+shift+g",
                "key": "ctrl+shift+g",
                "command": "editor.action.referenceSearch.trigger",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+b",
                "win": "ctrl+shift+b",
                "linux": "ctrl+shift+b",
                "key": "ctrl+shift+b",
                "command": "editor.debug.action.toggleBreakpoint",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+x",
                "win": "ctrl+shift+x",
                "linux": "ctrl+shift+x",
                "key": "ctrl+shift+x",
                "command": "editor.action.transformToUppercase",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+y",
                "win": "ctrl+shift+y",
                "linux": "ctrl+shift+y",
                "key": "ctrl+shift+y",
                "command": "editor.action.transformToLowercase",
                "when": "editorTextFocus"
            },
            {
                "mac": "cmd+shift+k",
                "win": "ctrl+shift+k",
                "linux": "ctrl+shift+k",
                "key": "ctrl+shift+k",
                "command": "editor.action.previousSelectionMatchFindAction",
                "when": "editorTextFocus"
            },
            {
                "mac": "alt+cmd+t",
                "win": "alt+shift+t",
                "linux": "alt+shift+t",
                "key": "alt+shift+t",
                "command": "editor.action.refactor",
                "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
            },
            {
                "mac": "alt+cmd+l",
                "win": "alt+shift+l",
                "linux": "alt+shift+l",
                "key": "alt+shift+l",
                "command": "editor.action.codeAction",
                "when": "editorTextFocus",
                "args": {
                    "kind": "refactor.extract.variable"
                }
            },
            {
                "mac": "alt+cmd+m",
                "win": "alt+shift+m",
                "linux": "alt+shift+m",
                "key": "alt+shift+m",
                "command": "editor.action.codeAction",
                "when": "editorTextFocus",
                "args": {
                    "kind": "refactor.extract.function"
                }
            },
            {
                "mac": "alt+cmd+v",
                "win": "alt+shift+v",
                "linux": "alt+shift+v",
                "key": "alt+shift+v",
                "command": "editor.action.codeAction",
                "when": "editorTextFocus",
                "args": {
                    "kind": "refactor.move"
                }
            },
            {
                "mac": "alt+left",
                "win": "ctrl+left",
                "linux": "ctrl+left",
                "key": "ctrl+left",
                "command": "cursorWordPartLeft",
                "when": "textInputFocus"
            },
            {
                "mac": "alt+right",
                "win": "ctrl+right",
                "linux": "ctrl+right",
                "key": "ctrl+right",
                "command": "cursorWordPartRight",
                "when": "textInputFocus"
            },
            {
                "mac": "alt+shift+left",
                "win": "ctrl+shift+left",
                "linux": "ctrl+shift+left",
                "key": "ctrl+shift+left",
                "command": "cursorWordPartLeftSelect",
                "when": "textInputFocus"
            },
            {
                "mac": "alt+shift+right",
                "win": "ctrl+shift+right",
                "linux": "ctrl+shift+right",
                "key": "ctrl+shift+right",
                "command": "cursorWordPartRightSelect",
                "when": "textInputFocus"
            },
            {
                "mac": "cmd+alt+left",
                "win": "alt+left",
                "linux": "alt+left",
                "key": "alt+left",
                "command": "workbench.action.navigateBack"
            },
            {
                "mac": "cmd+alt+right",
                "win": "alt+right",
                "linux": "alt+right",
                "key": "alt+right",
                "command": "workbench.action.navigateForward"
            },
            {
                "mac": "cmd+f7",
                "key": "ctrl+f7",
                "command": "workbench.action.focusNextPart"
            },
            {
                "mac": "shift+cmd+f7",
                "key": "shift+ctrl+f7",
                "command": "workbench.action.focusPreviousPart"
            },
            {
                "mac": "f8",
                "win": "f8",
                "linux": "f8",
                "key": "f8",
                "command": "workbench.action.debug.continue",
                "when": "inDebugMode"
            },
            {
                "mac": "cmd+f11",
                "win": "f11",
                "linux": "f11",
                "key": "f11",
                "command": "workbench.action.debug.start",
                "when": "debuggersAvailable && debugState == 'inactive'"
            },
            {
                "mac": "cmd+shift+f11",
                "win": "ctrl+f11",
                "linux": "ctrl+f11",
                "key": "ctrl+f11",
                "command": "workbench.action.debug.run",
                "when": "debuggersAvailable && debugState != 'initializing'"
            },
            {
                "mac": "f5",
                "win": "f5",
                "linux": "f5",
                "key": "f5",
                "command": "workbench.action.debug.stepInto",
                "when": "inDebugMode"
            },
            {
                "mac": "f7",
                "win": "f7",
                "linux": "f7",
                "key": "f7",
                "command": "workbench.action.debug.stepOut",
                "when": "inDebugMode"
            },
            {
                "mac": "f6",
                "win": "f6",
                "linux": "f6",
                "key": "f6",
                "command": "workbench.action.debug.stepOver",
                "when": "inDebugMode"
            },
            {
                "mac": "cmd+f2",
                "win": "ctrl+f2",
                "linux": "ctrl+f2",
                "key": "ctrl+f2",
                "command": "workbench.action.debug.stop",
                "when": "inDebugMode"
            },
            {
                "mac": "ctrl+q",
                "win": "ctrl+q",
                "linux": "ctrl+q",
                "key": "ctrl+q",
                "command": "workbench.action.navigateToLastEditLocation",
                "when": "editorTextFocus"
            },
            {
                "mac": "ctrl+alt+h",
                "win": "ctrl+alt+h",
                "linux": "ctrl+alt+h",
                "key": "ctrl+alt+h",
                "command": "references-view.showCallHierarchy",
                "when": "editorHasCallHierarchyProvider"
            },
            {
                "mac": "f4",
                "win": "f4",
                "linux": "f4",
                "key": "f4",
                "command": "java.action.showTypeHierarchy",
                "when": "editorLangId == java && editorTextFocus"
            },
            {
                "mac": "alt+shift+up",
                "win": "alt+shift+up",
                "linux": "alt+shift+up",
                "key": "alt+shift+up",
                "command": "editor.action.smartSelect.expand",
                "when": "editorTextFocus"
            },
{
"key": "ctrl+shift+;",
"command": "-breadcrumbs.focus",
"when": "breadcrumbsPossible && breadcrumbsVisible"
},
{
"key": "ctrl+shift+;",
"command": "workbench.action.toggleAuxiliaryBar"
},
{
"key": "ctrl+alt+b",
"command": "-workbench.action.toggleAuxiliaryBar"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "editor.action.inlineDiffs.cancelEdits",
"when": "editorTextFocus && hasActivelyGeneratingDiff"
},
{
"key": "ctrl+backspace",
"command": "-editor.action.inlineDiffs.cancelEdits",
"when": "editorTextFocus && hasActivelyGeneratingDiff"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "editor.action.cancelGPT4WithCmdDelete",
"when": "hadGPT4InlineCompletionRunning"
},
{
"key": "ctrl+backspace",
"command": "-editor.action.cancelGPT4WithCmdDelete",
"when": "hadGPT4InlineCompletionRunning"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "editor.action.inlineDiffs.cancelPromptBar",
"when": "editorTextFocus && hasActivelyGeneratingPromptBarDiff"
},
{
"key": "ctrl+backspace",
"command": "-editor.action.inlineDiffs.cancelPromptBar",
"when": "editorTextFocus && hasActivelyGeneratingPromptBarDiff"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "chatEditor.action.reject",
"when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress"
},
{
"key": "ctrl+backspace",
"command": "-chatEditor.action.reject",
"when": "chat.hasEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress || chat.hasNotebookEditorModifications && editorFocus && hasUndecidedChatEditingResource && !chat.ctxHasRequestInProgress"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "cursorai.action.dismissBugBotLint",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+backspace",
"command": "-cursorai.action.dismissBugBotLint",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "editor.action.inlineDiffs.rejectAll",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+backspace",
"command": "-editor.action.inlineDiffs.rejectAll",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "cursorai.action.cancelGenerateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)"
},
{
"key": "ctrl+backspace",
"command": "-cursorai.action.cancelGenerateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "cursorai.action.rejectGenerateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)"
},
{
"key": "ctrl+backspace",
"command": "-cursorai.action.rejectGenerateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "chatEditing.discardAllFiles",
"when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'"
},
{
"key": "ctrl+backspace",
"command": "-chatEditing.discardAllFiles",
"when": "hasUndecidedChatEditingResource && inChatInput && !chatInputHasText && !chatSessionRequestInProgress && chatLocation == 'editing-session'"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "deleteWordLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+backspace",
"command": "-deleteWordLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+backspace",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus"
},
{
"key": "ctrl+backspace",
"command": "-workbench.action.terminal.sendSequence",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+y",
"command": "editor.action.inlineDiffs.acceptPartialEdit",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+y",
"command": "-editor.action.inlineDiffs.acceptPartialEdit",
"when": "editorTextFocus && (arbitrary function)"
},
{
"key": "ctrl+shift+y",
"command": "aichat.newfollowupaction"
},
{
"key": "ctrl+y",
"command": "-aichat.newfollowupaction"
}
]

1/13/2025

Ubuntu shotcuts hijacked

 Ctrl+Alt+B 被占用

Ctrl+Alt+S 被占用

Ctrl+Alt+D 被占用

Ctrl+Alt+T 被占用


Ctrl+Alt+左键 被占用

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left “[‘disabled’]”

Ctrl+Alt+Right 被占用

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right “[‘disabled’]”


输入法相关快捷键

如Ctrl+Alt+B和Ctrl+Alt+S,这个隐藏的比较深,基本是通过搜索引擎找到的答案.

Ctrl+Alt+S 快捷键从命令行输入fcitx-configtool命令,进入控制面板.

选择第二个tab Global Config,勾选右下角Show Advanced Options,然后从上到下看一下,哪些快捷键被占用,把哪个禁用掉.

Ctrl+Alt+B是选中Tab的Addon,然后勾选左下角的Advanced,滚到最底下,将Virtual Key Board 取消选 中即可.

————————————————


                            版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

                        

原文链接:https://blog.csdn.net/liusf1993/article/details/109609689