656
you are viewing a single comment's thread
view the rest of the comments
[-] ATDA@lemmy.world 31 points 4 months ago* (last edited 4 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 5 points 4 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 3 points 4 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 2 points 4 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 1 points 4 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.

[-] Alborlin@lemmy.world 5 points 4 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 6 points 4 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.

[-] elucubra@sopuli.xyz 3 points 4 months ago

No disrepect intended, but you do seem exceptionally tech challenged

[-] Atomic@sh.itjust.works 1 points 4 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.

[-] raspberriesareyummy@lemmy.world 4 points 4 months ago* (last edited 4 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!"

[-] Zeoic@lemmy.world 3 points 4 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 1 points 4 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."
[-] KillingTimeItself@lemmy.dbzer0.com 3 points 4 months ago

on my i3wm workstation it's literally a one liner in my config file, which is comprehensive across all of i3wm. Ignoring external scripts.

[-] ruse8145@lemmy.sdf.org 2 points 4 months ago
[-] ATDA@lemmy.world 6 points 4 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.

this post was submitted on 04 Jul 2024
656 points (100.0% liked)

Technology

59192 readers
2103 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS