ホーム AI・IT The Era of Coding on Steam Deck! Full Support for Button Switching, Voice Input, AI, and VSCode

The Era of Coding on Steam Deck! Full Support for Button Switching, Voice Input, AI, and VSCode

真鍋 千夏 真鍋 千夏 • 更新: • 公開: • 読了約 20 分
目次

Have you all seen the video buzzing on X?
It's a video about a boy who got a Steam Deck from his mom and is using it for AI coding to earn money instead of playing games.

Didn't you think you'd like to try doing the same?
Let's do it!

You can write code while switching apps with a single button, without a keyboard.
You can use voice input, and you can even have AI write code for you automatically.

By reading this article, you can set up your Steam Deck as a dedicated coding machine!

Isn't the Steam Deck a game console?

nbcc985b84fa5

You're probably thinking, "Coding on a game console is impossible, right?"
I thought so too.

Actually, it runs on a PC system called Linux.
When you switch to "Desktop Mode," it becomes almost the same screen as a regular PC.

If you customize the controller buttons, you can work comfortably even without a keyboard!

️ First, switch to "Desktop Mode"

STEP 1: Press the switch button
  1. Press the Steam button (the button on the left labeled "Steam")

  2. Select "Power"

  3. Select "Switch to Desktop"

With just this, a PC-like screen (a desktop called KDE Plasma) will launch!

STEP 2: Learn the button controls in Desktop Mode

As the screen changes, the roles of the buttons change as well.

  • Right trackpad → Move the mouse cursor

  • R2 (Right trigger) → Left click

  • L2 (Left trigger) → Right click

  • Steam + X → Show the on-screen keyboard

You might be confused at first, but you'll get used to it in 2 or 3 days.

⌨️ Installing VSCode

VSCode is an application for writing code.
There are two ways to install it on Steam Deck.

Method 1: Install from the App Store (The Easiest)
  1. Open the "Application Launcher" at the bottom left of the desktop

  2. Launch "Discover" (the app store)

  3. Type "VSCode" into the search bar

  4. Select "Visual Studio Code" and click "Install"

That's it! It installs without any difficult operations.

