Live data from Hacker News

Linux Desktop Setup

hookrace.net

181–190 of 232 posts

Re: Linux Desktop Setup

#181
post #75

Earlier quoted context omitted.

Sadly it seems it currently can't deal with rotated monitors ;-( I really do love my vertical 24" monitor with full screen terminal.

I believe that's been possible since 1.0-alpha.1 : https://github.com/swaywm/sway/issues/1735

It is, I have it setup in this configuration.

I also personally found sway makes setting offsets for 2 monitors somewhat easier than X11.

Re: Linux Desktop Setup

#182
post #47

Earlier quoted context omitted.

This is why most of people love i3 as tiling wm. Just put it in top of gnome/xfce/whatever, run the first installation wizard and you are done.

On Gnome I can use "Super key" + left key if I need multiple aligned windows on my screen. Can you still convince me to try i3 :) ?

Workspaces are per monitor so its easy to switch all screens at once or just one at a time.

Further i3 has keybinding modes which are sets of keybindings that are activated together. These work like user definable vim modes. A given binding can do one or more operations, and optionally exit the mode.

A brief example.

Everything not in a mode is in the default mode.

A command mode wherein every key is either an action or a mode entered by tapping and releasing left shift.

A workspace switch mode entered by w in command wherein a key is bound to switch to switching to that letter ws. eg left-shift -> w -> a switch to workspace a

An open mode wherein keys are bound to individual applications eg t for terminal b for browser. left-shift -> o t open terminal

Another mode to move a given window to given letter workspace. Another to do the same and switch to it. Another to focus the same app defined in the open mode. Another to get the app from the letter ws.

A mode to control audio including hotkeys for navigating tracks, changing volume, switching all playing streams to different devices, toggling playback.

A mode to kill either the focused app, all in the current workspace or all in the screen. left-shift -> q -> q for current focused, q w for the workspace q e for all visible windows.

You can tab or stack(vertical tab) any app.

You can assign particular workspaces to monitors and particular apps to particular workspaces.

You can a built in tool to run commands based on window rules.

You can save and restore entire windows layouts.

Re: Linux Desktop Setup

#183
post #47
post #35

Earlier quoted context omitted.

Absolutely second that. I also had my nerd times when I dedicated every free minute to Gentoo compiling, or to configure my screenrc, Xorg.conf, make menuconfig or whatever was in fashion. But in the end, it's an OS, a GUI, it's the basis for getting real work done. I used xfce, GNOME, KDE, it all gets the job done. But somehow I can no more get enthusiastic about spending hours for configuring a tiling WM like Xmona…

This is why most of people love i3 as tiling wm. Just put it in top of gnome/xfce/whatever, run the first installation wizard and you are done.

>One problem with Vim is that you get so used to its key mappings that you’ll want to use them everywhere.

If don't already know about `set -o vi` in `bash`, prepare to be delighted.

Re: Linux Desktop Setup

#184
post #70
post #30

Earlier quoted context omitted.

What makes you the gatekeeper of what constitutes a desktop setup?

I don't know about him, but technically, the definition of a "desktop" kind of "gatekeeps" what that specific word means: https://en.wikipedia.org/wiki/Desktop_metaphor

https://en.wikipedia.org/wiki/Desktop_computer

Re: Linux Desktop Setup

#185
post #47

Earlier quoted context omitted.

This is why most of people love i3 as tiling wm. Just put it in top of gnome/xfce/whatever, run the first installation wizard and you are done.

On Gnome I can use "Super key" + left key if I need multiple aligned windows on my screen. Can you still convince me to try i3 :) ?

i3 has much better multi monitor support.

Re: Linux Desktop Setup

#186
post #78
post #71

Earlier quoted context omitted.

You can change window focus from the keyboard, have more than two equally-sized windows, split in both directions, control the wm via i3-msg commands, autostart programs easily.

I've been getting into i3, but I haven't made any use of i3-msg yet. Are there any good tutorials to get started?

Check out Luke Smith. He has a few good tutorials on i3. He’s at lukesmith.xyz

Re: Linux Desktop Setup

#187
post #55

How does your setup work with a second monitor that comes and goes? Use case: I have a laptop that I take everywhere for me, but I plug into a second monitor while at work. I also use multiple desktops, and this pattern is sometimes causing windows to jump to another desktop when disconnecting the monitor.

I have two bash scripts that set things appropriately -- laptop.sh and desktop.sh. Xrandr, xinput, xset things. There's probably a better way to handle this but it's not inconvenient enough to make me figure it out (or duckduckgo it).

Re: Linux Desktop Setup

#188
post #29

Everyone here scoring serious brownie points with their advanced setups. And here I am, having used Linux for my personal setup for 15 years, using pre-installed Ubuntu on a practically default GNOME desktop. It's wonderful that I can do that and be satisfied with that, without significantly hampering the possibility of advanced setups like the ones here. Despite all the systemd's, PulseAudio's and whatnot's, the cus…

I've been using Linux in some form for 15 years. Like you, it's been some pre-packaged usable out-of-the-box distro (Xubuntu, Crunchbang, Mint). I've never once compiled a kernel, as I never had to, or saw the need, and it doesn't seem like fun (neither would fixing the compile errors the inevitably come up when I try to compile anything from C/C++). I've never had audio problems that everyone else seems to have, and…

I've been using Linux in some form for about 20 years (starting with Slackware), and use it as my default at home for the last few years now. I also just mostly run stock Ubuntu these days. I had some issues running a "headless" system that I only logged into remotely a few years back which required tinkering with config files that I would have rather avoided, but even that seems to have mostly ironed itself out now. I mostly just use Super+left and Super+right for laying out windows, nothing fancy there. Makes it very easy to have your "input" (editor/IDE) on left and "output" (browser or terminal) on right.

Re: Linux Desktop Setup

#189
post #40

I'm always kind of amazed at this kind of desktop setups, and I guess they're not suitable for lots of people for the simple reason that most users have a "consumer" relationship with computers and not a "producer" one. My biggest question here for people with this kind of text setup would be: don't you surf the web? Do you use then lynx or another text web browser? What about services and platforms that are designed…

I can't speak for everyone, but I use a tiling window manager with Firefox on a specific tag ("virtual desktop", but not) which I browse mostly using VimiumFF, an extension that gives me vim keybindings for navigation. Pressing "f" puts a small tag over each link with a set of characters (ff, jj, de, df, etc) and typing the characters in that tag opens the link.

This sounds fantastic and I was about to install it, but I paused when I saw the required permissions:

Access your data for all websites Read and modify bookmarks Get data from the clipboard Input data to the clipboard Access browsing history Display notifications to you Access recently closed tabs Access browser tabs Access browser activity during navigation

... this seems excessive - especially clipboard and historical items.

Re: Linux Desktop Setup

#190

linux user/dev here since 1995, few years ago went back to windows.. never looked back.. happier now I never have to worry about shit not working and just do my kernel dev in different ways. I'm no longer interested in tons of desktop config either, more interested in apps that can do more for me, with less of me interacting with the computer to make that happen

I've been developing on Windows for the past year, from a mixed OS X / Linux background, and it has been a seamless experience, the only things I miss are the ease of installing packages like Node or Redis or Postgres, but those are done only the first time I boot up a new Windows installation so the pain is amortized in the time I spend not worrying about random lockups or drivers not working.
Post reply on HN