There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Nougat , (edited ) in OneDrive deleted my files!

I am aware that on a Windows machine, turning on a OneDrive subscription (or at least an E5 license, is where I'm very specifically talking about), certain folders get moved from c:\users[username] into c:\users[username]\OneDrive. Then OneDrive syncs those locations up to 365.

If you just open cmd (not as admin), it will put you at c:\users[username] and then if you just cd desktop ... yeah, that's empy now. dir in c:\users[username] and I bet you'll find a OneDrive folder.

Of note, the default user folder paths that get changed are \Attachments \Desktop \Documents \Pictures. \Downloads stays at c:\users[username]\downloads

JackbyDev OP ,

Oh my god, you’re right. Thank you! You just saved me a lot of stress. Because it finally finished and I selected to keep my files locally but the desktop was still “gone.”

There are still some other weird things going on but they’re minor. My desktop background is just solid black instead of the image I was using and none of the icons on my desktop have the little arrow thing saying they’re shortcuts.

Nougat ,

Desktop background (or other theme stuff) - easiest way is to just reset that to what you want.

The arrow overlay on .lnk files, you could check regedit HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer for a "Shell Icons" key ("subfolder"), which should only be there if it was added manually, but I'd be interested in what it was if it was there.

You could also try rebuilding the icon cache.

I have to think that both of these have something to do with the system looking in the "old" place for the desktop background image and the icon cache, and not finding them there.

KazuyaDarklight ,
@KazuyaDarklight@lemmy.world avatar

Background is probably black because it’s still pointed at the old, non-onedrive, path that no longer leads anywhere.

JackbyDev OP ,

Windows: I will move this folder because I feel like it

Also Windows: Oh no bro! Where’s the file I was pointing at???

dgriffith ,

Windows: “All your files are exactly where you left them.”

RootBeerGuy ,
@RootBeerGuy@discuss.tchncs.de avatar

Windows: “All your files are exactly where you left I moved them.”

dalekcaan ,

I have altered the file path. Pray I don’t alter it further.

dan1101 ,

Your files are now my files. Pray I continue to let you access them.

lapislazuli , in OneDrive deleted my files!
dohpaz42 , in Which one???
@dohpaz42@lemmy.world avatar

So, assuming bash is your shell, the ~/.bash_profile is executed for login shells for the user logging in.

~/.bashrc is the initialization script for when starting a bash session (for the current user).

In my experience, the ~/.bashrc will also execute ~/.bash_profile if it exists. So you can use either.

JackbyDev OP ,

What would I want in login environments I wouldn’t also want in interactive ones though?

lurch , in OneDrive deleted my files!

wth are you windows people doing? isn’t this just supposed to be some cloud storage?

Hawke ,

It’s roaming profiles plus folder redirection plus offline files.

Among the three it’s guaranteed to be 100% fucked.

JackbyDev OP ,

This might be more of a norm that I realized. It seems like Mac does this too with iCloud but hides it better. cd ~/Desktop on Mac doesn’t give a big error despite it actually being stored somewhere else. (Also it seems to have more sensible “on demand” settings, or at least explains them better.) I was expecting something more like right click some folders or add them in a menu and they begin getting synced (similar to DropBox).

ryannathans , in OneDrive deleted my files!

Clearly user error

ReasonFor using onedrive

JackbyDev OP ,

Fair enough lol. The only reason I even tried to is because my parents are apparently shelling out for a plan where all of us get 1 TB to ourselves.

corsicanguppy , in OneDrive deleted my files!

Literally

Oh. I can stop reading, then.

mindbleach ,

It’s used correctly, you diva.

JackbyDev OP ,

You’re upset with the literal usage of the word literally? I wasn’t even using it figuratively for hyperbole.

PM_Your_Nudes_Please , in OneDrive deleted my files!

Just an FYI, Windows likely just moved your files from users[username] to users[username]\OneDrive instead. When OneDrive sets itself up, it basically grabs all of the relevant folders and moves them into a single “OneDrive” folder. Not a huge issue if you’re setting up the PC for the first time. But if you’ve been using the PC for a while, it’ll break everything because now all of your local files have moved and none of your systems are pointing at the right location anymore. For instance, your desktop is likely black because your image file got moved into that OneDrive folder.

Thcdenton , in Which one???

I just thow shit wherever it works lol

MajorHavoc ,

You’ve shared the true bash configuration flow chart.

  1. Add this line to your .bashrc.
  2. If that didn’t work, move it into .bash_profile.
  3. If that didn’t work, call up that bash fanatic you know, and let them screw with both files for like 15 minutes.
  4. If that didn’t work, there’s this tarot card reader I know that comes very recommended. Maybe we can get a bulk discount.
Thcdenton ,
thefool ,

Works every time

Thcdenton ,
rbn , (edited ) in If C++ wore pants

If I were C++, I’d wear my pants like that.Pants are pulled over both ends of the uppercase C with one leg going to each of the plus characters.

On the opposite ends of the plus characters I’d put my shoes obviously.

victorz ,

I will allow this.

0ops ,
Sabata11792 , in OneDrive deleted my files!

My mouse logitech mouse is suddenly chattering really bad and double clicking everything

Is is a G903 you using? It’s a issue with cheap ass switches if that’s the case. I RMAed one and the replacement did it even faster than the first. Gave up on that one.

JackbyDev OP ,

I wanna say it’s a G506 or something? It’s that one that like everyone has because it was ~$80 and there was a deal years ago at Best Buy that included a $50 Steam gift card. I don’t remember how long I’ve had it but it’s certainly out of warranty.

It’s sort of always had this problem but suddenly it got A LOT worse. It’s around the same time as a Windows update. Makes me wonder if Windows was filtering out some of the clicks that were insanely close together before.

evidences ,

Every wireless mouse I’ve ever owned starts double clicking after like a year and a half or two years. The only exception is the Razer Basilisk I bought about 3 years ago, that ones still ok so far

Artyom , in If C++ wore pants

C wears the pants of the family.

Cipher22 , in If C++ wore pants

I guess this would depend on if C++ has multiple personality disorder.

ArtVandelay , in No common rube
@ArtVandelay@lemmy.world avatar

“What color are the pins on the electrical cord?”

No matter the answer, you can be damn sure they rebooted.

A bit harder in the laptop era though.

Revan343 ,

Ha. That’s fantastic

BallsandBayonets ,

In what possible instance would they not be copper colored?

nyctre ,

I think the idea is that average people have no clue what color they are. So they’d be forced to take it out to check and thus have to restart their PC. It’s a trick!

Altho, maybe I’m misunderstanding something because all the pins of all the electrical cords I’ve ever seen have been silver?

domdanial ,

I’ve seen brass colored on some older plugs.

RidderSport ,
@RidderSport@feddit.org avatar

Meanwhile I don’t have any clue as I only disable my PSU with a switch.

Semi_Hemi_Demigod ,
@Semi_Hemi_Demigod@lemmy.world avatar

I’d make up some BS about an old version of the product using brass or copper, and newer versions using aluminum or iron, so knowing the color will help me know how to fix it

Revan343 ,

Stainless is probably more likely than copper, but the point is to trick them into unplugging the thing

Crozekiel ,

I worked with a guy that would tell people that coax needed to be “released to ground” occasionally, by unhooking the cable and putting your thumb over the end. That’s how he made sure people were disconnecting and reconnecting the cable from the back of the box. He also told someone that “data might be trapped in the Ethernet cord” and advised they unplug it from both ends and swing it around their head in a circle to “loosen the stuck bits and clear the line”…

Fubarberry , in OneDrive deleted my files!
@Fubarberry@sopuli.xyz avatar

If I remember right for steam, you can’t disable updates for all games, but you can set some restrictive rules for when it can update. Stuff like it can only download updates for 1 minute monday morning at 3am.

JackbyDev OP ,

Ooooh, this might be a great workaround. If I launch a game does it override this to download the update immediately?

Fubarberry ,
@Fubarberry@sopuli.xyz avatar

I’m not sure to be honest.

Davel23 ,

If you launch a game through Steam and there's an update available for it, then Steam will force the update before it will run the game. Some games can be run by navigating to its install directory and running the executable directly, that should bypass any updates but will not work for all games.

BombOmOm ,
@BombOmOm@lemmy.world avatar

Some games also have beta channels that are just the past versions of the game. Weather this exists or not is completely up to the game publisher though. I mostly see it in games that have active mod communities, so they want to let you lock down your version so your mod pack doesn’t break suddenly.

julianh ,

You can also use offline mode.

JackbyDev OP ,

Too fiddly. I don’t want to constantly enable and disable it. Thank you though.

Excigma , in OneDrive deleted my files!

Regarding your mouse double clicking, some Reddit users suggest pressing the click button quite hard a few times…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines