• ATDA@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    2
    ·
    edit-2
    6 months ago

    In Linux I wanted a window to open in a specific place on boot. Fairly simple bash script.

    In Windows FUCK YOU.

    With llm’s you can get a lot of bad info but for Linux commands, basic tutorials and scripting Linux is WAY easier to learn nowadays.

    Edit didn’t mean to imply Linux is easier than Windows to learn in general.

    • paf0@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      6 months ago

      Registry keys are inferior but they do exist. The last time I used Windows I just had to set some magic reg keys and it was easy to make that happen.

      • Tryptaminev@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 months ago

        I always found that deeply problematic. Here is some obscure path to follow to set some obscure value where half of the naming does not indicate what exactly you are doing there. Also if you don’t set the data-type exactly it wont work. For a fucking 0 or 1 off/on value flag.

        • paf0@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          It sucks, but at least it’s in a centralized location. Back in the INI file days you’d have to set the config in various places. Which, come to think of it, is kind of how things work in Linux.

          Related to the OPs problem, do you know if there is a Startup folder in Windows still? Back in the Windows 95 days we could just drag a BAT script to that folder and it would always run on login.

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          Not like Linux and it’s loads of shell scripts and commands is so much different.

          Yesterday I booted an antivirus live-cd compiled by a computer-magazine (aimed at IT-professionals and tinkerers). The ISO is a Ubuntu 22 release. The things I had to find out (as a mainly Windows user) to set a static IP was way too annoying. When I finally found out how to configure netplan and when I did I got a nice error that gateway4 is deprecated and to please use routes.

          As someone else in a thread said: It’s nice and all that Linux fits some specific uses and users but it’s not really fit for every user.
          Additionally there are too many ways to do the same thing. And it applies to distros as well. A Debian-solution might work to some degree in Ubuntu but if a RHEL way works in Debian or Ubuntu is your best guess.

    • Zeoic@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      Would you mind sharing that script? That sounds incredibly useful lol. I’m new-ish to linux as my daily driver and love customizing it!

      • ATDA@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        of course sorry for delay.

        Requirements: wmctrl, xdotool

        My left screen is 1440p, second screen to the right is 1080 in portrait so you will have to swap the horz/vert locations to match your layout.

        #!/bin/bash
        
        # Time in seconds to wait after launch of program and manipulation of window
        timer=5
        
        # Launch FreeCAD maximized on the main screen
        freecad &
        sleep $timer  # Wait for FreeCAD to launch
        wmctrl -r "FreeCAD" -b add,maximized_vert,maximized_horz
        
        # Launch Cura on the second screen, top half
        cura &
        sleep $timer  # Wait for Cura to launch
        xdotool search --onlyvisible --name "Ultimaker Cura" windowsize 540 960 windowmove 2560 0
        
        # Launch Firefox on the second screen, bottom half
        firefox &
        sleep $timer  # Wait for Firefox to launch
        xdotool search --onlyvisible --name "Mozilla Firefox" windowsize 540 960 windowmove 2560 960
        
        echo "Applications have been launched and positioned."
        
    • raspberriesareyummy@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      6 months ago

      Edit didn’t mean to imply Linux is easier than Windows to learn in general.

      It is though. People just neglect that in today’s world, no one “learns” Windows from scratch.

      Learning to do anything from scratch is easier on most Linux distros than on Windows. The tools are better and the documentation is light years ahead. Windows is a steaming pile of horseshit in comparison. But once you’ve made yourself a cozy nest in the middle of said pile, getting to the comfy whirlpool hot tub that is linux requires you to scale over the walls of horseshit surrounding your nest. And that is what makes people claim “but Linux hard, muh duh!”

      • ATDA@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        6 months ago

        Just setup for various hobbies.

        For example Launch freecad on my main screen, cura & firefox etc in their preset positions and windowed sizes on the second screen.

    • Alborlin@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      5
      ·
      6 months ago

      In atleast 3 distros I wanted to add program at start-up, easy peasy on windows , Linux is mess , some has gui for that but these three distorsion HAD ZERO option for it and I still don’t know how to do it.

      In windows i want to serch for here is program installed, so easy to know and find . In Linux I had to fight multiple terminal commands ( in 2024 no less) and ev n then indid not come across whwre is the program installed

      In Linux I plugged in hdd and wanted a program to acess its content, turns out I can’t do that without mumbo jumbo or wv n with it Whwre as in windows , inplug it and VOILA! I can access it across anything.

      Linux MAY be good at something , but it still sucks for real Common usage.

      • Tryptaminev@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        4
        ·
        6 months ago

        I had none of these issues and i don’t know what you are talking about.

        If you install programs through your package manager they come with a start-menu entry just as easily findable as in Windows. If you don’t install programs with an installer in Windows you get the same problem.

        Also mounting HDDs made its content accessible to all my programs so far, without any issue. I think you must have chosen extremely obscure distros or fucked things up by yourself during install processes.

      • Atomic@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        Which distros? Just saying Linux is kind of pointless. Linux is the kernel.

        Some distros come with more pre-installed features and functions, some come with less.

        Some are more average user-friendly than others.

        I put Debian on my laptop and have not had any problems accessing external drives or plugging in multiple monitors.