Method 2: Install the file directly (Won't disappear after updates)

SteamOS is designed so that apps installed outside the home folder disappear every time the system is updated.
If you want to prevent the "I installed it, but it's gone!" issue, we recommend downloading the file from the official website and placing it in your home folder.

Detailed steps can be found here:
https://gist.github.com/franklinmoy3/84454948694f9bada83677e88cebe4ca

Switch apps with a single button

This is the highlight of this guide!
The grip buttons (L4/R4/L5/R5, the four buttons on the back of the device) have nothing assigned to them by default.
If you set up app switching here, you can instantly change windows with a single button press!

STEP 1: Create virtual desktops

A "virtual desktop" is a feature that allows you to divide your screen into multiple workspaces.
You can use them like this:

  • Desktop 1 → VSCode (where you write code)

  • Desktop 2 → AI agent terminal

  • Desktop 3 → Browser (for research)

How to create them:

  1. Right-click the taskbar near the bottom right of the desktop

  2. Select "Add Virtual Desktop"

  3. Create 3 to 4 of them

STEP 2: Check the switching shortcuts

KDE (the desktop operating system) has built-in shortcuts for jumping between them.

  • Meta key (Windows key) + 1 → Move to Desktop 1

  • Meta + 2 → Move to Desktop 2

  • Meta + 3 → Move to Desktop 3

If you have a physical keyboard, you can use it as is.
If you are doing this on the Steam Deck alone, assign them to the grip buttons in the next STEP.

STEP 3: Assign to grip buttons
  1. Keep the Steam app running in Desktop Mode

  2. Steam → Settings → Controller → Open "Desktop Configuration"

  3. Select any of L4, R4, L5, or R5

  4. Assign "Meta+1", "Meta+2", and "Meta+3" to each respectively

Once setup is complete, you can switch desktops instantly just by pressing the grip buttons.
Honestly, once you learn this, you might not be able to go back to a keyboard lol

️ Input text by voice

When you want to input code comments or instructions without a keyboard, you can use voice input.
There are three methods, so try choosing the one that is easiest for you.

Method 1: Decky Dictation (Steam Deck exclusive plugin)

This is a plugin that uses Decky Loader (a plugin management app for Steam Deck) and allows for offline voice recognition.
The fact that it works without Wi-Fi is a great point!

Features:

  • Includes a mode that records only while holding down a hotkey

  • Also includes a toggle mode to start/stop recording with a single button press

  • Additional models can be downloaded to improve recognition accuracy

Installation link:
https://github.com/cboiangiu/decky-dictation

Method 2: Steam Deck Assistant (Can also be used from Game Mode)

This is an app that uses a high-precision voice recognition engine called Whisper.
It can link with AIs like Claude and ChatGPT, allowing you to give instructions to AI via voice!

Features:

  • Can be launched from the Quick Access Menu in Game Mode

  • Includes a local mode that works without the internet (no API key required)

  • Can also be used in Japanese

Download link:
https://clotruad.itch.io/steam-deck-assistant

Method 3: Use your smartphone as a keyboard with KDE Connect

By installing the KDE Connect app on your smartphone, you can use it as a keyboard and mouse.
You can also use it to perform voice input on your phone and send it to the Steam Deck.

However, since it works via Wi-Fi, it cannot be used on the go.
This is a recommended method when using your Steam Deck at home.

Running multiple AI agents simultaneously

An "AI agent" is an AI that can automatically write or fix code.
Claude Code, Cursor (a VSCode AI extension), and OpenCode are prime examples.

Running them on multiple projects at once can easily become disorganized.
That is where a tool called "Agent Deck" comes in handy.

What you can do with Agent Deck
  • View multiple AI sessions in a single list on one screen

  • See running, waiting, and idle statuses at a glance

  • Switch between different agents with a single key

  • It's most powerful when combined with tmux (a tool for splitting terminals)

Official repository:
https://github.com/asheshgoplani/agent-deck

Frequently used operations
  • '/' key → Fuzzy search all sessions

  • 'G' key → Cross-search all Claude conversations

  • Ctrl+b → Number key to jump directly to a session

The smoothest way is to manage agents with Agent Deck while switching virtual desktops using the grip buttons.
The Steam Deck is perfectly suited for a workflow where you 'delegate tasks to agents and just handle the reviews yourself.'

Tips to give you an edge

Running agents in the background

Claude Code has a feature called 'Auto Mode'.
It allows for a hands-off workflow where you can work on other things while the agent is busy with its tasks.

'Switch with grip buttons → Check agent status → Approve → Switch to another task'
This flow fits coding on the Steam Deck perfectly!

What to do if an app disappears after a SteamOS update

If it disappears, simply reinstall it from the Discovery app store or the official VSCode website.
Since configuration files and extensions are saved in your home folder, they will be preserved after reinstallation.
Remembering that only the app itself disappears will keep you from panicking.

Summary: 4 steps for comfortable coding on Steam Deck

  1. Switch to Desktop Mode

  2. Install VSCode from Discovery

  3. Assign virtual desktop switching to the grip buttons

  4. Set up voice input using Decky Dictation or Steam Deck Assistant

The setup takes a little effort, but once it's ready, it's truly comfortable.
You don't have to carry a keyboard around, and you can even use it to check code between gaming sessions, haha.

If you like this, please follow me so I can bring you more articles on AI utilization!

同じカテゴリの記事

真鍋 千夏
デジタルマーケター 真鍋 千夏
プロフィールを見る →

美容と暮らしの話題を担当。メーカーの公式発表、商品成分の公表資料、専門家の監修記事をもとに事実を整理します。

おすすめの関連記事