r/i3wm • • Sep 10 '21

[PSA] We're moving to GitHub Discussions!

186 Upvotes

Hello everyone,

TL;DR The official i3 support channel is moving from Reddit to GitHub Discussions. This subreddit will continue to exist, but no longer be an official channel.

A long time ago, we hosted an AskBot instance as the official web channel for i3 support, next to, of course, the mailing list and IRC. However, after some deliberation we decided to shut down AskBot and move to this subreddit instead whose owners graciously allowed us to "take it over". But, alas, Reddit comes with many challenges as well (like the fact that it's heavily gating unregistered users on mobile, but also from a functional perspective). It just never turned out to be what we were hoping to find. Nowadays, however, there is GitHub Discussions; back when we moved away from AskBot, this didn't exist, but is now more or less exactly what we had been looking for back then. Obviously it's also a big plus that GitHub is already the home of i3 itself with bug reports and feature requests.

That is why we have decided to move the official support channel from this Subreddit to GitHub Discussions. Of course we will not shut down this Subreddit, but it will be a completely independent community from now on.

On a slight personal note, the timing for this change suits me quite well and after having resigned from active moderation some three years ago, I will now be stepping away from Reddit entirely.

See you all over at Discussions!


r/i3wm • • Jun 19 '23

Poll The future of /r/i3wm

51 Upvotes

Hello folks,

As you probably know, reddit is going through some very unpopular changes: https://www.reddit.com/r/ModCoord/comments/148ks6u/indefinite_blackout_next_steps_polling_your/

Even though, we have moved the official i3 support channel to GitHub discussions, i3's biggest community is still on reddit and if things continue like that there is going to be a lot of helpful content on an increasingly closed platform.

Since /r/i3wm is a community platform, we would like for the community to decide this subreddit's future. I am creating two polls for this:

  1. The short-term future of the community, should we make this subreddit read-only or private until June 30th: https://www.reddit.com/r/i3wm/comments/14d5yvh/the_shortterm_future_of_the_community_should_we/ (shorter duration as more imminent)
  2. (This post) The long-term future of this community, if the API changes are not reversed, should we leave this subreddit indefinitely in read-only mode?

We are not considering going private for the long-term because this subreddit holds significant knowledge that is valuable to the community.

If we go read-only in the long term, I expect that most of new questions & content will move to Github discussions.


r/i3wm • • 4h ago

OC i3 on Linux Mint Cinnamon: sound, tray, lock, and polkit

7 Upvotes

If you add i3 next to Cinnamon on Linux Mint, Cinnamon stays at the login screen and you can switch back anytime. The part that usually surprises people is the first i3 session itself. Cinnamon's usual helpers are not running, so you get a working window manager and almost none of the desktop around it: no network icon, no volume keys, no lock screen, and no password prompt when a program needs admin rights.

This is for Mint 22.x Cinnamon, with i3 as an X11 session. On Mint 22.3 the sound server is PipeWire, and pactl still talks to it through pipewire-pulse. The package names and the polkit path below are the ones Mint actually ships.

Install the missing pieces first. Some of these are already on a normal Cinnamon install. On a clean Mint 22.3 machine, network-manager-gnome, blueman, and policykit-1-gnome were already there, but it does not hurt to ask for them:

sudo apt install i3lock xss-lock playerctl pavucontrol brightnessctl brightness-udev dunst udiskie network-manager-gnome blueman policykit-1-gnome

If you have not installed i3 yet, add i3-wm and i3status to that list, and install from Cinnamon rather than from inside i3.

Then put something like this in ~/.config/i3/config. The exec lines run at login, so after you add them, log out and back into i3. A config reload (Mod+Shift+c) will not start them.

# Helpers Cinnamon would normally start
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet
exec --no-startup-id dunst
exec --no-startup-id udiskie --automount --notify --smart-tray
for_window [class="(?i)polkit-gnome-authentication-agent-1"] floating enable

# Lock on idle, and before suspend
exec --no-startup-id xset s 600
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -e
bindsym $mod+Escape exec --no-startup-id i3lock -e

# Volume (PipeWire or PulseAudio)
bindsym XF86AudioRaiseVolume exec --no-startup-id sh -c "pactl set-sink-mute @DEFAULT_SINK@ 0; pactl set-sink-volume @DEFAULT_SINK@ +5%"
bindsym XF86AudioLowerVolume exec --no-startup-id sh -c "pactl set-sink-mute @DEFAULT_SINK@ 0; pactl set-sink-volume @DEFAULT_SINK@ -5%"
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle

# Media keys (players that support MPRIS, such as Firefox, VLC, or Rhythmbox)
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPause exec --no-startup-id playerctl pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86AudioStop exec --no-startup-id playerctl stop

# Laptop backlight
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set 5%+
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --min-value set 5%-

A few things that are easy to trip over:

Tray icons only show if your bar has a tray. i3bar has one by default, usually on the primary monitor, and there can only be one tray in the session. If the network icon is missing, check that nm-applet is running (pgrep -a nm-applet) and that the bar has not set tray_output to none. You can also connect from a terminal with no icon at all:

nmcli device wifi list
nmcli --ask device wifi connect "NETWORK NAME"

If the volume keys do nothing, check that the sound services are up and that pactl can see PipeWire:

systemctl --user status pipewire pipewire-pulse wireplumber --no-pager
pactl info | head -n 8

You want the word PipeWire in that pactl output (on Mint 22.3 it may look like "PulseAudio (on PipeWire ...)"). If needed, restart the services inside the session:

systemctl --user restart wireplumber pipewire pipewire-pulse

Then open pavucontrol and pick the right device on the Output Devices tab. A muted device or the wrong profile (HDMI when you want the speakers, for example) is a common cause. pactl will also let the volume go past 100% unless you cap it yourself. To test media keys without using the keyboard, start some music and run playerctl play-pause in a terminal.

The lock screen is i3lock. Type your password (nothing is shown while you type) and press Enter. The xset s 600 line is a 10 minute idle timer, which xss-lock uses to lock the screen. --transfer-sleep-lock tells it to lock before the machine finishes suspending, so you should get a password prompt when you wake it. If you get stuck, switch to a text console with Ctrl+Alt+F3, log in, run pkill i3lock, then go back with Ctrl+Alt+F7.

Lid close still follows systemd-logind, which usually suspends. Cinnamon's power settings are not running under i3, so if you want different lid behaviour you change it in /etc/systemd/logind.conf. The power button is a separate Mint gotcha: without Cinnamon's settings daemon, a press can shut the machine down immediately. systemd-inhibit --what=handle-power-key can block that while i3 is running, if you would rather handle the button yourself.

Brightness keys need one extra step on Mint. brightness-udev lets members of the video group change the backlight, but a default Mint 22.3 account is not in that group. Run groups in a terminal, and if video is missing:

sudo usermod -aG video "$USER"

Then log out and back in. If brightnessctl says there is no adjustable backlight, you are probably on a desktop with an external monitor, and that is expected.

Cinnamon's per-user keyboard layout also does not carry over into i3. If the keys look wrong after login, set the layout in the i3 session, for example:

exec --no-startup-id setxkbmap us

The polkit agent at /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 is the password dialog for installing software, mounting disks, and some network actions. If a program asks for admin rights and nothing appears, that agent probably is not running.

None of this touches the login screen or Cinnamon. If i3 is not what you want on a given day, log out and pick Cinnamon at the gear.


r/i3wm • • 18h ago

OC i3desk: A desktop for i3wm

Thumbnail
gallery
43 Upvotes

I've been using i3wm for a while now (months, maybe a year) and I've found it to be quite addicting.

After getting used to it, using anything else felt wrong. i3 totally clicked with me, it was lovely, lightweight, customizable enough, easy to use.

But after many months, I ended up missing my desktop icons. However, using Cinnamon and Xfce was painful because they wouldn't let me do basic tasks without a mouse.

So I tried to find and install some kind of desktop for i3, similar to how you install feh when you want a background or picom when you want transparency. But I couldn't find anything that worked smoothly.

xfdesktop and pcmanfm desktop sat on top of my i3 windows, not behind them.

idesk was sitting at the right layer but was visually buggy and was more of a pinboard than a desktop.

Other options simply didn't work or they broke differently.

So two weeks ago I decided to make a desktop for i3. I call it i3desk.

I wrote it in C and made it handle all my needs:

- It provides actual desktop icons, supports multiple monitors, syncs with your ~/Desktop directory

- It integrates with my current setup (i3wm, i3bar, picom, feh, a compositor is reccomended if you want your root window/background to be visible)

- It is lightweight (it uses ~10 MB of RAM on my machine)

I attached some screenshots so you can see what it looks like. You can check it out at https://github.com/TSTEAS2008/i3desk if you think this is something you'd like to use yourself.

I only tested it on Linux Mint but it should work on any Debian based distro that has the dependencies available without adapting any of the setup steps in the readme, and on any other Linux distro that has the dependencies listed in the install guide and can run i3wm/X11 (through one way or another).

I'd also be interested in hearing if anyone else has wanted something like this.


r/i3wm • • 4d ago

Question X alternative to hyprpicker

6 Upvotes

Hi, I used to use mangowc and nixos but i decided to try debian and i decided to use i3. I want to know if there any x11 color finders. Preferedly debian compatible


r/i3wm • • 10d ago

Question Firefox's new Mini window only as floating

Thumbnail firefox-source-docs.mozilla.org
7 Upvotes

Firefox is slowly introducing w new Mini Window feature (linked), where you can make a new popup window with a segment of the page you're looking at.
The problem is that this new mini window gets tiled as if it was a new Firefox window, but it makes a lot of sense to have this one floating.

Looking at xprop for the miniwindow returns the same as its parent window, so I couldn't find a rule to make only the mini window floating.

[~] diff mini.xprop parent.xprop
1a2
> _NET_WM_STATE(ATOM) = 
6d6
< _NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE
10,11c10,11
< bitmap id # to use for icon: 0x1c04283
< bitmap id # of mask for icon: 0x1c04289
---
> bitmap id # to use for icon: 0x1c04054
> bitmap id # of mask for icon: 0x1c0405a
149,151c149,151
< _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 29377153, 29377154
< _NET_WM_USER_TIME(CARDINAL) = 56472968
< _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1c04280
---
> _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 29376594, 29376595
> _NET_WM_USER_TIME(CARDINAL) = 56479802
> _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1c04051
157c157
< program specified minimum size: 184 by 176
---
> program specified minimum size: 1126 by 212
159c159
< program specified base size: 184 by 176
---
> program specified base size: 1126 by 212

r/i3wm • • 11d ago

Question Can't get screenshot functionality

3 Upvotes

I am using a t14 gen 5 ryzen 5 laptop running i3wm cachyos. I am using the same config file as I have used on my x240 but cannot get screenshot functionality. The section pertaining to screenshots from my config file is below, but not matter if I install maim, xclip, xdotool, an update the system and reload i3 and restart, I get absolutely no response from the laptop whatsoever and just simply don't have a key functionality that is necessary in my basic workflow. Any assistance at all is very much appreciated.

## Screenshots

bindsym Print exec --no-startup-id maim "/home/$USER/Pictures/$(date)"

bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "/home/$USER/Pictures/$(date)"

bindsym Shift+Print exec --no-startup-id maim --select "/home/$USER/Pictures/$(date)"

## Clipboard Screenshots

bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png

bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png

bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png


r/i3wm • • 11d ago

Question First time ricing

Post image
0 Upvotes

How would you guys rate my rice? Rate this on a scale of 1-10 and give me suggestions on what I should improve and work on.


r/i3wm • • 12d ago

Question I Love i3wm

42 Upvotes

i3wm is amazing……
I wish I started using it sooner.

What do you think?


r/i3wm • • 12d ago

OC My first i3 rice

Post image
11 Upvotes

r/i3wm • • 13d ago

OC i`m creating a version of i3wm for a OS that runs on web

13 Upvotes

Strack used: C, Javascript, Makefiles also Linker
It`s very minimal, if you had any suggestions to what to add, i`will be glad

Thanks, sorry if it feels pointless


r/i3wm • • 13d ago

OC [i3wm] My first professional rice in Wu-Tang Clan theme

Thumbnail gallery
6 Upvotes

r/i3wm • • 15d ago

Question i3wm

25 Upvotes

For some reason i3 is my favorite window manager. I DON’T THINK THAT IS GONNA GHANGE.
Anyone feel this way?


r/i3wm • • 15d ago

OC my first i3 rice

Thumbnail
gallery
125 Upvotes

r/i3wm • • 17d ago

OC i3bar Image Support – Feature Request Discussion

Thumbnail
github.com
5 Upvotes

Hi!

I've been working on adding image support to i3bar. The implementation is in PR #6660, but it was closed because the feature needs further discussion first. So I've opened issue #6667 to discuss the idea.

I'd love to hear your thoughts!

Would you find this useful? What would you use it for? Any suggestions or concerns?

Looking forward to your feedback!


r/i3wm • • 18d ago

Question Needing some help with this customization

5 Upvotes
is this viable

So I have been using Linux for a while now and have been just reviving some older hardware with it, one laptop I have has a sorta good quality screen and have been basically using it for the tools I use everyday. A configuration I have been wanting to get my head around is, with the help of winamp2(an absolute amazing package on arch), I am looking to get my music playing with winamp just below the i3bar at the top, I was theorizing executing winamp as a background process and then when I do click on a logo of some sorts, it will be brought to the foreground when the button is pressed and the winamp player window will appear just below the button.


r/i3wm • • 19d ago

Solved [i3] MY I3 RICE

Post image
64 Upvotes

r/i3wm • • 24d ago

OC Rate my i3 rice

Post image
412 Upvotes

r/i3wm • • 24d ago

Question Rate my i3wm rice

Post image
150 Upvotes

r/i3wm • • Oct 29 '26

Solved Keep it simple

Post image
354 Upvotes

r/i3wm • • Oct 27 '26

Question Small issue moving through windows with keyboard

3 Upvotes

Hi, im starting to tile more windows and noticing an issue, this is my layout,

(note all the windows are the same proportions, symetrical, all brave browser windows)

The layout looks like this:

123

456

When on number 1 i press move to right, and it goes to 5 instead of 2
On number 2 when i press m. to right it goes to 6 instead of 3
And if i press left on 2 it goes to 4 instead of going to 1

Im using no padding or borders other than a 1px colored border around windows.

Anyone else has had this issue? Adding padding didn't change this behaviour/ focus_follows_mouse no also didnt do anything to fix this.


r/i3wm • • Oct 26 '26

Solved MINIMAL I3 SETUP

48 Upvotes

Cava,cacafire,ffmpeg screen record


r/i3wm • • Oct 24 '26

Question I never knew I could operate my system like this!

Post image
121 Upvotes

i3 is amazing, coming from vim background I already loved using my keyboard for everything I even have the vim extension on firefox. I never used workspaces for some reason but after learning basic i3 I'm using them more frequently. Tbh I'm not much of a stylist and prefer minimul setup but it would be nice if I could maybe make the statusbar a bit bigger with some icons for disk, ram, power. A different theme would also he appreciated. How can I learn more about styling in general?


r/i3wm • • Oct 25 '26

OC My review of Slacko 7.0 Puppy Linux (Slackware 14.2 base) (64-bit version) (JWM / i3wm)

Thumbnail gallery
16 Upvotes

i3wm version 4.11! :D