linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

wwwgem, in X11 tiling WMs
@wwwgem@lemmy.ml avatar

As always there’s no such thing as a global “best” application. Building your system is a very personal thing. It all depends on your needs and liking.

My personal journey in the tiling WM world has started 20 years ago with awesomewm. Then I moved to i3 because it feels lighter to me while offering a configuration approach I preferred. After some times, I felt ready to “really” build my tiling WM and I moved to dwm.

I couldn’t be happier until I came across bspwm which is as suckless as dwm but EWMH compliant. I also love the nice approach of keybindings offered by sxhkd. What I appreciate the most is the no limit configuration power since you can integrate the very powerful program that writes messages on bspwm 's socket (bspc) in any scripts you can imagine. This let you create some crazy and very personal rules. For example, I designed one where bspwm is listening to my video player state and if not fullscreen it automatically resizes it to a given size and moves it to a specific position. I have another one that will apply borders only to 2 specific windows applications and use a different color for each one.

This is a very brief overview of what I’ve experimented. Your expectations and the time you want to deserve to your configuration may guide you on another path. Archwiki has a comparison of tiling WM may be a good starting point to help you in your decision.

dream_weasel,

Interesting. As a dwm guy I was unaware of ewmh standards. Have you used dwm to be able to compare? I love dwm, but it does behave in some cagey ways at times.

wwwgem,
@wwwgem@lemmy.ml avatar

I used dwm for few years before moving to bspwm.

dream_weasel,

Best parts of switching?

wwwgem,
@wwwgem@lemmy.ml avatar

You know how hard it is to explain personal preferences when we talk about tiling WM but, as I mentioned in my first post, I would say that bspwm offer some further granularity. I didn’t thought that was possible after using dwm but to come back to my example I have bspwm listening to the state of my media player. Everytime it becomes floating, bspwm resize the window, place it on a specific position, and add a border to it. This is just one example. Also, even though you can use it with any tiling WM, sxhkd has been developed with bspwm in mind and offers the best keybindings management I’ve ever tested. Thanks to chords, several commands can be associated to independent keybindings within the same piece of code like so:


<span style="color:#323232;">control+{_,shift+}{1-9}
</span><span style="color:#323232;">   bspc {desktop -f,node -d} '^{1-9}' --follow
</span>

Control and a number will switch you to a workspace. If you also press Shift the active window will be sent to a given workspace.

dream_weasel,

I’m already using sxhkd with dwm but it’s probably underdeveloped. I want something like that above but with an additional hotkey to change send the active window to a workspace and then switch to that workspace but I haven’t worked it up. I debated using a QMK tapdance feature for that but have never switched to my QMK keyboard.

I guess to get at my real question, dwm (or maybe more accurately some of the applications I run) generate windows in weird ways. Zoom for instance doesn’t generate notifications for things like unstable wifi, but rather tiles a new window for 2 seconds which is REALLY annoying. Also the window swallowing feature is pretty finicky for things like (n)vim+latex in continuous compiling situations.

It’s all fixable… But it’s just a massive headache since (on my work pc) changing a dwm config means logging out and back in to see the results.

wwwgem,
@wwwgem@lemmy.ml avatar

I would need to go back to my old dwm config file but I think what you’re looking for is this patch. In bspwm this is achieved with the “follow” option as shown in my example.

To restart dwm without login out and back in you’ll need this in your .xinitrc:


<span style="color:#323232;">while :; do
</span><span style="color:#323232;">    ssh-agent dwm
</span><span style="color:#323232;">done
</span>

Then whenever you kill dwm with kill -HUP $(pidof -s dwm) it will actually be reloaded. Seems like there’s also 2 patches to do that now (note that they both mention the above method as well).
dwm.suckless.org/patches/restartsig/
dwm.suckless.org/patches/selfrestart/

wwwgem, (edited )
@wwwgem@lemmy.ml avatar

@dream_weasel Did that help?

bdonvr, in what's a normie KDE distro?

OpenSUSE Tumbleweed, great KDE defaults - up to date - stable. Does things a bit differently than most distros but it’s pretty easy to get used to.

Blaze,
@Blaze@discuss.tchncs.de avatar

That what I use, and it’s perfect

Bombastic, in what's a normie KDE distro?

MX Linux with KDE?

If you have an AMD machine it even has a “advanced hardware system” iso for high end pcs

mitram2,

You have to reinstall mxlinux every time a new debian version comes out. Not really “normie” IMHO.

d3Xt3r, (edited ) in Flatpacks - installing within Distrobox?

Distrobox, by default, doesn’t provide much isolation/sandboxing - it’s main aim is desktop integration and filesystem transparency. So if you’re trying to use it for isolation, it’s a bad idea.

However, you can create a new container which will isolate your filesystem and prevent such conflicts, using the –unshare-devsys flag. (if you want FULL isolation though, use the –unshare-all flag).

Then enter the container and install the flatpak app as usual.

I just tested this on Fedora uBlue and an Arch container and it works fine, didn’t have to unmount anything.

indigomirage,

Thanks - this gives me a few leads.

I know that I’m not getting a full sandbox - that’s ok. Ultimately I’m trying to get bottles running in the hopes of getting a semi-contained environment for me to test out yabridge and getting reaper to load the vsts without crashing. (Reaper is the easy part, the plugins not so much…)

A modicum of isolation here (even if not complete) will help me figure things out. Obviously, if I need different kernel/flags the host will get it too.

If I unshare-devsys, will that disable audio? (I’m still trying to get a clear picture of what’s shared and what isn’t with distrobox/podman (with docker, it feels a bit more straightforward, but I’m not sure docker would be the right choice here…)

d3Xt3r, (edited )

Audio works. Not sure how though, –unshare-devsys is supposed to not share the hosts devices, but I guess audio devices are an exception.

The full isolation flags are:


<span style="color:#323232;">--unshare-devsys:          do not share host devices and sysfs dirs from host
</span><span style="color:#323232;">--unshare-ipc:          do not share ipc namespace with host
</span><span style="color:#323232;">--unshare-netns:        do not share the net namespace with host
</span><span style="color:#323232;">--unshare-process:          do not share process namespace with host
</span><span style="color:#323232;">--unshare-all:          activate all the unshare flags below
</span>
indigomirage,

Unfortunately no luck here. Same issue even when setting --unshare-all flag. I suspect I need to try a different approach.

indigomirage,

Thank you! I just read that and assumed audio wouldn’t. I don’t have warm fuzzies about this.

That said, I’ll give it a go.

Retiring, in Lazarus hackers now push Linux malware via fake job offers
@Retiring@lemmy.ml avatar

If you run random .pdf.something-files pm‘d to you on LinkedIn you probably shouldn’t use a computer anyway, no matter if it runs Linux or Windows…

MrFunnyMoustache,

The problem is, using a computer is pretty much essential to function in this world, I actually know more people who would run any file sent to them without a second thought because they wouldn’t know better, but they still need to use a computer.

I think a better solution is to give better training to people about computer hygiene at the workplace.

fhein,

I work for a large IT company so we’ve had numerous such training courses, but then they use third party services for time reporting, manager evaluation, cloud services, personal finance advice, etc. so I regularly get emails with links to domains that I’ve never heard about that I’m supposed to trust…

MrFunnyMoustache,

That’s what happens when executives don’t listen to IT…

The company I currently work for host everything at the building they own. The CEO doesn’t understand much about IT, but his attitude is “I trust your integrity and your expertise, so I’ll approve anything you ask me within reason if it will improve security and reliability.”

Quereller,

I work in a big international company. We regularly have phishing (email) awareness training. But they outsource about everything and regularly change the providers. So we often get totally legit emails from just some random companies and are supposed to visit/ login to some previously unknown domains.

OsrsNeedsF2P,

Lazarus’ Operation DreamJob, also known as Nukesped, is an ongoing operation targeting people who work in software or DeFi platforms with fake job offers on LinkedIn or other social media and communication platforms.

Looks like they’re going after desperate job seeking crypto bros. Even if it’s not terribly effective, it’s a spray and pray, so they probably got some people.

brick,

Seems to me like they are targeting people who likely have access to assets that can be easily stolen and hard to track.

phrogpilot73, in 2024 Is the year I will commit to ditching windows
@phrogpilot73@lemmy.world avatar

For Corsair - I’ve been very happy with ckb-next. github.com/ckb-next/ckb-next

It is pretty robust, allows remapping of key/button bindings, changing of RGB, DPI, etc. Their goal is to replace iCUE. Very robust for mice and keyboards, but they also list other hardware that it is known to work with in their wiki. Might be worth a look.

Hellmo_Luciferrari,

Thank you, I will chexk this out

pineapplelover, in 2024 Is the year I will commit to ditching windows

Year of the Linux desktop LFG!

Hellmo_Luciferrari,

Been using Arch with KDE on my Lenovo Yoga, both Wayland and X11 depending 9n what I want to accomplish. Though it lead me down the rabbit hole of Weston so that I could run Waydroid from within X11. Ultimately I just decided Wayland basically when I am not using my touchpad or when I want to run Waydroid.

Year of the Linux desktop, LFG!

pineapplelover,

For some reason, when I switch to X11 (also on Arch with KDE), it bugs out, so I’ve been using Wayland with xwayland bridge installed.

Hellmo_Luciferrari,

What was it doing for you when you switched back to x11?

toastal, in 2024 Is the year I will commit to ditching windows

Hopefully it’s all a relatively painless & bug-free experience for ya.

Does your gear work with Guitarix?

Hellmo_Luciferrari,

U til you mentioned Guitarix I wasn’t even familiar with that software. Unfortunately I don’t believe there is any connectivity between PowerCab or my Helix with guitarix. But Guitarix could still be handy to me. Thank you!

maness300, in (Constructively) What is your least favorite distro & why?

Fedora. It doesn’t really add anything and is just more stuff for people to get distracted by.

Also, red hat is responsible for shilling a lot of bullshit.

JustARegularNerd,

I tried Fedora aswell and couldn’t get behind the package management or GNOME. I’m sure it’s trivial to change the DE to something more sane (my tastes lie with Xfce and/or KDE) but I used it for a month and I just went straight back to Manjaro until I could find something better, and ultimately settled on EndeavourOS.

jerrythegenius,
@jerrythegenius@lemmy.world avatar

You could try the KDE or XFCE spins

RizzRustbolt, in Reddit API blew up and now I run Linux?

Yes, FOSS will allow you to fight God.

But you will have to assemble him first.

frippa,
@frippa@lemmy.ml avatar

If we are in a simulation it means God is the ascended version of a gigantic Linux server

chemicalwonka,
@chemicalwonka@discuss.tchncs.de avatar

fight or find?

fhein,

I guess you’d need to find him first if you want to fight him? I think TempleOS is also FOSS in case you want to find god without fighting him.

db2, in Hans Reiser on ReiserFS Deprecation

I don’t know what It was expecting but it wasn’t quite that. I was initially going to make a crass joke but decided to read it before… now I don’t want to make the joke.

cbarrick,

Glad I saw your comment.

His writing comes off very strange. Somewhat egotistical and at the same time radically apologetic. I’ve never felt so uncomfortable reading a “technical” writing.

pingveno,

To me, it sounds like a man who does not understand social interactions trying to emulate how he should act, as he’s been taught in therapy for the past however many years in prison. He will never come off as normal because he is attempting to do something that his brain isn’t capable of. It seems very in line with my impression of his past interactions online.

scrion,

Yeah, while I didn’t want to make a joke, I’ll have to let that sink in for a while.

Gebruikersnaam,
@Gebruikersnaam@lemmy.ml avatar

I hope someone sent him those papers

flathead, in Remmina not working with Windows 10 RDP anymore

had issues with Remmima and Win 10 last week - worked around it by using xfreerdp directly at the command line. this is what I use from a linux command line to set the resolution and sound (audio-mode:1 is same as Remmima local sound, or supposed to be)

xfreerdp /w:1680 /h:1050 /u:<username> /audio-mode:1 /v:<ip address> /sound /microphone

this keeps all audio local on the system, which is what I need.

Remmima was working fine until I messed with the settings to see if I could have both local and remote audio with RDP (you can’t) and then I could not get the local audio back no matter what I did - tried deleting profile, reinstalling, etc. Nothing worked until invoking xfreerdp directly. Been flawless since then.

BentiGorlich,
@BentiGorlich@gehirneimer.de avatar

I'll try that later today

flathead,

great - I’d be interested to hear if this works for you.

BentiGorlich,
@BentiGorlich@gehirneimer.de avatar

using xfreerdp directly did work. Now I just have to find out how to get this working with remmina again, so the UX is not that bad...

paws, (edited ) in Remmina not working with Windows 10 RDP anymore
@paws@cyberpaws.lol avatar

the disconnect is nearly instant.

I recently experienced this. I’m thinking it could be a lot of things, but when I logged into the device through the hypervisor I got a domain controller trust issue error. Can you login locally to the device and check for errors?

BentiGorlich,
@BentiGorlich@gehirneimer.de avatar

I can login via windows remotedesktop just fine...

paws,
@paws@cyberpaws.lol avatar

(DEBUG) - (remmina_rdp_main) - Resolution set by the user: 588x620 (DEBUG) - (remmina_rdp_main) - Resolution set after workarounds: 644x620

Also maybe try with a standard resolution? Although I wouldn’t expect this to terminate the session it might be worth testing.

BentiGorlich,
@BentiGorlich@gehirneimer.de avatar

this sadly didn't work

BentiGorlich,
@BentiGorlich@gehirneimer.de avatar

Will do later today

PlusMinus, in creating an alias of a command with plenty special characters

Just a thought: It should be possible to save the default ps output does that not fit your use case better?

man 5 docker-config-json

man.archlinux.org/man/…/docker-config-json.5.en

krash,

OMG! I didn’t even know about this, thanks! Will look into it, would be awesome to have ps command spit out things like I want them by default :-)

pathief, in (Constructively) What is your least favorite distro & why?
@pathief@lemmy.world avatar

After spending a ton of time migrating CentOS machines I have to say anything red hat related.

luca,

Also Fedora too: really polished Desktop experience, great choice of DE’s, many Spins for every taste, the installer is somewhat insufferable, overall a great distro, but I just can’t get myself over Red Hat (and the logo makes me feel like I’m working on Facebook OS).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #