linux

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

beerclue, in I have a Windows PC connected to a company AD. Is there a way to access the shared company resources from within a Linux environment?

If you use WSL, you can easily access the windows drives. In a VM, you can share the folder from the host.

Another method would be to just mount the remote smb location from your DC using fstab. I use Linux on bare metal, and I added a line to my remote share with noauto, so it doesn’t mount it automatically at boot, since I need to connect to the VPN first, and I don’t need permanent access. When I do need access, I just run mount adm and I’m in.

Petter1, in I have a Windows PC connected to a company AD. Is there a way to access the shared company resources from within a Linux environment?

I guess WSL is best way, but I think you’ll only be able to have the Linux windows like windows windows in the taskbar of windows and launch them with windows

lukas, in The cost of maintaining Xorg
@lukas@lemmy.haigner.me avatar

Force people to move to Wayland. Everyone that complains about Wayland breaking their setup knows how to install Xorg anyways. But most Wayland problems are software vendors not giving a shit. Make them give a shit by breaking their shit by default on most setups. 10 years was enough time to make your software work on Wayland. If your software doesn’t work on Wayland by now, then your risk management is shit.

dataprolet,
@dataprolet@lemmy.dbzer0.com avatar

It’s not only software vendors but Wayland itself lacks some crucial features. For me it’s auto-type and screen magnification - both are showstoppers for me.

BautAufWasEuchAufbaut,
@BautAufWasEuchAufbaut@lemmy.blahaj.zone avatar

auto type

ydotool?

dino,

Increase your scaling/decrease resolution.

bellsDoSing,

Not the same as “on demand zooming”, which let’s one stick with a high, native resolution, but zoom in when required (e.g. websites with small text that can’t be zoomed via browser’s font size increase; e.g. referencing some UI stuff during UI design, without having to take a screenshot and pasting + zooming it in e.g. GIMP).

dino,

What? Strg + Mousewheel, you can even set the option to only zoom text. At least on firefox. No clue what kind of browser you are using which is not capable of that.

bellsDoSing,

Yeah, that browser zoom. And I too used / use Firefox. I’m not saying these kind of sites are common, but nevertheless I’ve encountered them occasionally. Back then, the most pragmatic workaround was to use desktop zooming of Xfce.

My intention on the previous comment was simply to give some examples of desktop zooming that go beyond the typical accessibility viewpoint (e.g. vision impairment).

d3Xt3r, (edited )

Autotype is already solved - ydotool, wtype and dotool exists (and possibly others as well).

Screen magnification is already present in KDE (Meta + +, Meta + - to zoom in/out). There’s also a magnifier tool (KMag). There may be similar functionalities in other DEs.

My issue is the lack of an overall GUI automation tool, ie, like AutoHotkey. X11 had PyAutoGUI, but there’s no such AIO equivalent for Wayland yet, and the PyAutoGUI devs don’t seem to be interested in Wayland support - it’s neither on their road map, nor have they even answered any Wayland questions on their Github page, which is disappointing. But this isn’t Wayland’s fault, when other tools have shown that automating the GUI is possible, we just need someone to put together a complete package like PyAutoGUI / AHK.

dataprolet,
@dataprolet@lemmy.dbzer0.com avatar

KMag doesn’t work on Wayland.

shiro,

feel free to check out map2, I’m currently working on version 2 which will do lots of the stuff you need when it’s ready, but currently the API might still change and docs are active WIP

still, it can already do most stuff I need it for :)

donio,

Autotype is already solved - ydotool, wtype and dotool exists (and possibly others as well).

These tools work by creating a virtual keyboard so they don’t let you send input to a specific window. The input goes to whatever happens to be focused at the moment. This makes them less reliable than the X11 equivalents and unusable for tasks where you need to guarantee that the right window gets the input.

lukas, (edited )
@lukas@lemmy.haigner.me avatar

If that’s the case, then stick to Xorg for now. But that doesn’t change the fact that it’s in your best interest for distros to ship with Wayland out of the box.

