I just want something as a proof of concept that this can be for me. I am aware I am the problem.

But everything is wildly difficult for me. I pulled back from docker after realising it was above my skillset, I just want to try home assisstant with a few lights but fair enough it is beyond me.

I opted to install a game, fail. Learn about wine and bottles. Start a bottle and get told I only have 8gb free in directory, I cannot for the life of me see where it is getting that from.

Please god someone tell me there is a step by step for the fucking imbeciles out there on where to start!?

  • nottelling@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    18 days ago

    Docker won’t make much sense if you don’t understand the underlying Linux systems and/or applications.

    It’s similar with Wine and Bottles. If you don’t get what’s in the bottle, then running the bottle won’t make sense.

    Find tasks that run on the native OS. learn to manage Linux itself. skip containers, Snap, virtual machines, etc.

    try running a web server using httpd or something.

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      18 days ago

      Yeah I need a basic basic start, hello linux world type shit. Except more basic than that.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        17 days ago

        Read into BASH, you may know it as the “Terminal” or “Console” people may also call it the “Shell” it’s essentially the heart of all modern Linux distribution’s and once you wrap your head around the command structure it’s pretty straight forward!

        Key commands:

        • cd == Change Directory

        • sudo == Root privileges

        • mkdir == Make directory

        • rm -f == Remove file/directory with force

        • touch == Make a new file

        • nano == Text/File editor

        • cat == Read file contents and print to shell

        Commands don’t need to be complicated! For example nano /home/SomeUser/Downloads/SomeRandom.txt will open the text editor to SomeRandom.txt in the /Downloads directory of SomeUser

        Each Linux distribution will come with a package manager, Debian based distributions like Ubuntu, Linux Mint, Kali Linux have dpkg and APT as their package managers and Arch-based systems have Pacman,Fedora-based systems use DNF.


        If you really can’t handle the complexity perhaps trying an immutable distro like Bazzite which is more locked down, less easy to break and geared towards folks like yourself.

        • Ulrich@feddit.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          17 days ago

          so just to be clear:

          • bash
          • terminal
          • console
          • shell
          • terminal emulator

          These are all the same thing?

          • ohshit604@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            17 days ago

            For the most part yes!

            There is a difference between /bin/sh (Bourne Shell) and /bin/bash (Unix Shell), the Bourne shell is still used on more light-weight distro’s like Apache whereas BASH is more feature rich and larger which you use on the more heavier distributions.

            There is Zsh which is an extension of the Bourne Shell.

            Fun fact; Your system may fallback to /bin/sh if it cannot boot properly or is unable to run /bin/bash.

  • Quazatron@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    18 days ago

    Don’t feel bad, I’ve used Linux since 1995 and don’t have enough skills to use Bottles.

    I do however game a lot, using mainly Steam and Heroic. You can try to start there.

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      18 days ago

      I did get the Heroic Flatpak on my first install but it wouldnt do wat I needed with emulators…cant remember what it was, I think pcsx2 related.

      I used Lutris and it worked great but I am struggling on this install to get it back to where I had it.

      Also do you rcommend flatpaks always or just for beginners? I have both firfox and firefox FlatPak installed and same for a few other softwares.

      • Quazatron@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        17 days ago

        I use Flatpaks for a lot of stuff (Steam, Firefox, and some other stuff that I feel should not have access to my tax returns in the Documents directory). It’s not just for beginners, Flatpaks are useful for other reasons.

        • Squizzy@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          17 days ago

          Yes I had heard people say to use them wherever they are available but I didnt understand the difference. If it is siloing them then great I’ll use all flatpaks so.

  • electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    18 days ago

    A thing about Linux is that there’s usually like 10 different ways to accomplish something. If you hit a dead end in terms of your ability or tolerance for frustration… just go back to square one and find a different approach. For games, I recommend starting with Steam.

  • Ulrich@feddit.org
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    17 days ago

    People love to go around talking about how easy Linux and self-hosting and Home Assistant are but they aren’t.

    I ran Home Assistant for about 3 years. It’s incredibly powerful but it’s also incredibly complicated. After the 3rd time it offed itself I just put all the mechanical shit back in and deleted it.

    Linux I kinda gave up on. It’s awesome playing Steam games on my Steam Machine but even just playing GOG or Epic games it’s 50/50. I still have Linux on my laptop but I simply can’t use it for a lot of stuff so I mostly use an old iMac.

    So yeah, it’s not just you. It’s mostly fucking software engineers and developers constantly telling you how “easy” this shit is.

    • spaghettiwestern@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      17 days ago

      I had similar issues with Home Assistant initially and had two failures that looked like database corruption in less than 6 months. I decided to give it one last try and switched to MariaDB. That was nearly 3 years ago. Since then it’s been rock solid.

      You had a lucky escape, HA is addictive.

      • Ulrich@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        17 days ago

        Yeah I don’t even know how I would figure that out. Everything just stopped working and I went to log in and everything was just gone.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    18 days ago

    Portainer helped me get my head around docker images. And docker hub sometimes has the steps to configure the container, and sometimes not; many assume everyone knows how to pass bind or volume mounts and bridge or host network stuff.

    I played with portainer a while to visually see what thing do.

    Then it led to command line and yaml configs stuff after that. Its a learning process.

  • verdigris@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    16 days ago

    You seem to be reaching for pretty advanced solutions – Docker and HA both require you to read a lot of documentation to get started. Bottles is also a powerful and flexible tool, which is the opposite of simple.

    What game are you trying to run? If it’s on Steam it should be a no-brainer, otherwise Lutris can simplify a lot of things.

    I doubt you actually need Docker for anything, unless you have a specific use case I would just abandon that. For your lights, I would try searching for “home assistant [model/brand of lights]” and see if you can find a setup that someone else has gotten working that you can mostly copy.

  • pebbles@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    17 days ago

    Yeah I feel Linux has a lot of dead ends. Its easy to follow the wrong path. My saving grace has always been that once you get things working, you know how you did it and it likely won’t change much.

    So really its a big search, but once you hit a steady state it really feels like home.

    • bridgeenjoyer@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      17 days ago

      This right here. Once you figure shit out youre DONE. Likely in 10 or more years those commands will still work. No bullshit windows updates wrecking functionality.

      I haven’t touched windows in 3 months now and its been great. Linux is way easier even than 5 years ago

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      I feel its the inverse of windows in that sense, maybe I am just used to it and its ways but if I st out to do something it just id achievable…mind you Inwouldnt be doing anything complicated but even te mundane is complicated here.

      • pebbles@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        17 days ago

        I am young and have a computer science degree, and I still struggle at times. I get it.

        For games, I’d try to install steam and run them through steam if thats how you’d normally do it on windows. Then for me the main setting to play with (on a game by game basis) is setting the game to use proton (in the compatibility settings of the game) and whether or not to use steam input for controller support.

        If you are trying to install a non steam game, maybe look into lutris. Though I’m on the techy side, and I hear a lot of people like heroic game launcher on the less techy side.

        Good luck. I think it’s fair to run out of energy while trying get the right combo, but if ya stick to it I’m confident you’ll find the set up that works for you.

        • Squizzy@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          17 days ago

          I actually did get lutris perfect last time for what I wanted it, this time is different.

          I had steam told to use proton in general compatibility settings but I just copped that on a per program basis it was off for some reason so I selected it and it progressed to install which is great. Unfortunately it did stall in the same place as bottles, by claiming there was only 8GB free of a necessary 60 so I have to figure out why that keeps cropping up. My only drives are 300gb free ssd and 1tb free hdd.

          Thanks for the confidence though, much appreciated.

            • Squizzy@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              16 days ago

              I dont think so, I went and checked my drives, everything was fine and visible. ~900gb free and two volumes of a few mbs. Thought Inwould format and now I have to learn about mounting again because I can see it in directories but cant in disk analyser.

          • verdigris@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            16 days ago

            What might have happened: if you select a global compatibility tool (proton) in the steam settings, it will use that for all non-native games. But any games that ship a Linux binary will still use that instead of Proton. This is generally good, but some devs ship a Linux binary that’s actually not as good as the Windows one. I’ve seen some games not update the Linux binary until much later than the Windows one, so the Linux one is out of date, and for some games it’s just flat-out broken. In these cases you can manually select a Proton version for that game, which will force it to run the Windows binary.

  • cyberwolfie@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    17 days ago

    If I were you, I’d make sure to tackle one thing at the time, and set aside some time to figure it out, where the goal is not to for instance play games, but set up a game for play later. That way you can focus on the first part, instead of trying to rush that. So for example, when you are trying to set up Home Assistant, spend time just getting Docker to work first. I’ve fallen into that trap many times before, where I ended up not reading the messages properly because I was impatient and just wanted to get to the end fast. Once you get more familiar with Linux, this stuff gets quicker because more of the steps involved with any task is familiar to you already, and the troubleshooting threads you find on different forums are less Greek.

    For specifics:

    1. For Docker, when you feel ready to try that again, I’d recommend setting it up together with a GUI, like Portainer. If you follow the official guides to install Docker and then Portainer, you should have a web UI accessible that makes dealing with containers easier. I generally like doing things in the command line, but for containers, I prefer to have a GUI.

    2. When it comes to Home Assistant, I’d honestly go for either Home Assistant Green or Yellow from Nabu Casa (you’d support the Open Home Foundation directly this way). If you want to set it up yourself, I’d go the route of a dedicated single board computer, like a Raspberry Pi, and use Home Assistant OS. I tried to set it up as a container as well before, but there are certain limitations you avoid by just running their OS directly on dedicated hardware. It’s been running smoothly for me since I set it up on my Raspberry Pi 4.

    3. It is good to learn about Wine and Bottles, but I’d start out with Steam (and Proton), Heroic and Lutris. I’ve had much headaches getting stuff to run properly on Heroic and Lutris, but I think the trick here is to avoid Flatpaks for these sorts of things, because there are many dependencies, and you are dependent on a good permissions setup for Flatpaks. Your mileage may vary though, I’m sure there are plenty of people with painless experiences with Flatpaks here.

  • Vik@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 days ago

    which distro and hardware config? Can’t speak to docker as I don’t use that any more, I’ve yet to get stuck into homeassistant, but games are just click and run on most distros with steam?

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      18 days ago

      I am running the most recent mint on a Dell 7060

      I7 8700 processor. 480gb nvme SSD. 1tb HDD 16gb 2666 MHz DDR4 ram Intel UHD graphics 630

  • QuestionMark@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 days ago

    I opted to install a game, fail.

    I don’t remember ever getting anything to work in Bottles. PlayonLinux is much better (for any sort of app, not just games).

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    17 days ago

    So… you receive plenty of great technical advice, I won’t go there.

    I’m sure your title is wrong. I know for a fact that there is plenty of things you did with Linux that looked until then impossible. They do look impossible to most people today. So… yes there are plenty of things you don’t know how to reliably do but you eventually will manage!

    I did read a bit from the Greater Good Science Center in Berkeley https://greatergood.berkeley.edu/ and there was a piece specifically on “everytime” or “always” as basically shortcuts during arguments that reframe the situation incorrectly. You surely meant to say “I often get frustrated trying new things on Linux” instead. It sounds like I’m nitpicking, yet simply rephrasing gives a totally new outlook to the situation. We all, literally ALL of us, do struggle when we try something new. We often fail but if we keep on trying, get methodical about it (what was the error message? did I try something similar before? how does it actually work? who could help me? etc) then you are bound to succeed.

    So no, you are not the problem. No, you are not an imbecile. No, you do not always fail!

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      Appreciate this, its absolutely right. It was a moment of frustration for sure, not ready to trow the baby out with the bathwater just yet.

  • Nibodhika@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    17 days ago

    Ok, lots of answers focusing on the game, so I think you have plenty of suggestions on what to try there. That being said I have never heard of bottles, I’ve used raw wine and PlayOnLinux before Steam integrated Proton so now I just use that.

    For docker it can be daunting, and home assistant is not an easy thing to setup. The thing with docker is that it can be very complex, but you don’t have to worry about the majority of it. I assume you have docker installed, enabled and your user is in the correct groups. Unfortunately Mint/Ubuntu don’t have docker in their normal repos so you probably had to add the docker PPA and install from there. Let’s run a couple of commands to ensure all went well:

    sudo systemctl status docker

    This should show you the status of the docker daemon, and it should say that it is Active. If you get a no such service type error then docker is not installed, if it’s not shown as active then the daemon is not started and can be done so by running sudo systemctl start docker (and you can replace start with enable for it to happen at boot). If it’s Active then awesome, let’s check that your used can run docker commands, try running this: docker run hello-world if that fails but sudo docker run hello-world works then your user doesn’t have access, you want to add your user to the docker group sudo usermod -aG docker $USER and reboot.

    Ok, docker hello world is working, what now? Now, I assume you have some idea of what docker is, but in a (wrong but simple) way you can think of it as virtual machines. Let’s try to run some cool stuff in it, there are two main ways, running a long complicated command, or writing those parameters on a file and running a simple command. This file is called a compose file, and should be named compose.yaml or docker-compose.yaml. let’s try that, create a folder called silverbullet (just because that’s the service we will try, it is a note taking app that I really like) and in there create a file compose.yaml and write the following content there (everything starting with # is a comment I added explaining what that does, and can be removed if you don’t want it):

    # This defines all of the services we want to run
    services:
      # This is the name of the service, it can be whatever you want
      silverbullet:
        # The image is the actual thing you want to run
        image: ghcr.io/silverbulletmd/silverbullet
        # This tells docker to restart the service if it closed for whatever reason, unless you specifically tell it to stop
        restart: unless-stopped
        # This will set environment variables inside the docker.
        # different services might require different environment variables set
        environment:
          # silver bullet uses SB_USER environment variable to set user/password for the main account. We're setting user to admin and password to 123 here
          - SB_USER=admin:123
        # This maps outside folders to inside folders so that your docker container can access them
        volumes:
          # Here we're telling it that the ./data folder should be accessible in the /space folder inside the docker
          # silver bullet stores stuff in the /space folder, so by mapping it to the ./data folder we can keep that data between runs
          - ./data:/space
        # This tells docker to map ports from the inside to your host machine, this allows you to access the docker container as if it were running on your machine
        ports:
          # This tells it to map the internal port 3000 to the external port 5000, so accessing http://localhost:5000/ from your machine will in fact access the same as http://localhost:3000/ inside docker
          # Silver bullet runs on port 3000, so we need to expose that port
          - 5000:3000
    

    Uff, that was a lot, but we’re done, now just run docker compose up -d (up to start -d to run as a daemon, i.e. in the background) and you should be able to access http://localhost:5000/ and get to Silver bullet logging in with admin 123, then if you write about something you will see files appearing in the silverbullet/data folder.

    I know that this was a lot in one go, but I chose Silver bullet because it touches all of the most common stuff you’ll need and it’s easy to get going.

    Good luck with your self hosting journey, and don’t hesitate to ask if you have any questions.

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      Hey man thanks for this, hoping to get back on the machine later today but Inreally appreciate your effort here it means a lot and goes a long way.

  • anistorian@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    16 days ago

    Stick to it! I know it seems overwhelming in the beginning, but you will get used to it at first and then get better with time.

  • anon5621@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    18 days ago

    Before using docker u need learn how to use it,it would be problem no matter what os if u don’t know how to use this technology.Bottles yes or portproton,storage scan u can use gnome disk storage analyzer

    • Squizzy@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      18 days ago

      Yeah this is the kind of thing I need, a list of what to get through. I know fuck all about cli or ide or anynof that stuff so I have work to do.

      • N0x0n@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        17 days ago

        A blocky road ahead of you ! It will take some time, don’t try to speed up the process ! Remember the first time you started Windows on a computer ? It wasn’t easy at all ^^’ but now most people know how to start and use a Windows system.

        Linux is great, linux is freedom and customization but linux is also a hell of another level of complexity.

  • eelectricshock@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    16 days ago

    Use an operating system like Linux Mint. It’s very simple. Steam can solve the Wine problem, this can be done by adding a new game into your Steam library. Remember that all the distros have certain goals in mind.