1
304
submitted 4 days ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

I thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I'll try my best to answer any questions here, but I hope others in the community will contribute too!

2
36
submitted 1 hour ago* (last edited 1 hour ago) by soloojos@lemmy.ml to c/linux@lemmy.ml

Going through my usual scanning of all the "-next" Git subsystem branches of new code set to be introduced for the next Linux kernel merge window, a very notable addition was just queued up... Linux 6.10 is set to merge the NTSYNC driver for emulating the Microsoft Windows NT synchronization primitives within the kernel for allowing better performance with Valve's Steam Play (Proton) and Wine of Windows games and other apps on Linux.

3
4
submitted 40 minutes ago by foremanguy92_@lemmy.ml to c/linux@lemmy.ml

Do I need to install the desktop env when installing a distro or do I need to install blank Linux and install a clean desktop env later? Thank you! 😃👌

4
103
submitted 6 hours ago by christos@lemmy.world to c/linux@lemmy.ml

https://gitlab.com/christosangel/tui-battleship

This is a tui implementation of the popular classic naval battle game, written in Bash.

The objective of the game is to destroy the computer's fleet, before the computer achieves the same against you.

You take turns with the computer, hitting squares in each other's grids.

You have to guess the position of the enemy ships on the computer's 10x10 grid, in order to win.

win

You lose if the computer achieves sinking your ships first.

lose

5
36
submitted 7 hours ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
6
87
submitted 11 hours ago by KarnaSubarna@lemmy.ml to c/linux@lemmy.ml
7
72
submitted 12 hours ago* (last edited 12 hours ago) by mudkip@lemm.ee to c/linux@lemmy.ml

I wrote a blog post about my experience with the Minisforum V3 AMD Tablet, focusing on how Linux/Fedora/KDE works on this device and how Linux performs on the tablet devices.

8
7

I cannot get sway to detect my tablet device on Void Linux installed on a Thinkpad X200 Tablet. Anyone knows how to fix it? I have both libwacom and xf86-input-wacom installed. It worked fine on Debian.

Now when I think about it, I don't have libwacom-32bit installed, because I'm using musl library which is 64bit only. That might be the issue considering how old my hardware is. I'm going to try to investigate but I'm going post this here anyways in case anybody knows more than me.

9
31
submitted 15 hours ago by z00s@lemmy.world to c/linux@lemmy.ml

Last night I was nearly tearing my hair out trying to get a crappy inkjet printer installed when I turned to ChatGPT for help; 5 minutes later it was done (driver issues).

I realised that I use it a lot for all sorts of things but haven’t really seen any posts on here about it, and was wondering if other people do the same.

I’ve used it to create bash scripts, write small, niche python programs (eg sort photos into separate folders based on their orientation), and create cron jobs among other things.

In particular, I find it useful when I want to use a command line program that has a complicated set of options / syntax, but I might only ever want to use it once, or very infrequently. So I tell it what I want to accomplish, and ask it to give me the correct command to run with the options I specify in plain language.

Example:

User

Give me the correct rsync command to recursively copy all files in /home/user/Documents that are image files of any type but were created more recently than 1/1/2024. The destination is /home/user/foo

ChatGPT

rsync -avm --include='*/' --include='*.jpg' --include='*.jpeg' --include='*.png' --include='*.gif' --include='*.bmp' --include='*.tiff' --include='*.svg' --exclude='*' --prune-empty-dirs --min-age=$(date -d '2024-01-01' +%s) /home/user/Documents/ /home/user/foo/

User

Break down the command and explain each part of it in dot point format.

ChatGPT

- rsync`: Invokes the rsync program, which is used for efficiently transferring and synchronizing files across systems or within a system.

  • -avm:
    • -a: Archive mode, which preserves permissions, symlinks, modification times, group, and ownership. Implicitly includes recursion.
    • -v: Verbose mode, which provides detailed output of what rsync is doing.
    • -m: Prune empty directory chains from the file-list.
  • --include='*/': Include directories themselves, which is necessary for recursion.
  • --include='*.jpg' --include='*.jpeg' --include='*.png' --include='*.gif' --include='*.bmp' --include='*.tiff' --include='*.svg': Include files that match these image file extensions.
  • --exclude='*': Exclude all other files that do not match the previously stated include patterns.
  • --prune-empty-dirs: Exclude empty directories that result from the inclusion/exclusion pattern.
  • --min-age=$(date -d '2024-01-01' +%s): Exclude files that are older than the timestamp for January 1, 2024. This uses date -d to convert a date string into a timestamp, which rsync uses to filter files.
  • /home/user/Documents/: Source directory from which files are being synchronized.
  • /home/user/foo/: Destination directory to which files are being synchronized.`

It’s also really good for explaining concepts / commands in plain language.

It’s like having a 24 hour on call Linux expert :)

#Things to note:

- Get the subscription. ChatGPT 3.5 is pretty useless. ChatGPT4 is fine, but I’m pretty sure you need the subscription to access it.

- Give it pre-instructions. I have told mine what distro, what shell I’m using and the make and model of my laptop. If you have a subscription you can add these as permanent pre-instructions, so to speak. That way it will be much more likely to give you correct answers.

- It’s not magic In order to get what you want, you have to be able to ask the right questions. It will boost your ability but won’t turn you in to a 1337 haxx0r

-Ask questions As always, don’t run any commands that you don’t understand. Ask it to break down any commands it tells you to run if you don’t understand them.

-Sometimes it goofs For various reasons, sometimes it will ask you to install a package that no longer exists, or will give you a command that doesn’t work. When that happens, I just feed the error message back into ChatGPT and it usually is able to correct itself.

-Ask “Is there a better or easier way to do this?” This is probably the most valuable question I’ve found to ask chatGPT. Sometimes it gets so far in the weeds looking for a solution to a problem that you need to pull back and start fresh.

10
141
submitted 1 day ago by GFGJewbacca@lemm.ee to c/linux@lemmy.ml
11
214
submitted 1 day ago* (last edited 21 hours ago) by ProdigalFrog@slrpnk.net to c/linux@lemmy.ml

Alternative Invidious Link

The LiMux Munich segment is at 17:47

Original German Translation available here.

12
152
submitted 1 day ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
13
52
submitted 1 day ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
14
112
submitted 1 day ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
15
58
submitted 1 day ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml

Some snippets from the article :

  1. Women accounted for 9.9% of the Linux kernel Git population.

  2. About 90% of Hollywood special effects rely on Linux.

  3. 0.44% of Steam users are playing on Linux.

16
763
submitted 1 day ago* (last edited 1 day ago) by ProdigalFrog@slrpnk.net to c/linux@lemmy.ml
17
11
submitted 23 hours ago by gary_host_laptop@lemmy.ml to c/linux@lemmy.ml

I'm trying to import video files but it won't let me, I've tried both with the Flatpak version and the RPM version and I can't get KDEnlive to let me import video files. Below I have information about my system, any ideas?

Details of the system report


Hardware Information:

  • Hardware Model: ASUSTeK COMPUTER INC. P8H61-M LX3 R2.0
  • Memory: 8.0 GiB
  • Processor: Intel® Core™ i3-3220 ×4
  • Graphics:* Intel® HD Graphics 2500 (IVB GT1)
  • Disk Capacity:* 1.4 TB

Software Information:

  • Firmware Version: 0608
  • OS Name:* Fedora Linux 39 (Workstation Edition)
  • OS Build:* (null)
  • OS Type:* 64 bit
  • GNOME version:* Unavailable
  • Windowing System:* X11
  • Kernel version:* Linux 6.8.4-200.fc39.x86_64
18
109
19
21
submitted 1 day ago* (last edited 1 day ago) by flork@lemy.lol to c/linux@lemmy.ml

I use Google tasks for my todo list. This GNOME extension is nice and minimal and just what I'm looking for, and it uses todo.txt. Is there an easy way to sync my changes with Google, similar to how the GNOME calendar app does?

EDIT: Endeavor (GNOME "To do") seamlessly integrates with Google Tasks and ostensibly todo.txt but I can't get it to recognize the todo.txt (I'm not sure it would sync todo.txt > Endeavor > Tasks even if it was working, however).

20
101
submitted 1 day ago by JRepin@lemmy.ml to c/linux@lemmy.ml

This week something big got merged: support for Explicit Sync on Wayland!

What does this do? In a nutshell it allows apps to tell the compositor when to display frames on the screen, reducing latency and graphical glitches. The effect should be particularly noticeable with NVIDIA GPUs, which only support this rendering style, and not having support for it on Wayland was the most common source of random graphical glitches and slowdowns.

This work was done by Xaver Hugl, and lands in Plasma 6.1. You can read more about it in a recent blog post he wrote on the topic!

In addition to that impactful but technical change, this was a week of many UI improvements and bug fixes as well:

21
196
submitted 1 day ago by morrowind@lemmy.ml to c/linux@lemmy.ml
22
24
submitted 1 day ago* (last edited 1 day ago) by barbara@lemmy.ml to c/linux@lemmy.ml

Description

I use GNOME on Fedora atomic. There is an icon in overview of an installed app, nvtop. How can I figure out how I installed the app and how can I uninstall it?

  • The first step is to click "App details" in the overview section. GNOME software then tells me there are no details for the app. Searching for nvtop in Software doesn't yield any result. GNOME Software is of no use here. I can confirm that it is not a flatpak with the name nvtop by running flatpak list | grep -i "nvtop".
  • Lookup which command is invoked by nvtop
$ which nvtop
/usr/bin/nvtop
  • lookup the desktop entry
$ sudo find /usr -iname "*nvtop*.desktop"
/usr/share/applications/nvtop.desktop

which gets

[Desktop Entry]
Name=nvtop
GenericName=GPU Process Monitor
Type=Application
Terminal=true
Exec=nvtop
Icon=nvtop
Categories=System;Monitor;
X-AppImage-Integrate=false

How many distroboxes are running? distrobox ls. The one distrobox that is running can't find a package with the name nvtop either dnf list installed | grep nvtop. And trying to run it from within distrobox can't find it as well. bash: nvtop: command not found

rpm-ostree can't find anything

$ rpm-ostree uninstall nvtop
error: Package/capability 'nvtop' is not currently requested

edit:

I can also locate nvtop but that's of no help to me

/usr/bin/nvtop
/usr/share/applications/nvtop.desktop
/usr/share/doc/nvtop
/usr/share/doc/nvtop/README.markdown
/usr/share/icons/hicolor/scalable/apps/nvtop.svg
/usr/share/licenses/nvtop
/usr/share/licenses/nvtop/COPYING
/usr/share/man/man1/nvtop.1.gz
/usr/share/metainfo/io.github.syllo.nvtop.metainfo.xml

locate *.appimage does not return an unknown appimage

edit2:

I just tried installing it via rpm-ostree. I'm getting closer, but still no idea what to do with the result. Rebooting is always a good idea. Rebooting didn't help.

$ rpm-ostree install nvtop error: "nvtop" is already provided by: nvtop-3.0.2-2.fc39.x86_64. Use --allow-inactive to explicitly require it.

23
15

I've recently bought my first Tuxedo laptop, an InfinityBook Pro 16 - Gen8 and after having some minor issues with Fedora on it (mainly with the Tuxedo Control Center) I moved to PopOS! and since then it worked flawlessly. Or at least, it used to work flawlessly until last week, when the laptop started to reboot at (apparently) random points of its usage. This is REALLY annoying.

Does anyone encountered the same issue? Have you identified its causes? And how have you fixed it?

24
95
25
38

I have an HP Stream 11 that I want to use for word processing and some light web browsing - I'm a writer and it's a lightweight laptop to bring to the library or coffee shop to write on. Right now it's got Windows and it's unusable due to lack of hard drive space for updates. Someone had luck with Xubuntu, but it's been a few years and it seems like Xubuntu is no longer trying to be a lightweight distro for use cases like this.

My experience with Linux is very limited - I played around with Peppermint Linux a bit back when it was a Lubuntu fork and I used Ubuntu on the lab computers in college. I can follow instructions to make a live boot and I can do an apt-get (so something Debian-based might be best for compatibility and familiarity) but I mostly have no idea what I'm doing, lol. I used to do DOS gaming as a kid so having to do the occasional thing via command line isn't going to scare me off but I'm not going to pretend to have knowledge I don't. I'm probably going to go with Mint on my gaming laptop next year but I suspect it's not the best choice for my blue bezeled potato (although I might try it anyway).

view more: next ›

Linux

43900 readers
1780 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 4 years ago
MODERATORS