Do you want software you use to be compatible with Wayland now or later? If your answer is later, then you have to wait for vendors to catch up, even though Wayland got auto type (already exists) and screen magnification by then. This is why I never understood this push against Wayland. People, your only alternative to Wayland is dead and unmaintained. If you push against Wayland as the default option, you only make your transition in the future more painful than it needs to be.

Also, I think it’s still a software vendor problem. If your software can’t work with the only desktop protocol with a future, then you must contribute to the protocol to create a way to make it work. If you don’t do that, then shit happens, your software breaks, and you had 10 years to contribute to the protocol to fix it. Your risk management was once again exceptional at avoiding doing the necessary work to eliminate a long known risk.

lemmyvore,

People, your only alternative to Wayland is dead and unmaintained. If you push against Wayland as the default option, you only make your transition in the future more painful than it needs to be.

Nobody’s pushing “against Wayland”. I don’t give a shit about Wayland or Xorg. What I care about is having a full-featured, easy to use desktop stack readily available. The “dead” Xorg works perfectly with everything. That’s the bar.

When I get a checkbox on the login screen saying “use Wayland” (or when the distro does it by default) I need everything to work. If everything does not work, I do not use it.

The Wayland choice of pushing complexity onto individual software projects by making them all reinvent a hundred wheels, and onto users by making them hunt down a hundred pieces of software to build a wobbly desktop stack sucks. I have no incentive to take part in this particular rat race.

lukas, (edited )
@lukas@lemmy.haigner.me avatar

Nobody’s pushing “against Wayland”. I don’t give a shit about Wayland or Xorg. What I care about is having a full-featured, easy to use desktop stack readily available.

Install Xorg yourself. Don’t make it easily accessible to new Linux users. Software vendors will take note and postpone doing any work for as long as possible.

And you obviously care a lot about Wayland and Xorg.

The “dead” Xorg works perfectly with everything. That’s the bar.

No, it doesn’t. And if it does, then it’s still insecure by design. When I hear statements like these, I get the urge to publish PoC Linux malware code on GitHub that uses X11 specific features to show just how not fine it is.

The Wayland choice of pushing complexity onto individual software projects by making them all reinvent a hundred wheels, and onto users by making them hunt down a hundred pieces of software to build a wobbly desktop stack sucks.

Substitute Wayland for X11 here. Both Wayland and X11 are protocols. X11 is such a lackluster protocol that all implementations died, except that Xorg still has users.

lemmyvore,

Install Xorg yourself. Don’t make it easily accessible to new Linux users.

New users will drop any distro whose default desktop doesn’t work perfectly and with all the features they want. Linux already has a high enough bar competing with Windows, creating additional artificial hurdles is dumb in the extreme.

And if it does, then it’s still insecure by design.

Security vs convenience has always been a give and take. There’s a cutoff point that users will not cross if the software becomes too inconvenient to use, even if it means greater security. The Wayland stack is currently on the bad side of that line and needs to step over if it wants to see mass adoption.

Substitute Wayland for X11 here. Both Wayland and X11 are protocols. X11 is such a lackluster protocol that all implementations died, except that Xorg still has users.

Nobody cares, all they see is the stack, with Wayland leading the point on the bad decisions.

And you obviously care a lot about Wayland and Xorg.

You are projecting. If this were any other piece of software, say, a text editor that works and does everything you need, and someone came and told you “you must use this new one, it’s the way forward, but oh it doesn’t have all the features you need from a text editor” you would say “thanks but I’ll wait until it’s ready”. But you see no problem in pushing Wayland on people who can’t use it?

Please understand that nobody will ever successfuly push through incomplete software. Not on Linux. There’s nothing you or anybody can do to convince people that incomplete software is complete and usable when it’s not.

lukas, (edited )
@lukas@lemmy.haigner.me avatar

