• 0 Posts
  • 70 Comments
Joined 3 years ago
cake
Cake day: July 8th, 2023

help-circle


  • I’m only a little bit familar with the TUI browsers. I’m also not sure about gemini and gopher support so you have to look that up on each project page, but I can give some general directions:

    • Lynx is basically the oldest TUI browser, so probably not the best and no modern choice, but still maintained I think
    • ELinks started as a fork of Links (and Links started as an alternative to Lynx, so both ELinks and Links are newer than Lynx). It has a lot of features and is actively maintained, so it’s decent I think. Probably better than Links (and Links is probably better than Lynx)
    • Links2: no idea, just know that it exists. If it’s still actively maintained I would suggest comparing it to ELinks because they’re both probably similar (both related to but newer than Links))
    • W3m is the one I’d recommend, it’s powerful and can be integrated more easily into other applications. For the classic TUI browsers, it probably comes down to the choice between w3m and elinks
    • There’s also a modern project called Carbonyl which is essentially Chromium running in a terminal, so this one might be “better” than all of the above in terms of features and modern website compatibility. But again, it depends on what you want out of a TUI browser - if you only need something basic this is probably overkill. But I didn’t try it out.

  • In more or less random order:

    • Org-Mode is one of the most amazing packages for Emacs. Some people use Emacs only for that. I personally use it for second-brain style note taking, TODO lists, simple presentations, PIM, Wiki-like articles, writing docs (and then exporting it to other formats), and even some simple integrated spreadsheets/tables including some simple calculations
    • Magit is a really good Git frontend. Some people use Emacs only for that.
    • Use “use-package” to install/configure packages. Streamlines configuration a lot, compared to the old days.
    • Use the “no-littering” package to move a lot of randomly generated files into centralized directories
    • Use winner mode to undo/redo window configuration changes
    • Use which-key to show a popup of available keybinds when typing something
    • Use the integrated “time” package to create a world clock view
    • Use the integrated modus-themes for highly configurable themes with a nice contrast (since I’ve spent some time configuring that theme, I’ve stopped using any other theme)
    • Use hl-todo package to highlight keywords like “TODO”, “NOTE”, “WARNING” or “DONE”
    • Use doom-modeline for a nice modeline
    • Use nerd-icons to add nice icons to many views
    • Use avy to quickly jump to specific locations, lines or characters using different keystrokes
    • Use eshell for a quick shell (which works the same on every Emacs, regardless of the OS) and/or either vterm or eat if you need a full-fledged terminal emulator
    • Use embark as a “context menu” when cursor is over anything (bind embark-act to e.g. “C-.”)
    • Use editorconfig package to specify/load different editor configs per project
    • Use treesitter and eglot (or lsp-mode) for modern syntax parsing using language servers
    • Use neotree (or treemacs?) as a file tree viewer, but dired is also cool if configured well
    • Use org-modern package to beautify org mode display
    • Use org-appear to hide formatting characters unless cursor is directly next to them
    • Use Unicode characters to beautify otherwise ugly or bland default characters, e.g. set " ▾" for org-ellipsis
    • Use gcmh or similar packages or config settings to improve general Emacs UI responsiveness
    • Use packages which improve the minibuffer, buffer switching, completion, and basic things like that. There are several good ones and you can’t really go wrong with any, I just think the newer, more well-integrated ones like consult, vertico, orderless, marginalia, and so on are “nicer” than the older less well-integrated ones like helm, ivy and so on
    • Bind “goto-last-change” to a nice keybind
    • Bind “quick-calc” to a nice keybind
    • Bind “org-agenda” to a nice keybind
    • Bind “toggle-truncate-lines” (line wrapping) to a nice keybind
    • Bind “kill-this-buffer” and “kill-this-buffer-and-window” to nice keybinds (e.g. C-x k / K)
    • Bind “consult-line” (or something similar) to e.g. C-s
    • Bind all window and buffer cycling/management related commands to nice keybinds
    • If you want an easier entry into Emacs and are already a Vim user, try the Doom Emacs distribution. If you want to start with Vanilla GNU Emacs but want a decent but minimal default configuration, try emacs-bedrock.

  • I was like that ~20 years ago. But since around ~10 years ago I realized that Emacs basically includes Vim. And much more. Yes Emacs is hard to get into and has a weird language, but it’s immensely powerful, extensible and also extremely reliable and future-proof. No you probably shouldn’t do everything inside Emacs. But several things are powerful, well-integrated and efficient.

    Vim is still great though, I use it in the terminal for quick random config file edits or over ssh sessions (haven’t gotten around or used to trying tramp mode in Emacs). It’s great because some variant of it basically exists on every Unix-like system. And I also highly recommend learning modal editing with the Vim keybindings, which works inside Emacs as well of course. The default Emacs keybinds are unergonomic at best. But it also includes a mode for using Vim keys, and that mode is basically just as powerful as Vim itself. Not half-baked at all, which you might assume in such cases.




  • Congrats.

    Yes, desktop Linux is generally very usable for the majority of users these days. This was already claimed to be the case in the late 1990s, which is probably why many non-IT-professionals had a bad first expression with desktop Linux. But this has changed since (very roughly) about 10 years ago or so, and for gaming in particular it has changed since very roughly about 5 years ago. This is also the reason why desktop Linux was at like ~1% market share all the time but has suddenly grown to ~6% within the last couple of years already. And with higher popularity comes more developer interest and support. Furthermore, Windows is becoming worse over time because Nadella is more interested in milking his user base instead of nurturing it, and many want more independence from US-based proprietary software due to the current political situation, and so it’s very likely that desktop Linux is going to keep snowballing upwards. The trend is looking very positively for desktop Linux, it will probably reach MacOS market share within the next couple of years. For gaming specifically, it’s already #2.

    The most important thing about the Linux ecosystem is of course that most of it (at least the core components) is free/open source software and this is necessary to have digital sovereignty.

    Other users interested in making the switch can make their transition easier by doing it in 2 steps: first, replace all important applications you’re using on Windows with Linux-compatible applications (for example, no MS Office, no Adobe), then adjust to the changed workflows while still using Windows. Only after that, install Linux as the primary OS (or set up dual-boot, but it has disadvantages. Best is to physically disconnect your disk containing Windows (so you still have a backup in case you desperately need it) and use another disk for Linux). That way, the culture shock is a bit mitigated because you’ll have at least some familiarity (the applications you need) inside an otherwise unfamiliar new OS environment. That way, the change will feel less overwhelming.

    If there are still dependencies which can’t be worked around, there’s also the emergency solution of using either wine or a Windows VM on Linux. In the latter case it’s probably best these days to use winboat, which allows running Windows-only applications which then run inside a specific Windows VM or container on Linux. Or you just use a full regular Windows VM on Linux, with a shared folder between both systems for exchanging files.






  • In order of priority:

    1. Check for a Linux-compatible alternative
    2. Try installing/running it via Bottles (a veeeery easy to use Wine frontend, hiding lots of wine complexity). Wine allows running most windows programs directly on Linux, with almost zero performance overhead.
    3. Try installing/running it via winboat (basically WSL in reverse - a well-integrated Windows VM or container running on Linux so you can run pesky Windows-only programs with it) (haven’t used it myself yet)
    4. Use a regular full Windows VM on Linux (likely less well integrated and more resource intensive than #3, but maybe even more compatible). Set up a shared folder between host and VM for easy file transfers.
    5. Dual-boot Windows from another disk. Set up a shared folder/partition for file transfers.


  • Technically, nothing you use in tech is ever really “simple”, there’s tons of complexity hidden from the common user. And whenever parts of that complexity fail or don’t work like the user expects it to, then the superficially simple stuff becomes hard.

    Docker and containers are a fairly advanced topic. Don’t think that it’s easy getting into this stuff. Everyone has to learn quite a bit in advance to utilize that.

    To play games, you went into the wrong direction when fiddling with wine directly, or even just indirectly by using bottles You COULD do that, but you’ve literally chosen the hardest path to do so. You should use something like HeroicGamesLauncher, Lutris or Steam in order to manage your games, install and launch them fairly easily. These will take care of all the complex stuff behind the scenes for you.


      1. There is no universal definition what a technology needs to achieve in order to be “successful” or “failing”. Linux, in particular, depending on perspective, could have either “failed” literally all the time because it hasn’t (yet) achieved desktop dominance, or it could have been massively successful on the other hand because it has been dominant on servers and mobile phones (in the form of Android). Now if we look at desktop Linux in particular, it has also somehow “not failed” at the same time, because it has continued to grow. It was stagnant for a very, very long time at around 1% market share but recently it’s been steadily increasing up to about 5%. Again, depending on your definition or vibes, you could call this either successful or failing. Which is why these terms in isolation are kind of meaningless.
      1. Microsoft is a company, Windows Phone was a product by that company. If a product from a company “fails”, the company will abandon that product. It’s that simple. Sure, gaining foothold against established iOS and Android is super hard. Which is the reason why Microsoft’s effort failed. But, they are just a company. Linux, on the other hand, is at its core a world-wide community-developed open source software project (as well as most of the software that runs on top of it) and so it doesn’t really matter if it grows up to Android or iOS size. It’s still being developed as long as people want to develop for it. There’s no single CEO looking at some statistics and calling to cut that project because it doesn’t serve his definition of success.
      1. In general, any project that strives to eventually rival established software products within a market has a steep uphill battle. It’s the network effect. Developers develop for iOS and Android because 99% of the user base uses those two mobile OS. Only very few developers will be like “oh there’s this new thing currently at 1% market share, sure, let’s help it grow!”. This alone prevents lots of apps you’d like to see on mainline Linux based mobile OS to ever exist for it. So you need to fall back to some workarounds like Waydroid, to run Android apps on Linux in the meantime, while Linux on mobile continues to grow and continues to attract developer attention. This can take a long time! On top of that are anti-competitive and monopolistic strategies and tactics being used by Google and Apple to ensure they remain on top of the mobile OS food chain. One such example is Google’s so-called Play Integrity API, which is basically a form of DRM. Some app developers have been misled by Google’s marketing to believe that they should implement it to ensure that their app is running on a “secure” device or environment. What they fail to realize is that Google uses that to basically label every non-Google-sanctioned Android distribution (like Graphene or Calyx or Lineage or many others) or Android runtime environment (like Waydroid) as “insecure” or other negative terms, which then prevents the app from being run at all. Furthermore they plan to restrict “sideloading” which means they want every app to only be distributed via Google’s app repository. This means Google wants to exert a ton of control over the developers, the platform and every single app that runs on it. Developers are usually being lured into this via marketing tricks that this would much more secure than it was before or similar nonsense. What they fail to realize is that this also destroys flexibility and freedom for the users to choose what they want to install, and from where. On desktop PCs, you have had these freedoms for forever (even Windows(!) is much more open and neutral than iOS or Android are these days) - you obviously also should have these freedoms for your mobile OS because it’s also just a computer with an OS on it. It’s simply none of the business of the OS developer to tell the user which apps he should install and from where. OS and apps are completely different things from completely different developers. Choice is being limited significantly when Google centrally controls what apps are being distributed at all, there’s 1 company telling you which apps you can and can’t use. This is obviously bad and should NEVER happen, but many developers, users and other people confronted with this are easily lured into Google- and Apple-operated cages by fake security talk/marketing. That means they help establish Google’s and Apple’s monopoly on mobile OS. This, combined with the network effect for app developers, is why it will take lots of time and also not a commercial product (because no commercial product will have the amount of money or time to compete with Apple or Google) to rise up to these monopolies until a third viable option is on people’s radars. Linux, due to its open source nature, is the only project that CAN achieve this because it can’t fail. It can only grow. But we also need to ensure that at least Android remains a somewhat neutral and open platform. If Google becomes more like Apple controlling literally everything, it gets even harder for alternatives (and for Android users in general).

    Linux phones are usable right now, but of course you have some limitations in practice… many apps aren’t available or you have to use workarounds. If you mostly use open source applications you could be fine though. Although it’s likely that you still need a secondary, small Android-based phone that you turn on just for those rare cases where you absolutely need a certain mobile app and it’s only available for Android. At least while Linux mobile OS usage is still low. It’s probably going to grow faster in the future, because those monopolistic companies usually enshittify their products and services at some point (Google is already well on it) and then regular Android/iOS users become so annoyed at what they’re using that they also open up more for alternatives. It’s basically what’s happening in the desktop OS space right now - Windows continues to become more user-hostile and annoying to use, and desktop Linux passively (as well as actively) becomes more popular as a result. At some point, these companies forget what made their products popular in the first place and are only operating in the mode of milking users for data and profits, because they don’t need to work hard anymore to improve the product - it’s already popular enough. At that point, regular users who normally don’t care about things like freedoms, privacy and ethics in the product they use will notice that things became worse and might switch simply because of inconveniences they didn’t have before.

    Another very good option beside Linux-based mobile OS these days is GrapheneOS. It’s the best Android-based distribution you can have currently, nothing comes close (not going to elaborate here because long post is already long). But you still should be prepared for increasing hostility from Google towards unofficial Android distributions, and some apps which use the Play Integrity DRM to not work. If you encounter this, make sure to let the app developer(s) know. They need to realize that they are only serving Google’s interests with this, not their own.


  • kyub@discuss.tchncs.detoMemes@lemmy.mlAbout Cookies!
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    So unfortunately websites routinely and carelessly lie about basically everything related to data protection stuff. This already begins with the term “technically necessary cookies”. No cookie is truly technically necessary. What they usually mean by that is “we really really want to put this tracking cookie from our ad partners like Google into your browser, and we don’t care whether you want that or not so we just claim it’s technically necessary”. But even if you refuse a cookie prompt, often your choice isn’t respected at all and cookies are created regardless. In fact, many cookies are already created at the very beginning before you make any choice in any sort of cookie banner. Basically this whole ad/tracking industry is a complete mess and no one really cares and it’s just best to completely ignore what sites claim and use technical means to protect yourself at least a little bit because you cannot trust ANY site’s claims regarding that. Most of the time, even the phrase “we value your privacy” is already the very first and biggest lie. Don’t trust what websites claim. It’s pointless, and nothing happens when they violate their own rules or data protection laws anyway. Which they do almost all of the time anyway. This illegality is routine and almost omni-present. Cookies are also far from the only thing that sites can use to track you. They’re just the most well-known method, which is probably why we have these near-pointless laws requiring sites to put up near-pointless banners to annoy visitors with.

    So as a user, you should just ignore any of that and completely rely on technical means to protect yourself from any or most kinds of shenanigans websites can do to you. Most privacy-respecting browsers have features that limit what sites are able to do with you, such as cookie isolation which prevents other sites from being able to read the contents of cookies belonging to other sites. Or more general, isolation of any website data, not just limited to cookies. But not every browser has these types of protection. If you use very common browsers like Chrome, Edge or Opera, then it’s likely that you have none of that because the developers of those browsers are companies which profit from the user being more easily trackable through the web.

    So the easiest solution as a user is to use a privacy-respecting, well-pre-configured browser like Librewolf or Mullvad Browser, and use uBlock Origin as the only extension with several enabled filter lists. This alone makes you a much harder tracking target. And of course you can safely ignore or block any cookie notices, it doesn’t really matter what you select in them most of the time anyway. Although your IP address is still always a liability with ANY browser, because it can be fairly easily linked to your person and you will expose your IP address with any regular browser, so if you want to browse anonymously you should use the Tor Browser (with mostly default settings and no additional extensions). That means that you won’t have ad blocking protection, but at the same time the site and any ad servers don’t know who you are anyway (you’re just some random person from a random country for them), unless you make a mistake and log into a personally-identifiable account or so. The Tor Browser also contains the most amount of anti-tracking and anti-fingerprinting techniques possible. For casual anonymous browsing you should absolutely use the Tor Browser, because with it it’s highly unlikely that a website is able to identify you. Its main disadvantages are that it’s slower, some sites block that kind of browser, and since you shouldn’t add any other extensions you will see ads with it, but your identity still remains protected unless you make a mistake. Still, it should be your go-to browser for anonymous browsing. Switch to your regular browser for when you want to log in to an account with personal details.


  • kyub@discuss.tchncs.detoLinux@lemmy.mlLinux Users- Why?
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    When I was new to the Linux desktop world (late 90s to 200x) I tried lots of different distros and (X11) window managers and tools and whatnot. Changed themes a lot. And so on. And I think there’s value in all that, because it expands your horizon of what’s possible on the desktop, how different UI/UX paradigms work out in practice for you, and you learn how to use different environments.

    On the other hand, there’s also value in having a consistent, well-integrated desktop environment. It can mean less “pain points” in various circumstances, and it’s also efficient when multiple programs share the same libraries or code base instead of having separate tools all around.

    In the end, it comes down to what works best for you. But this might also change over time. For example I’m really considering switching to Cosmic once it’s mature. I’m also considering taking a look at Niri because it seems well thought-out. But currently I feel cozy using Plasma at home and Gnome at work because Plasma is currently the least-annoying and at work I still use Gnome because it’s been historically more stable than Plasma for me. I’ve tweaked Plasma’s hotkeys so they work more like Gnome’s and since I also need to use a couple of Windows-based systems at work I’ve also configured common Windows shortcuts like Super+L, Super+E, Super+R so that they all behave the same everywhere.

    Oh, and my distro is Arch everywhere because I’ve used it for ages now and I like its technical simplicity, stability and modularity. It’s the one distro that gets in my way the least.

    I think one should learn enough to be flexible and be able to use everything, while also not being too narrow-minded and just focus on one solution too much. What works best for you now might not be the best choice for you in a couple of years.


  • Not sure there will be a big change there, because they are already powerful enough for most common tasks since several years now. And everyone owns at least one phone or tablet already. So I don’t think that number is going to rise significantly anymore. Those people who are OK with using a phone/tablet for everything probably already do so right now. Maybe if living conditions for the non-super-rich become worse and people look for more affordable computing devices. But even then, older devices which can run Linux desktops for example are already dirt-cheap. I just don’t think that the UI/UX of phones or tablets is on par with desktops or notebooks running a regular desktop OS when using a big screen. Those UIs are primarily made for touch and for smaller screens. Trying to do everything with just one UI paradigm just leads to Windows 8 ugliness.


  • Desktop Linux’ marketshare is going to steadily increase, but as time progresses, so will the speed of that increase. Linux was at or below 1% for a really long time but within the last 5 years or so it jumped to ~5%. As this not only means more users, but also more attention and developers, this will of course snowball. The end of Win10 will also give a bump. And if the enshittification of Windows continues (it probably will) and if US-based companies are becoming a red flag for non-US-customers (will probably also happen) then it will snowball even faster.