Hot answers tagged

76

According to the Arch Wiki i3 page, to autostart an application on a specific workspace, you use i3-msg: exec --no-startup-id i3-msg 'workspace 1:Web; exec /usr/bin/firefox'


38

You can use import, part of ImageMagick. Capture a region This will change your cursor into a crosshair and when you click and drag to form a box, that box will be saved as ss.png. import ss.png Capture whole display import -window root ss.png You can also replace the word root with the window id to capture a specific window.


36

You can define a binding in your i3 config. Note: windows are called "containers", and monitors are called "outputs". move workspace to output left|right|down|up|current|primary|<output> Here's what I use in my config: # move focused workspace between monitors bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+less move ...


36

Some random distro that happens to be running i3 window manager. https://i3wm.org/ Per i3wm site the window manager is distributed in Debian, Arch, Gentoo, Ubuntu, FreeBSD, NetBSD, OpenBSD, OpenSUSE, Megeia, Fedora, Exherbo, PiBang and Slackware.


32

The screenshot is definitively the i3 window manager, and most probably is Arch Linux. If you look well, the screenshot is from 2012, and there is an IRC session there, in the IRC channel #i3, and a browser with several pages open at the site https://i3wm.org It is easier googling after the IRC nick thevdvde later also known as thevdude, than try to guess ...


29

Since version 4.13 i3 reads DPI information from Xft.dpi (source). So, to set i3 to work with high DPI screens you'll probably need to modify two files. Add this line to ~/.Xresources with your preferred value: Xft.dpi: 120 Make sure the settings are loaded properly when X starts in your ~/.xinitrc (source): xrdb -merge ~/.Xresources exec i3 Note that it ...


27

You can run xrandr as any user running an X session. Xrandr is a command line program, so you run it in your terminal. So you would run something like this in your user terminal $ xrandr --dpi 220


26

You can't assign multiple outputs to single workspace, see: https://github.com/i3/i3/issues/555 So the only way is to change i3 config dynamically. You could assign to hotkey script that will be doing 2 things: changing monitor outputs with xrandr and moving workspaces with i3-msg: xrandr --output DP2 --auto --right-of eDP1 i3-msg "workspace 6, move ...


24

I can think of at least 2 options you can choose from: 1. use LXAppearance LXAppearance can change the GTK2/3 icons (and themes, fonts, etc.). LXAppearance is part of the LXDE desktop environment, but as you can see on the package page, its dependencies are only dbus-glib and gtk2. I prefer using LXAppearance because it gives access to all important theme-...


23

If you only want to change the DPI within i3, you could put the command in your i3 config file with the line: exec xrandr --dpi 220 Depending on your distro you will find the config file in different places but often under ~/.config/i3/config


22

I found the answer by watch the video tutorial on i3 website: Shift+$mod+Up Focus parent: $mod+a I hope this might be useful for other people who is also new to the i3wm.


22

Since you did not specify much details about your system there's not much to go on. I would recommend to download "numlockx", since I don't know which distro you are using I can't tell you how, but you should know how to install applications... When numlockx is installed, just type this into your i3config: exec_always --no-startup-id numlockx off I hope ...


20

# This is what I use in ie config # custom variables for workspaces set $ws1 "1< txt >" set $ws2 "2> fm " set $ws3 "3< Web >" set $ws4 4 set $ws5 5 set $ws6 6 set $ws7 7 set $ws8 8 set $ws9 9 ##==================================================## # *** Workspace specific settings *** # ##============...


20

i3 does not really support key sequences like vim. Any key binding consists of a single key preceded by an optional list of distinct (so no Shift+Shift) modifiers. And all of the modifiers need to be pressed down at the time the main key is pressed. That being said, there are two main ways to have a lot of workspaces without having to bind them to long ...


19

Best solution that I have figured out myself: Go to ~/.i3/config and open the file. Paste following code at the end: bindsym $mod+Ctrl+Right resize shrink width 1 px or 1 ppt bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt Save it and run ...


18

i3status Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this: order += "cpu_temperature 1" # and more if you like... # order += "cpu_temperature 2" #... cpu_temperature 1 { format = "T: %...


15

The problem I was having involved the Disable While Typing Enabled feature of my trackpad. These are the steps I used to solve it. Make sure xinput is installed. Type xinput to find the name of the trackpad device. Mine was ETPS/2 Elantech Touchpad. Run xinput --list-props "DEVICE" to list the properties of the device. Go through the list until ...


13

I believe that you are looking for the new layout-saving feature that was introduced in i3 v4.8 (2014-06-15). The linked documentation seems pretty thorough. Quoting from the documentation: Layout saving/restoring allows you to load a JSON layout file so that you can have a base layout to start working with after powering on your computer. Dynamic use-...


13

It's been a long time since I'd asked this question and it looks like it's helpful for some of the users. So I provide my own script for making screenshots with xclip and imagemagick packages. First of all, install the above mentioned dependencies. Then you can do whatever you want with the script below. It supports making a screenshot of a whole screen or ...


13

For windows and workspaces, you need to define a binding in your i3 config. Note: windows are called "containers", and monitors are called "outputs". For moving windows: move container to output left|right|down|up|current|primary|<output> This is what I use in my i3 config: # move focused window between monitors bindsym $mod+Shift+greater move ...


13

The search for the answer After some time messing around with the controls, I've found a post on the old i3 FAQ board: https://faq.i3wm.org/question/3747/enabling-multimedia-keys.1.html It says to paste the following into i3's .config file (bellow is a lightly modified version, with some lines removed, which are not relevant to this particular question): #...


12

i3 is a window manager, not a desktop environment. If you want a desktop environment, you'll have to add one; many DEs do support changing their window manager. If you just want to add a printer, you don't need to use an i3-specific tool to do so. You can just use whatever other desktop's tools; or you can bypass them all and go directly to cups. This is ...


12

You can use the following configuration setting: for_window [class=".*"] fullscreen enable The for_window [CRITERIA] COMMAND setting runs COMMAND for each new window matching CRITERIA. i3 uses PCRE (Perl-compatible regular expressions) for pattern matching, so the pattern .* matches any number of arbitrary characters. Meaning it matches any possible class ...


12

To change your screen brightness, you can use xrandr. In order to do this, you can do: xrandr -q | grep ' connected' | head -n 1 | cut -d ' ' -f1 That will return all the connected monitors (like LVDS-1 or DVI-D-0 for instance). Now, to change the screen brightness do the command (replace the DVI-D-0 by the precedent command output): xrandr --output DVI-...


11

It's an autostart on workspace launch only, not an autostart when i3 starts but I thought it could be useful. For example, to launch my web browser in the named second workspace "web" this is what I did in my config : bindsym $mod+2 workspace 2:web; layout tabbed; exec [ $(ps h -C vimb | wc -l) = 0 ] && /usr/bin/vimb -s When I hit key 2, my web ...


11

Since version 2.8, there's a format_muted string (see the commit message and diff): E.g.: volume master { format = " %volume" format_muted = " %volume" device = "default" mixer = "Master" mixer_idx = 0 } Here, in format I used FontAwesome's icon fa-volume-up and in format_muted, fa-volume-off. Screenshots: muted: not muted:


11

The easiest way to do it is with synclient. Use: synclient -l to list all options and their current settings and then you can use: synclient var1=value1 [var2=value2] ... to change the different options. To make changes permanent you can either create a script and run it on i3 logon or edit the file /etc/X11/xorg.conf.d (if you don't have it copy it ...


11

Since Touchpad Synaptics is no longer actively updated you can use libinput instead. /etc/X11/xorg.conf.d/30-touchpad.conf Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" Option "ScrollMethod" "edge" EndSection Here are all options listed.


Only top voted, non community-wiki answers of a minimum length are eligible