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.

Nibodhika

@[email protected]

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

Nibodhika , to linux in Stopping a badly behaved bot the wrong way.

I know you couldn’t do that because you have data limits in the US, but my first instinct would have been to put an Ubuntu iso as the robots.txt (or better yet, point it to /dev/urandom) let that bot download GB of data to fuck with his connection/disk.

Probably shouldn’t do that though, and blocking it on Cloudflare is the correct approach.

Nibodhika , to selfhosted in In search of software for managing my life (like a helpdesk but in a lite format)

O think you meant to reply that to OP

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

It’s not impossible, but each DE has their own context menu, each application has their own context menu, without understanding his use case it’s impossible to answer the question. If he had said I want to edit root files then the answer would be the nautilus-admin plugin, but he kept shutting himself and not answering simple question about what is his use case which made it impossible for anyone to answer.

If someone asks how to tie a noose you ask for context, answers are vastly different if he’s trying to tie his shoes than if he wants to hang himself. Even if you plan on helping the person hang themselves you need to know the use case. Read some of the replies he sent and you’ll see his entire problem is caused by him having run things with sudo to begin with, and now having lots of permissions problems that he thinks the best solution is an easier way to run programs with sudo, which will put him in more of the same situations needing that more and more. He can use his computer however he wants, but at that point it might be easier to just login with the root user and be done with it.

Nibodhika , to linux in I've never played games. Suggest a couple of addictive games I can play on Linux

Most of these have been mentioned already, but it all depends on what do you like, of course that’s difficult because most people know what type of game they like because they’ve played other games before that they can use as reference. So instead I’ll go the other way around and suggest addictive games if you think you would like certain mechanics/types of games.

Are you an engineer? Do you like Rube Goldberg machines? I have just the game for you. In Factorio you create your factory from scratch, first gather some coal and iron by hand, but before long you’ll have a fully automated overly complicated factory.

Do you think you would like to instead build a base, starting with some colonists striving to make it through the winter but then growing into a huge settlement? If you like sci-fi RimWorld is about exactly that, with a small team of people who crash-land on a planet on the edge of the Galaxy and now need to build their base. If you prefer fantasy, Dwarf Fortress is a (more complicated) game about Tolkien types dwarves building their new home.

Do you have a controller and like to play games with it? Do you like being challenged? If so Dead Cells might be interesting. It’s a game where each time you die you go back to the beginning, but the entire map has changed so it’s never the same, and you’ll unlock new things to explore different things and discover new paths.

Do you like Strategy? There are a series of games from Paradox Interactive that take place in different time periods, so choose what you prefer, they’re all great and all have somewhat different mechanics (e.g. the game that’s set on the middle ages has genetic traits so choosing who you marry is very important, not just because of what you’ll inherit from them but also for their genetic traits for your sons). Going chronologically, if you want a game about the time of the Roman empire then Imperator: Rome; if you prefer a game about medieval times Crusader Kings (the current one is 3, but 2 is also very good); if you prefer colonization period Europa Universalis (EU 4 has an interesting mod where you can carry over your save game from CK2 into it to keep going from how the map looked there); If you prefer industrialization Victoria is a great game (current game is Victoria 3, although I haven’t yet played it, most bad reviews usually compare it to Victoria 2, so I assume Victoria 2 is better but might be more difficult since it’s quite old); if you prefer World War 2 then Hearts of Iron is an excellent game about grand strategy of war instead of how the games usually deal with this period, if you would prefer a more focused, i.e. control soldiers in a battlefield, I recommend the Company of Heroes (this is very different from the others here, but thought it would be worth mentioning because of the same time period but very different gameplay); If you prefer galaxy exploration then you might want to look into Stellaris.

Nibodhika , to selfhosted in In search of software for managing my life (like a helpdesk but in a lite format)

O was going to make a weak suggestion, but the more I read the stronger my suggestion becomes. I strongly recommend you look at Silverbullet. It’s similar to Obsidian in that everything is a markdown file, but has an excellent query language. For example in a random file I add a task with a tag, e.g.


<span style="color:#a71d5d;">* </span><span style="color:#ed6a43;">[ ] Do something [priority: 30]
</span>

Then on my homepage I have this block of code:


<span style="color:#0086b3;">`</span><span style="color:#a71d5d;">``</span><span style="color:#323232;">query
</span><span style="color:#323232;">task where done = false and
</span><span style="color:#323232;">priority > 0
</span><span style="color:#323232;">order by priority desc
</span><span style="color:#323232;">render [[Library/Core/Query/Task]]
</span><span style="color:#323232;">```
</span>

Which renders as a list of all my tasks on all my files ordered by priority, you can see how this becomes extremely customizable, e.g. using where page = Some/Page will only render tasks from that page.

It’s not a kanban board like you asked, but it’s great for all those stuff, and it’s highly customizable to whatever you need.

You can keep track of problems each on their own page and have a frontmatter with general information that can be queried as if it were a database.

For example I keep one page for each tool I use at my work, and on the index of my work I have a table that shows these tools and links or cli examples.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

Except you didn’t, that’s what you’re missing, you’re asking how to do a Windows thing on Linux, and despite everyone telling you you don’t need this you keep insisting on it. Your whole problem started because you ran a program with sudo, and instead of acknowledging your mistake and asking how to fix the original problem and un-clusterfuck your drives you double down and insist the community is being toxic because they refuse to tell you how to easily keep insisting on the error.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

Except the question you’re asking is more akin to “How do I fold my lunchbox?” And refused to provide any more meaning to what you want other than “I used to fold my tinfoil, I now have a lunchbox and want to fold it in the same way, it’s not difficult”.

You’re asking something that you shouldn’t do, you only need this because you already did it before and broke a lot of the permissions in your system which by your own account caused you headaches. In other words you already folded the lunchbox and when it broke instead of stopping and thinking about what you did wrong you proceeded on asking on the internet what’s the proper way to fold your lunchbox.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

That is the 1% I mentioned, and the easiest way is installing this github.com/nautilus-extensions/nautilus-admin which I think is in the apt repos, so probably sudo apt install nautilus-admin works.

But I STRONGLY encourage you NOT to install this, you’ve already made a mess of permissions on your computer that by your own account caused you many headaches by running graphical programs with sudo without any need.

Nibodhika , to selfhosted in Pause alerts during the night

Yes, but any person calling on WhatsApp would get through. Granted, that’s better than not using DnD, but still it’s not perfect like people are making it out to be.

Nibodhika , to selfhosted in Pause alerts during the night

Not OP, but AFAIK that doesn’t work for Whatsapp or other in-app calls, and since my family lives in another continent if there’s an emergency they’ll call via WhatsApp.

An argument could be made that because I live far away I don’t need to be informed of emergencies right away, but there are cases in which I would like that, even if just to buy a same day ticket to go back as soon as possible.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

It’s a relatively simple question, but it’s a loaded question, it’s like someone asking you how you run “apt-get upgrade” on Windows, the question implies that this is possible and necessary, the correct answer to any such question is “what is it that you’re trying to accomplish? Why do you think you need this?”. 99% of the times the answer is that the person is trying to do something else entirely, this is known as the XY problem, the person has problem X and is asking how to solve problem Y that he’s having because he thinks that’s the only way to solve X.

In OP’s case he caused the issue by running one program as root, and then everything that program touched needs root now, so he needs to run things as root because he’s running things as root, it’s a cyclical problem, if he had never ran things with sudo he wouldn’t need to run things with sudo. Everyone was asking him why he feels he needs that and he wasn’t answering, in one answer he let it slip his original mistake that caused all of this headache.

Yes, the community can be a bit toxic sometimes, but if everyone is asking you “why you think you need this?” There’s a good chance you don’t, and if you refuse to answer the questions of people who are trying to help you, you make it real hard to be helped.

Nibodhika , to linux in Easily find program name from context menu/without terminal?

Found one answer from him that sort of explains it all, it’s more of an XYZ problem now.

  • X: He couldn’t delete files on a remote share

So he ran whatever program with sudo, and copied files over from there. Now he had lots of files owned by root, so he needed to runs text editors, file browsers and everything else with sudo because he didn’t own the files and didn’t realized that. He was annoyed about having to run everything with sudo so he created the first thread asking how to make a menu entry to be able to keep insisting on his solution to the X problem, so he asked for the Y problem (how to add a menu entry to run things as root).

Someone answered him how to do it, but in the example the menu entry added is for using a specific program instead of the default one, so now (problem Z) he wants to know how to find the default program for open a file so he can use that tutorial to create the menu to allow him to keep opening random things with root (which is the original cause of all oh his headaches to begin with)

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

I know, but explaining all that for just a comment on why I found funny the “run as sudo” seemed too much.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

See? This is why I’ve been asking this question several times. You caused a lot of headache on yourself and now you think running things as sudo is the solution when it’s what put you in a pickle to begin with.

Let’s deconstruct what you said:

The first thing I tried to do was delete a file off of a network share.

If you couldn’t do that it’s because you were connecting to the share using your user, but for some reason on whatever program you used might have tried the admin busier when you ran the program as root. For the network share it doesn’t matter what user is on your local machine, so this is an issue on how you’re accessing the share on your user, not with needing to run the program as root

Also, editing the name of a file copied from a network share.

Of course, if you ran the above with sudo any file copied over will be owned by root, so now your regular user can’t edit them

Also, editing text files

I imagine you mean files copied over with the above problem, so same thing applies.

also, formatting a thumb drive.

Formatting thumb drives can absolutely be done without running the while program on root, why do you think you need this? How are you trying to do that?

It has been a frequent headache.

I can imagine, I’ve seen people run things like sudo npm install and now they have issues because their node folder is owned by root, it’s very similar to what you’re experiencing, a small issue at the beginning triggered an avalanche of issues because you ran one program with sudo. Do you see why everyone is very cautiously asking why do you think you need this?

See how this was an XY problem? You’re asking how to add a “run as administrator” but what you actually want is to access a network share with your user. I don’t mean any of this in a bad tone, but there’s a reason people keep asking you why, it’s because what you’re asking is almost never a good idea and leads to problems such as this, imagine if you had been able to create that menu item? You would start using it and getting more and more files owned as root that would cause you to need this more and more until you end up just running everything on root.

Nibodhika , to linux in Is there a way to add "Run as Sudo" to context menu like with Windows?

It is, run as administrator is a windows concept, in Linux programs that need elevated privileges will ask for it, so if you need a specific program to be entirely elevated you’re asking something quite unique. I’ve asked multiple times, I’ll ask again, why do you want this? Give me a concrete example of what you’re trying to do, just saying running any program as root is not a good answer.

Since I know you’re not going to (because I already asked at least 3 times and others have as well and you haven’t answered anyone, so I think you don’t know why you want this other than “because Windows has it”), here’s the generic answer for you, on the login screen type root as your user and input your root password, there you go, you don’t even need that menu item anymore since everything runs as root now, just like in Windows.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines