Live data from Hacker News

i3 4.18

i3wm.org

131–140 of 188 posts

Re: i3 4.18

#131
post #77

For anyone here who loves i3, but has always had trouble getting full integration to work on their laptop ( sleep, screen brightness, etc. ), check out the Regolith project[0] It's a curation of several tools combined with i3 that gives a pretty fantastic gnome/i3 experience. Similar to spacemacs and emacs. [0] https://regolith-linux.org/

> getting full integration to work on their laptop ( sleep, screen brightness, etc. )

I managed to golf some tiny generic inline bash scripts that fit directly inside my i3 config for screen brightness and keyboard brightness using /sys/class with generic name matching and no hardcoded values. They do require an external sudoers entry for each /sys/class unfortunately but that's because they require root perms by default.

These have served me well across multiple desktops and laptops without needing to customization for each piece of hardware.

I can post if any interest...

Re: i3 4.18

#132
A great use case for i3 that is my daily driver is as a remote desktop windowing solution. My i3 desktop state is preserved and sanely laid out if I'm at home on a 15" laptop, at work on a 30" monitor, or even on my portable 12" laptop while I'm in meetings.

Re: i3 4.18

#133
post #121
post #119

Earlier quoted context omitted.

I'm not sure what you want the correction to be. Just delete the note in parentheses? Or change the default to "hjkl"?

Ideally, replace the note in parentheses with the correct historical reason that you explained in your comment here? :)

Isn't the note there to explain why i3 differs from vi? Adding the historical reason why vi used hjkl doesn't seem to justify i3 differing. It's almost irrelevant.

Or do you think that not having arrows on "hjkl" is the justification of using "jkl;"?

Personally, I can't see a good reason for "jkl;". The rationale that those are the keys where the fingers rest has been brought up here, but here is my response:

https://news.ycombinator.com/item?id=22349868

The thing is that I believe the designers of ADM-3A made a good choice in putting the arrows on "hjkl" as opposed to "jkl;". It's much more ergonomic.

Re: i3 4.18

#134
post #131
post #77

For anyone here who loves i3, but has always had trouble getting full integration to work on their laptop ( sleep, screen brightness, etc. ), check out the Regolith project[0] It's a curation of several tools combined with i3 that gives a pretty fantastic gnome/i3 experience. Similar to spacemacs and emacs. [0] https://regolith-linux.org/

> getting full integration to work on their laptop ( sleep, screen brightness, etc. ) I managed to golf some tiny generic inline bash scripts that fit directly inside my i3 config for screen brightness and keyboard brightness using /sys/class with generic name matching and no hardcoded values. They do require an external sudoers entry for each /sys/class unfortunately but that's because they require root perms by def…

Yup, if you can post it, it will be greatly appreciated! I honestly find it hard to configure i3, especially for brightness...

Re: i3 4.18

#135
post #134
post #131

Earlier quoted context omitted.

> getting full integration to work on their laptop ( sleep, screen brightness, etc. ) I managed to golf some tiny generic inline bash scripts that fit directly inside my i3 config for screen brightness and keyboard brightness using /sys/class with generic name matching and no hardcoded values. They do require an external sudoers entry for each /sys/class unfortunately but that's because they require root perms by def…

Yup, if you can post it, it will be greatly appreciated! I honestly find it hard to configure i3, especially for brightness...

one hacky way to configure it is too install xfce4-power-manager and then run it in your config file. then the power manager will also handle the brightness keys.

Re: i3 4.18

#136
post #23

Earlier quoted context omitted.

> Because why should I have to click to get focus? The click not only focuses but is also passed on to whatever you clicked on, so it's like it was already focused. > Less of an issue on a tiling window manager, but sometimes I really want to be able to type in a window without bringing it to the foreground. I don't understand that. You have to somehow indicate to the system what it is you want to type on. > Also, se…

>You have to somehow indicate to the system what it is you want to type on You do it by moving the mouse. It makes the mouse more useful because you can now focus things with one less click. On the other hand, in what circumstance would you want to move your hand to the mouse, move it intentionally over another window without clicking, and _not_ focus it? What would be the point in moving the cursor?

> in what circumstance

Precisely in the one that brought this into topic. It's nice to not have to be so careful with how the mouse moves. When it gets in the way, I can just flick it off, not worried about my stuff changing focus. It also greatly decreases the annoyance of accidentally touching a touchpad while typing.

Re: i3 4.18

#137
post #134
post #131

Earlier quoted context omitted.

> getting full integration to work on their laptop ( sleep, screen brightness, etc. ) I managed to golf some tiny generic inline bash scripts that fit directly inside my i3 config for screen brightness and keyboard brightness using /sys/class with generic name matching and no hardcoded values. They do require an external sudoers entry for each /sys/class unfortunately but that's because they require root perms by def…

Yup, if you can post it, it will be greatly appreciated! I honestly find it hard to configure i3, especially for brightness...

Not OP, but here are the lines my i3 config:

    bindsym XF86MonBrightnessDown exec "xbacklight -dec 10"
    bindsym XF86MonBrightnessUp exec "xbacklight -inc 10"

Re: i3 4.18

#138

I guess tiling window managers should be considered more of a specialized niche tool, and in that it is commendable that i3 does such a good job of it. I do really admire it for being so light-weight on resources compared to a lot of the other more popular WMs. I say a niche tool because I've never really understood why someone would prefer a Window Manager that places a lot of constraints than one that lets you cont…

Definitely a preference thing, but how many windows do you actually have open?

At home and work I configure four virtual desktops: firefox, emacs, terminal, misc. I usually have spotify open or more rarely a file manager in misc.

I can then bounce around in an absolute way (don't need to remember alt-tab or cycle history) using +{1,2,3,4}.

Re: i3 4.18

#139
post #3

been a long time i3 user mostly for the sane defaults. It requires significantly less fiddling than any other window manager I've tried out.

Have you figured out how to make i3 move the mouse pointer to the area of the newly-focused window when you change window focus by keyboard? AwesomeWM does that out of the box. i3 doesn't and it's very annoying, because then when my table makes a microscopic movement and causes the mouse to move, suddenly what I'm typing is diverted to another window and weird things happen.

I opened an issue about it in the past at https://github.com/i3/i3/issues/2971 . Apparently it's not on the roadmap, but someone posted an xdotool script in the comments that you can chain with every focus switching command in your i3config thusly:

  bindsym $mod+h focus left; exec --no-startup-id center-mouse
I've been using that and it fixes the issue for me, even though it seems silly that it's not built-in given there's a mouse_warping config setting.

That said, I thought i3's default behaviour was that it would only focus a window when the mouse entered it, not when the mouse was moving around within a window, so I'm surprised you're having that issue. For me I just got sick of my mouse being "way over there" in the odd situation I need it.

Re: i3 4.18

#140
post #73
post #50

If you're looking to switch from X11 to Wayland, you should definitely check out Sway[1]. It's all the greatness of i3 rebuilt on top of a cleaner, leaner, meaner tech stack! [1]: https://swaywm.org/

>> cleaner, leaner, meaner tech stack! What does that mean? Sway is a great project, but I would be careful of using Wayland, as lots of minor issues came up last time I was using it ( death by a thousand papercuts ). For example, if you rely on years of small x scripts ( xrandr, etc. ), be prepared to rewrite all of them for wayland. Last time I used Sway/Wayland, I couldn't find a good alternative to redshift. Whil…

I'm also holding out with i3 until the wayland ecosystem matures a bit more.

I am thankful that a wayland equivalent already exists though.

Post reply on HN