New users will drop any distro whose default desktop doesn’t work perfectly and with all the features they want. Linux already has a high enough bar competing with Windows, creating additional artificial hurdles is dumb in the extreme.

Both Wayland and X11 are an artificial hurdle to someone, so at least pick the sane choice with a future.

Security vs convenience has always been a give and take. There’s a cutoff point that users will not cross if the software becomes too inconvenient to use, even if it means greater security. The Wayland stack is currently on the bad side of that line and needs to step over if it wants to see mass adoption.

No, Wayland is doing fine.

Nobody cares, all they see is the stack, with Wayland leading the point on the bad decisions.

Oh no, Wayland isn’t X11. It’s almost as if Wayland isn’t supposed to be 1:1 bug compatible with Xorg.

You are projecting. If this were any other piece of software, say, a text editor that works and does everything you need, and someone came and told you “you must use this new one, it’s the way forward, but oh it doesn’t have all the features you need from a text editor” you would say “thanks but I’ll wait until it’s ready”. But you see no problem in pushing Wayland on people who can’t use it?

I don’t know about what text editors you use, but my text editor doesn’t allow malware to log all keystrokes, tamper with windows of other apps, steal clipboard contents without consent, inject keystrokes into other windows, escalate privileges, and install rootkits that persist OS re-installs using the escalated privileges.

People work on Wayland. Nobody works on Xorg. Alternatives don’t exist.

Please understand that nobody will ever successfuly push through incomplete software. Not on Linux. There’s nothing you or anybody can do to convince people that incomplete software is complete and usable when it’s not.

Do you need a refresher about systemd, pulseaudio, etc.? I’m not in the systemd haters camp, but pulseaudio broke regularly for me. Yet every distro included pulseaudio.

moomoomoo309, (edited )
@moomoomoo309@programming.dev avatar

I really wanted Wayland to work for me. I just bought a new ASUS laptop (and ASUS has a great Linux compatibility track record, mind you!), 7th Gen Ryzen+Radeon, all AMD. I figured, let’s use Wayland on this one.

I installed KDE Neon, updated the kernel (some stuff is broken on the LTS kernel, no big deal, easy fix), switched to the Wayland session, everything was fine…until I opened any chromium-based app. Crashed kwin, killed the session completely, it recovered, but in a new session. Switched to X11, everything works. Maybe if I grabbed a newer mesa from a PPA it would work, but:

  1. Crashing the window manager killing the session is awful and doesn’t happen in X11
  2. Chromium shouldn’t crash the compositor at all
  3. Even if it’s AMD’s new graphics drivers being buggy, that still shouldn’t kill the session!

And I know, technically KDE could (and afaik, is) implement session management so that doesn’t happen. But to my knowledge, literally 0 WMs/DEs can recover the session after a compositor crash currently, and that’s a big deal.

lukas, (edited )
@lukas@lemmy.haigner.me avatar

If you still want to give Wayland a try, take a look at wiki.archlinux.org/title/wayland#Electron. Electron still defaults to X11, even though Electron supports Wayland. It’s a bit annoying to set the command line parameters for apps that bundle Electron, but maybe it works for you.

NumbersCanBeFun,
@NumbersCanBeFun@kbin.social avatar

deleted_by_author

  • Loading...
  • lukas,
    @lukas@lemmy.haigner.me avatar

    Read again

    toomanyjoints69,

    You should have used a - instead of a .

    lemmyvore,

    You know what’s super ironic? I went through this exact thing with X, 25 years ago, when you had to put together a Linux desktop with spit and duct tape.

    Wayland promises to be much nicer than X but the way it asks you to put together a working desktop stack yourself is straight out of the '90s.

    The more things change the more they stay the same.

    kogasa,
    @kogasa@programming.dev avatar

    Step 1: Install a Wayland compositor of your choice Step 2:

    lemmyvore,

    10 years was enough time to make your software work on Wayland.

    By that logic, one could answer that 15 years was enough time to make Wayland work better than it does… but that would be petty and disingenous.

    Desktop stacks are very complex. X.org took 30 years to beat that complexity into a usable shape. Wayland pushed most complexity up the stack and still took 15 years to finally put together a protocol of beta quality.

    It will take the rest of the stack however long it will take to build on that protocol. Most of the Linux community are volunteers, and Wayland was and still is work in progress. Nobody in their right mind rushes to write software on top of an unstable protocol.

    If Wayland is truly ready I think we will see meaningful stack adoption within the next 5 years. But I don’t think trying to force developers into it will achieve anything.

    As for forcing users that’s completely unreasonable. If you’re using XFCE on Nvidia you’ll have to wait for XFCE to get Wayland support and for Wayland to get Nvidia support. Very few people are willing to change their whole desktop stack or able to buy a new graphics card for the sake of… of what? Bringing about the Year of the Linux Desktop?

    interceder270,

    This is a terrible recommendation and I hope as few people follow it as possible.

    People like you are why Linux has a reputation for always being broken; as soon as we get something that works and is stable, we gotta move to the next broken thing.

    The same thing will be said about Wayland in 20 years, if it ever reaches feature-parity with X.

    lukas, (edited )
    @lukas@lemmy.haigner.me avatar

    Oh yeah?

    That must explain why Xorg always crashes and burns when I don’t use the correct combination of desktop environment, compositor and driver version.

    Let’s not ignore that Xorg doesn’t and never has been working for everyone. At least default to the sane option with a future.

    interceder270,

    User error. If X is too difficult for you to use, maybe you should try Windows.

    Moving to an even more broken option isn’t a good solution.

    treadful, in The Unity Desktop Environment an Underrated Masterpiece
    @treadful@lemmy.zip avatar

    Why is the unity is underrated when its what i use right now with Ubuntu Unity and its actually really great experience for my 2021 HP Stream 11 Laptop and i hope you all to share your experiences using the unity de in Debain Ubuntu Arch Fedora Gentoo Opensuse Etc thanks for your Amazing community my Wonderful Friends

    …is this GPT spam?

    Mohamad20ZX,

    No its my actual writing but i can see why are you confused by my style

    fakeman_pretendname,

    It reads more like a Donald Trump speech

    toomanyjoints69,

    Unity is the best. The greatest. The best in the world.

    LeFantome,

    A lot of people are saying its the best. Perhaps they are right. I don’t kmow. And I hear it all the time. “It’s the best! It’s the best!”. Who knows. But a lot of great people are saying it. Maybe the best people. That’s just what I hear.

    toomanyjoints69,

    The thing to remember, is that its huge. How huge? HUGE! A lot of these new users are criminals, but i hear some are very fine people.

    LeFantome,

    Now that you mention it, Trump sounds a bit like the way FreeBSD people talk about Linux.

    “When they send us Linux distributions, they are not sending their best. Linux is an unplanned, undocumented, unusable, crashy mess. Some, I assume, are also good distros.”

    Aatube,
    @Aatube@kbin.social avatar

    How could you confuse this with GPT. The GPT style is entirely grammatically correct, perhaps a bit awkward, and incredibly bland.

    treadful,
    @treadful@lemmy.zip avatar

    I guess this is more like when you keep tapping the next word in autocorrect.

    LeFantome,

    GPT would offer excellent English and perhaps some nice formatting in at least twice as many words.

    popcorp, in OpenSUSE Leap 15.5 -> Tumbleweed conversion

    Don’t do it. Instead of doing something useful you will be in a constant process of updating and rebooting and dealing with breaking changes and eventually you will give up and switch back to Leap.

    clmbmb,

    Have you even tried to do it? You don’t sound like it.

    I’ve done the Leap -> TW switch three years ago and I’m updating once a month (or maybe once every two months for a while) and never got any breakage.

    Pantherina,

    Sounds like slowroll to me, you should switch and enable autoupdates

    dino,

    Misinformation 101?

    Dremor,
    @Dremor@lemmy.world avatar

    I have used TW for years, and never got bothered by a breaking change for more than a day. And that only happened twice.

    The only thing that keeps bothering me with Opensuse is their obsession with asking for a root password (and not for yours if you are an administrator, I mean the root user password) for every damn thing. Even installing a fucking user Flatpak requires a fucking root password !

    clmbmb,

    alias flatpak=‘flatpak --user’ is your friend.

    KISSmyOS,

    RTFM. The setup of a user-level flatpak is right there in the Wiki: en.opensuse.org/Flatpak

    Dremor,
    @Dremor@lemmy.world avatar

    Like I said, last time I checked even a “user” level Flatpak required to use the root password to install. But it may have changed (for the better) since, which is a good thing.

    Still, my main point is that most the paranoia of the default OpenSUSE settings is way overboard, and should be toned down quite a lot. A lot of action that would ask for the user password, if not no password at all, requires the root password on OpenSUSE.

    I want to use OpenSUSE over Ubuntu or Fedora, I even started contributing back with some package updates here and there, but I just can’t because of those bothering root password prompts everywhere.

    GravitySpoiled, in OpenSUSE Leap 15.5 -> Tumbleweed conversion

    Why not moving to microos? I’ve moved to fedora silverblue from fedora and it’s been a well rewarding journey. I see no big difference to microos

    richardisaguy,
    @richardisaguy@lemmy.world avatar

    I tried microOS once, either podman or distrobox are completely broken on it

    pastermil,

    Is microOS KDE a thing already? Last I checked, it was still hella broken.

    Dremor,
    @Dremor@lemmy.world avatar

    There is progress, but still not fit for everyday use.

    pastermil,

    That’s what I’ve seen so far as well. Definitely would try it out once it’s ready tho!

    Pantherina,

    How is opensuse with Codecs? I am on Fedora Kinoite from ublue, currently experimenting with secureblue, which is security hardened.

    Fedoras immutable Distros have a good ecosystem around them already.

    GravitySpoiled,

    I have no deper knowledge of it, sorry

    DarkDarkHouse, in The cost of maintaining Xorg
    @DarkDarkHouse@lemmy.sdf.org avatar

    The more it’s on its way out, the harder it will be to find people that even want to maintain it.

    elbarto777, in The Unity Desktop Environment an Underrated Masterpiece

    Why is the unity is underrated when its what i use right now with

    Bro. Use punctuation. Help your readers.

    Mohamad20ZX,

    Here’s the problem i can’t edit it again

    elbarto777,

    You still used no punctuation in your latest messages. Learn to use punctuation. It will get you further in life.

    sugartits,

    Tell that to the AI which actually wrote that article.

    elbarto777,

    The poster’s history is grammar cancer.

    GravitySpoiled,

    Ai doesn’t make those errord

    TimeSquirrel,
    @TimeSquirrel@kbin.social avatar

    Unless you tell it to. "Make this sound like a human with terrible grammar."

    halfempty, (edited ) in The Unity Desktop Environment an Underrated Masterpiece

    I never particularly cared for the Unity desktop. The first few times I tried it, there were hardware incompatibilities, slow performance, and crashing. Gnome3 is a complicated mess. I prefer to keep it simple. XFCE is fine for me.

    Aradia, in The Unity Desktop Environment an Underrated Masterpiece
    @Aradia@lemmy.ml avatar

    I still think KDE is a much smarter desktop environment and much more light or fast. I never liked GNOME 3 and Unity had many performance issues in the past. I also tried GNOME 3 recently and still, I needed many plugins to make it good and usable and was still lacking much stuff, while on KDE works all perfectly. I’m waiting for Plasma 6 now. :D

    Rockslide0482, in The Unity Desktop Environment an Underrated Masterpiece

    I miss Unity. It never got the love it deserved from a praise nor development standpoint. My typical Gnome desktop typically ends up being a quasi-Unity layout. I need to spin up the latest Ubuntu Unity spin for nostalgia’s sake.

    LeFantome,

    Why not use Unity then? You still can.

    pastermil, in 13" or smaller Linux laptop - best replacement for aging chromebook?

    How about a Thinkpad X230?

    bobslaede,

    Recently got a used X270 for my kid, for school. It came with windows 11, but I put Ubuntu Budgie on it.
    It cost me about 220 USD in my currency. Very nice computer.

    pastermil,

    I’d usually opt for the 30 series due to being able to unlock the BIOS with coreboot, but the 80 series and all that came before should be good.

    dario, in FOUND file in device by hex content using wxHexEditor

    Not much related, but I want to chime in to express my gratitude for what I consider the most underrated piece of software in the FOSS ecosystem. Better known hex editors pale in comparison to wxHexEditor in terms of features and user interface. I suggest you to tweak the colors for better viewing (I can share my configuration file) and to upgrade to the latest unstable revision because many important fixes landed since the last stable version.

    luthis,

    Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor

    dario, (edited )
    
    <span style="color:#323232;">Language=English
    </span><span style="color:#323232;">UpdateCheck=1
    </span><span style="color:#323232;">LastUpdateCheckTime=1.698e+09
    </span><span style="color:#323232;">ColourHexForeground=#DEDDDA
    </span><span style="color:#323232;">ColourHexBackground=#000000
    </span><span style="color:#323232;">ColourHexBackgroundZebra=#3D3846
    </span><span style="color:#323232;">ColourHexSelectionForeground=#000000
    </span><span style="color:#323232;">ColourHexSelectionBackground=#613583
    </span><span style="color:#323232;">UseCustomHexFormat=0
    </span><span style="color:#323232;">CustomHexFormat=xx 
    </span><span style="color:#323232;">UseBytesPerLineLimit=1
    </span><span style="color:#323232;">BytesPerLineLimit=16
    </span><span style="color:#323232;">CharacterEncodingFamily=DOS
    </span><span style="color:#323232;">CharacterEncoding=OEM - IBM PC/DOS CP437 - MS-DOS Latin US
    </span><span style="color:#323232;">FontSize=10
    </span><span style="color:#323232;">AutoShowTagPanel=1
    </span><span style="color:#323232;">ScreenX=26
    </span><span style="color:#323232;">ScreenY=23
    </span><span style="color:#323232;">ScreenW=618
    </span><span style="color:#323232;">ScreenH=716
    </span><span style="color:#323232;">ScreenFullScreen=0
    </span><span style="color:#323232;">FakeBlockLines=0
    </span><span style="color:#323232;">FakeBlockSize=8k
    </span><span style="color:#323232;">SingleInstance=0
    </span><span style="color:#323232;">ZebraStriping=1
    </span><span style="color:#323232;">SelectedChecksumFunctions=32648
    </span><span style="color:#323232;">CompareOptions=0
    </span><span style="color:#323232;">CompareOptionStopAfter=0
    </span><span style="color:#323232;">CompareOptionMergeSection=0
    </span>
    
    dan, in Best practices in mounting NAS shares?
    @dan@upvote.au avatar

    If you do this, make sure you use snapshots, ideally taken automatically. You wouldn’t want ransomware to overwrite the files on your NAS.

    Whom, (edited ) in The Unity Desktop Environment an Underrated Masterpiece

    Unity started with pretty awful performance (much like GNOME 3) and coincided with some infamous decisions on the part of Canonical, namely that whole business with the Amazon integration, so it’s permanently tainted in the minds of many. It also meant that the largest distro in town was suddenly using a desktop that was much less inviting to newcomers than the familiar GNOME 2.

    I’m glad it’s being kept alive as it does have a unique vibe to it, but I always found the workflow a bit awkward and much prefer GNOME for something modern and xfce or MATE for when I want something traditional.

    Mohamad20ZX,

    Ok so do you still recommend it for other specific users

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 21196800 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 25