If you ran this as a non-root user then you didn’t move any system files you just made some copies. Delete the new copies and you should be fine.
oshu
- 0 Posts
- 64 Comments
I use nix for extra packages on my linux desktop. I don"t like brew at all.
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses1·2 months agoIts a personal style choice.
With a blank line before the ‘while’ and another after the ‘done’ its a nice little easy to identify block. I don’t know how the ‘while’ would look like its not a part of that block.
A midline semicolon just looks ugly to me so I don’t do it unless it is the only way to make a statement work.
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses1·2 months agoNo the opposite. I think more shorter lines makes it easier to read than fewer longer lines.
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses1·2 months agoIt just looks weird to me to stick a semicolon into the middle of a line when a compound command isn’t actually needed.
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses1·2 months agodeleted by creator
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses1·2 months agoYes totally a personalstyle choice. To me, using a semicolon to save a line looks more ugly ; then ;)
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses2·2 months agoThats the concise help text to keep it short and easy to read.
The first line in the GNU Bash manual section on loop constructs says “Note that wherever a ‘;’ appears in the description of a command’s syntax, it may be replaced with one or more newlines.”
oshu@lemmy.worldto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR Glasses41·2 months agoSerious question, why use a semicolon to put do and then on the end of the previous line?
Especially when do/done are the open and close control directives for a block.
Don’t you think bash looks much cleaner when you use it how it was designed?
MX Enlightenment Respin has a unique and excellent look. Add some Propaganda Wallpaper Tiles to further enhance the vibe https://github.com/BenjaminHCCarr/PropagandaTiles
I started using linux Slackware in 1996. First time I was paid to install linux on a server in 1998. It was Red Hat 5.2 way before they switch to Enterprise Linux.
Been my desktop daily driver since 1999.
Yes, I’m old.
oshu@lemmy.worldto Linux@lemmy.ml•Installing Linux Doesn't Need to Change. The Experience Does.19·2 months agoThe updates are automatic. They seem to have rolled their own desktop environment. Not sure which distro. The main selling point was that I don’t need to maintain it for him. I am registered as his “tech buddy” so they contact me if something needs to be done hands on. In 3 years no issues/calls so far.
oshu@lemmy.worldto Linux@lemmy.ml•Installing Linux Doesn't Need to Change. The Experience Does.681·2 months agoThe vast majority of people have no experience installing an OS and likely never will.
The typical user uses whatever is preinstalled when the get the hardware.
My father-in-law wrecked his windows pc with malware over and over so I bought him a Wow PC https://www.mywowcomputer.com/ and he loves it. I don’t think he has any idea its running linux.
you are managing 20+ remote systems by hand?
oshu@lemmy.worldto Technology@lemmy.world•Build your own antisocial writing rig with DOS and a USB keyEnglish3·2 months agoThanks for that. Unfortunately, unless I’m missing something, it doesn’t solve the work flow issue as my goal is to get my written text into a modern format that works with everything else I use, such as ascii or markdown.
Word Grinder hits all the marks.
oshu@lemmy.worldto Linux@lemmy.ml•Allow traffic only through tun0 via wlan0, ssh, and localhost in and out1·2 months agoYes it has a web ui to connect to wifi. For cable you just plug it in.
oshu@lemmy.worldto Linux@lemmy.ml•Allow traffic only through tun0 via wlan0, ssh, and localhost in and out1·2 months agoIts simple and I can easily put a laptop or phone or whatever behind the microrouter and have confidence its only using the vpn.
When I travel I take a second microrouter with me to connect to the hotel wifi. All my devices are set to use the microrouter wifi so they never touch the hotel network, only the vpn. Easy, private, and avoids any filtering the hotek is doing.
oshu@lemmy.worldto Technology@lemmy.world•Build your own antisocial writing rig with DOS and a USB keyEnglish16·2 months agoI tried this setup for a bit. I liked Word Perfect for Dos but converting files to my linux desktop was a pain and I never found a workflow I liked.
For undisturbed writing, I use a laptop running a minimal cli only linux install with Word Grinder. Its a modern text mode writer app that stores files in text or markdown.
oshu@lemmy.worldto Linux@lemmy.ml•Allow traffic only through tun0 via wlan0, ssh, and localhost in and out2·2 months agoIf your concern is ensuring a killswitch type vpn setup, I do that but in a different and simple way.
I have a GLinet microrouter configured to join the vpn and active killswitch mode. This is 2 clicks in the menu. I connect it to my network via its wan port.
Everything I want behind the VPN gets connected to the microrouter lan port and job done.
A while ago I did this by making a custom wallpaper with a box on it and set the capture region to the box.