How Do You Solve Tech Problems?

Glad to hear it. But I would still examine my workflow if I were in your position. When you use the command line after switching to root user with su, usually the terminal prompt reflects that. Running commands as root while assuming that you’re just a normal user can be quite dangerous.

Oh, forgot to clarify that. I knew I was in root, but the issue is that I didn’t know that pressing X or a combination of X and another key (not sure what I pressed) would delete the file.

That, coupled with the fact that I don’t use Ranger all the time. If I was more familiar with it, I imagine I wouldn’t have made that mistake.

I see. Now I’m kinda curious about what ranger would do if you run it as a normal user, but then try to do things that require elevated permissions. Does it show a prompt at all?

Will test it shortly.

Also, reading through the manual, it seems it was D and not X that I pressed.

EDIT: I remember what happened now. I was trying to press CTRL + S with the hope that it would save the file, but I hit D instead.

EDIT 2: Just tested it. It’s strange, but as a regular user, I get a prompt that asks me what I want to do when I press D.



From the manual:

Moving a file differs very little from copying it: just use dd instead of yy at the beginning.

I think what happened is I pressed DD and it Cut the file, which meant that I could’ve then pressed PP to paste. But I didn’t know that. :sweat_smile:

I first search on online for a solution. If I can’t find it, I try again with a different error. If I still can’t find it, I go on Discord and recently here to ask for help.

For something new that I want to try, I look at the wiki/manual for that and search online as well if needed.

Other… (Explain Below)

Reinstall.

7 Likes

Closing this with the following solution.

How to solve tech problems? Follow this simple guide:

  1. Use the online Wiki or the physical/digital manual that came with your software/hardware
  2. Do a web search by using the same question you have in your mind. Examples:
    → how do I open nvidia control panel on Linux
    → how do I install an older version of electron on Arch Linux
    → how do I get a loading screen when booting like on Windows
    → how do I install another kernel
    → kde wallet keeps popping up
  3. Go to a tech forum like EndeavourOS, stack exchange, etc. and use the search tool with the same questions in step 2
  4. Go directly to the app developer’s site/forum/GitHub/etc. and use their search tool
    [Wiki] How To Check Bug Reports
  5. And finally, if all the above fail, make a post about your specific issue using the forum of your choice (distro forum, official app forum, app’s official support tickets, etc.)

If reading is your issue, then Erik Dubois exists. He has a YouTube and Odysee channel with answers to almost every Arch Linux (and sometimes Linux in general) question you can think of.

YT: https://www.youtube.com/erikdubois
Odysee: https://odysee.com/@arcolinux:8

PS: I know some people find wikis/manuals to be tedious, so that’s where web searches come in. They are very convenient and usually have links to everything that you don’t want to look for in the wiki/manual. Learn to use the internet, for your own sake. :wink: :vulcan_salute:

2 Likes

That works 99.9% of the time. But occasionally you need to make a sacrifice to the tech gods:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.