this post was submitted on 13 Oct 2023
38 points (85.2% liked)

Linux

48193 readers
1617 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

My user account doesnt have sudo despite being in sudoers. I cant run new commands i have to execute the binary. Grub takes very long to load with "welcome to grub" message. I just wanted a stable distro as arch broke and currupted my external ssd

you are viewing a single comment's thread
view the rest of the comments
[–] tal@lemmy.today 14 points 1 year ago* (last edited 1 year ago) (16 children)

My user account doesnt have sudo despite being in sudoers.

I don't know what behavior you are seeing.

Install sudo, add the user to the sudo group, and log out and log back in again (okay, technically you could just sg sudo as that user rather than logging him out, but group privileges are assigned at login, and it's probably easier to just log out).

https://wiki.debian.org/sudo

I cant run new commands i have to execute the binary.

Normally running a command does execute a binary. You mean that you have to fully-specify the path to the binary, that it's not in your PATH? Like, you're typing /bin/ls rather than ls?

It's probably easier for people to understand what's going on if you just paste the output you're seeing and indicate what it is that you expected to see.

[–] kevin@mander.xyz 2 points 1 year ago (6 children)

Normally running a command does execute a binary.

I'm not certain, but I'm wondering if OP means that new programs don't automatically get a "desktop" app or whatever. I'm often annoyed when I have to manually create the file that lets me access software from the launch menu

[–] tal@lemmy.today 2 points 1 year ago* (last edited 1 year ago) (3 children)

Offtopic, but I had no use for desktop files in general, as I launch stuff from the command line, but I finally discovered a wonderful use for them. Steam creates a desktop file for Steam games it installs. Steam itself is...not all that amazing as a launcher. Gives you the last five games launched in a contextual menu from a tray icon, and a list of games you can search through in the client interface after you bring up the window and move to the Library tab. However, you can set up rofi to use desktop files as completions (one sets it up to complete on "drun"), and then rofi can act as your Steam game launcher, which is great. I can just whack a keystroke to invoke rofi, and then type a few characters of the game I want and whack enter, and rofi will prioritize by last-invoked. Really nice not having to slog through the Steam interface.

[–] kevin@mander.xyz 2 points 1 year ago

That's basically how I use desktop files generally, the kde launch menu (similar to the old Windows "start"... I don't know what it's called) comes up when I tap super, and then I can start typing and find what I want to launch.

You can set that up to run custom scripts, but all desktop files are there by default.

load more comments (2 replies)
load more comments (4 replies)
load more comments (13 replies)