this post was submitted on 22 Feb 2025
34 points (92.5% liked)
Linux
50421 readers
818 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The first thing to do when you start using
sway
is to copy the configuration file, which is normally in/etc/sway/config
, into your home directory.It has some basic settings already set, but you'll probably want to change some of them later.
The basic keybind for running a terminal emulator, which by default is
foot
, is Super+Enter (Super is the name for what is otherwise called the Windows key or the Command key, depending on your keyboard).Super+D starts the launcher app (
wmenu-run
by default).If you want to change them to something else (i use
fuzzel
as the launcher), change the variables at the top of the config file and press Super+Shift+C to makesway
reload it.Super+Shift+E is used to exit the session.
As for the top bar that says "1", it displays a list of your workspaces. You can switch between workspaces by pressing Super + the number of that workspace, or move the current window to a new workspace by pressing Super + Shift + number. You can also click on the workspace's label in the bar to move to it, or use the mouse wheel to go to the next/previous one.
The timer at the top right is
sway
's status bar. By default it shows only the current time, but it's compatible with thei3bar
protocol and can show a variety of statuses. Programs likei3blocks
,i3status
orswayrbar
can be set up to display a variety of data in the status bar, or even to create widgets that respond to clicks.