101
63
submitted 2 weeks ago by dessalines@lemmy.ml to c/linux@lemmy.ml

I've found this to be pretty useful when needing to do recursive / multi-file search and replace. Also has bindings to work within terminal text editors like vim and helix.

Uses rust and ripgrep under the hood for speed.

102
107
submitted 2 weeks ago* (last edited 2 weeks ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
103
14
submitted 2 weeks ago by marius@feddit.org to c/linux@lemmy.ml

Since Gnome 44 there is a new UI to show apps (i.e. messengers, sync clients, ...) that run in the background. It is supposed to take the place of the tray icons. In my experience it's basically not working, though.

The only app I use that uses the UI is the nextcloud client. But that thing's autostart seems to be very unreliable and most of the time I have to start it manually after booting. Could be an issue with the app and not with Gnome, but I don't know.

I also use Telegram and Element, but both still seem to use the old tray icons that you now need to install an extension for to work. Meaning that with vanilla Gnome when you close the Telegram window, the app is stopped and can't receive massages in the background.

Is the new UI broken or are app developers just not implementing it into their apps or what's wrong with the current situaltion?

104
71
submitted 2 weeks ago by qyron@sopuli.xyz to c/linux@lemmy.ml

I'm in need of a CAD program with an easy aproach for someone with zero experience on this type of software.

3D printing is not a concern

I intend to draw the blueprints for my house. The building is old, no blueprints exist for it, and I intend to make renovations to it, so having blueprints to work on to plan the renovations will be a huge help.

105
32
submitted 2 weeks ago by Kelp@lemmy.world to c/linux@lemmy.ml

Hello all,

I'm having some issues that probably stem from lack of education on computers, so if some kind soles out there can give me some assistance I'd very much appreciate it.

My immediate goal is to take all my torrent data from my MacBook qbittorrent (latest version) to my old laptop that I just loaded ElementaryOS on. This way I can have my files seeding at all times instead of when I have my mac up and running. I have all the actual media on a external SSD so I don't have to or want to redownload all the torrents on the Elementary pc.

I've done some basic reading but all the articles and youtube vids I see are just migrating from one windows to another windows machine. Duplicating the data in the app data and drag and dropping it. I've even seen the recommendation to have the same version of qbittorrent to make the swap easy. Now my under educated mind is confused on going from Mac to Linux since its a completely different OS and therefore a different "version" of qbit. I imagine its possible but I'm feeling out of my depth.

I'd really love if someone can point me in the right direction if they can.

106
467
submitted 2 weeks ago by merci3@lemmy.world to c/linux@lemmy.ml

Single core, 32 bit CPU, can't even do video playback on VLC. But it kinda works for some offline work, like text editing, and even emulation through zsnes! It's crazy how Linux keeps old hardware like this running.

Thankfully though, this laptop CPU is upgradable, and so is the ram, so I'm planning on revitalizing and bringing this old Itautec to the 21st century 😄

107
53
New Linux Users (peertube.mesnumeriques.fr)
submitted 2 weeks ago by yogthos@lemmy.ml to c/linux@lemmy.ml
108
98
submitted 2 weeks ago* (last edited 2 weeks ago) by Mwa@thelemmy.club to c/linux@lemmy.ml

Hi lemmy So i was curious why Enlightenment didn't recieve much adoption in the Linux Desktop. (especially for a fully featured lightweight wayland DE)
Ik Bodhi Linux uses Enlightenment, but it's more of Moksha rather then using Enlightenment

Cause

  • Lighter then LXQT
  • Somewhat customizable

But I can see people not liking it cause.

  • the ui(especially for windows users)
  • Hard to find themes due to it using its own toolkit
109
23
submitted 2 weeks ago* (last edited 2 weeks ago) by thingsiplay@beehaw.org to c/linux@lemmy.ml

It only works with the first command in the recorded history, not with any sub shells or chained commands.

#!/usr/bin/env bash

# 1. history and $HISTFILE do not work in scripts. Therefore cat with a direct
#    path is needed.
# 2. awk gets the first part of the command name.
# 3. List is then sorted and duplicate entries are removed.
# 4. type -P will expand command names to paths, similar to which. But it will
#    also expand aliases and functions.
# 5. Final output is then sorted again.

type -P $(cat ~/.bash_history | awk '{print $1}' | sort | uniq) | sort

After reading a blog post, I had this script in mind to see if its possible. This is just for fun and I don't have an actual use for it. Maybe some parts of it might inspire you to do something too. So have fun.

Edit 1:

After some suggestions from the comments, here is a little shorter version. sort | uniq can be replaced by sort -u, as the output of them should be identical in this case (in certain circumstances they can have different effect!). Also someone pointed out my useless cat, as the file can be used directly with awk. And for good reason. :D Enjoy, and thanks for all.

type -P $(awk '{print $1}' ~/.bash_history | sort -u) | sort

I still have no real use case for this one liner, its mainly just for fun.

110
46
submitted 2 weeks ago* (last edited 2 weeks ago) by dullbananas@lemmy.ca to c/linux@lemmy.ml

For example, iOS has these features:

  • iCloud backup restore or peer-to-peer transfer, very early in the device setup process
  • Two ways for things to be stored in iCloud, each with a corresponding list of per-app (not per-folder) toggle switches in iCloud Settings
    • "Saved to iCloud" normal syncing
      • Requires apps to use the right APIs and to handle conflicting changes
      • Allows same data to be read and modified by multiple devices
    • iCloud backup
      • Available for all apps
      • Separate backup per device
      • Only downloaded when setting up a new device
      • In app sandboxes, only excludes tmp (Flatpak equivalent is somewhere in /run) and Library/Caches (equivalent to cache directory in Flatpak sandbox) by default
      • Allows apps to set isExcludedFromBackup attribute for specific files (useful for things that are easy to recreate via download but are expected by the user to not be automatically deleted)
      • Includes system configuration such as home screen layout
      • Backs up a list of installed apps without backing up their executables and assets
  • Synced list of previously installed apps, not separate per-device
111
42
submitted 2 weeks ago by PuercoPop@piefed.social to c/linux@lemmy.ml
112
58
113
47
submitted 2 weeks ago* (last edited 2 weeks ago) by Robochocobo@sh.itjust.works to c/linux@lemmy.ml

My partner and I are running Manjaro and very new to it. Trying to switch as much as possible over to daily use with Manjaro. We have pipewire, not pulseaudio

We record multiple times a week on OBS, and my partner and I are in the same room. We have two mics side by side both inputs going into my PC. Linux, and therefore OBS, are recognizing the two mic inputs separately as you might expect.

OBS can set up both of these separate inputs, but the issue is we're having significant problems with echo and the noise suppression/noise gates are not sufficient.

This was not an issue on windows, where we used Voicemeeter to combine our inputs into one mic for OBS. I am looking to emulate that on Linux to see if it solves our problems.

We have tried a mic merge sink, but it creates an OUTPUT device, not an input device.

SOLUTION: QPWGraph was the answer (or something like it, Helvum was also recommended) While it looks intimidating at first you just need to understand it's a series of outputs and inputs and you play mix and match. This allowed us to take the outputs of the mics and connect them directly to a single OBS mic source. This 100% did all that Voicemeeter was doing for us, and the results were also the same.

We do not experience echo, overlap, feedback, or any of the issues we were having by adding the two mics separately in OBS. Our issue was NOT the setup, as some people focused on here. As soon as we got the mics going into that same input, all was good and we successfully ran a recording session 100% in Manjaro.

In the end, this did everything we wanted from Voicemeeter + MORE, as I can now isolate different outputs as well. So for instance in recordings I can manage the volume of discord and the background music separately. So this was an amazing solution and the result was exactly what was needed, and ultimately was much easier than Voicemeeter.

Thank you to those here that recommended it, and the people at the Manjaro forums.

114
26
submitted 2 weeks ago by misterbzr@lemm.ee to c/linux@lemmy.ml

Really like the (Nix-like) concept of guix.

Please share your experiences!

115
338
submitted 2 weeks ago* (last edited 2 weeks ago) by HaraldvonBlauzahn@feddit.org to c/linux@lemmy.ml

Why software do you use in your day-to-day computing which might not be well-known?

For me, there are ~~two~~ three things for personal information management:

  • for shopping receipts, notes and such, I write them down using vim on a small Gemini PDA with a keyboard. I transfer them via scp to a Raspberry Pi home server on from there to my main PC. Because it runs on Sailfish OS, it also runs calendar (via CalDav) and mail nicely - and without any FAANG server.

  • for things like manuals and stuff that is needed every few months ("what was just the number of our gas meter?" "what is the process to clean the dishwasher?") , I have a Gollum Wiki which I have running on my Laptop and the home Raspi server. This is a very simple web wiki which supports several markup languages (like Markdown, MediaWiki, reStructuredText, and Creole), and stores them via git. For me, it is perfect to organize personal information around the home.

  • for work, I use Zim wiki. It is very nice for collecting and organizing snippets of information.

  • oh, and I love Inkscape(a powerful vector drawing program), Xournal (a program you can write with a tablet on and annotate PDFs), and Shotwell (a simple photo manager). The great thing about Shotwell is that it supports nicely to filter your photos by quality - and doing that again and again with a critical eye makes you a better photographer.

116
1052
submitted 2 weeks ago by crmsnbleyd@sopuli.xyz to c/linux@lemmy.ml
117
25
Emoji problems (mander.xyz)
submitted 2 weeks ago by gay_sex@mander.xyz to c/linux@lemmy.ml

I can't see emojis anymore, they don't work on librewolf.

I first noticed this under a post titled something like "try telling a story using only emojis". The comments were empty.

If I open the same page in brave browser, they work as intended. I can't see emojis in apps like libreoffice either. Is there a way to get system-wide emoji support?

(I am on Fedora 42)

118
52
submitted 2 weeks ago by MazonnaCara89@lemmy.ml to c/linux@lemmy.ml
119
45
submitted 2 weeks ago by otters_raft@lemmy.ca to c/linux@lemmy.ml

Sections from the video:

  • 0:00 -d flag
  • 1:56 factor, nproc, tty
  • 3:09 numfmt
  • 4:21 rm -rf .
  • 5:27 env
120
632
submitted 2 weeks ago* (last edited 2 weeks ago) by spaghettiwestern@sh.itjust.works to c/linux@lemmy.ml

121
11
submitted 2 weeks ago by Libra@lemmy.ml to c/linux@lemmy.ml

So I have a weird situation that I'm not sure how to fix, and it's going to require some background.

I have 4 drives in my machine:

  1. A ~15 year old 128GB SATA SSD (windows, ntfs)
  2. An ~8 year old 512GB SATA SSD (libraries, ntfs)
  3. A ~5 year old 1TB NVMe SSD (nobara, btrfs)
  4. A ~1 year old 2TB NVMe SSD (games, ntfs)

I've gone a month now without booting into windows so I figure it's time to clean up my windows install and reclaim/retire those drives, but my boot situation is kinda weird. #1 is my current default boot drive in bios, and it has both the boot loader for windows and for a previous ubuntu install I also had on the current-nobara install, and then #3 has another one (but won't boot when I select it in bios for whatever reason), so what I really need to do is clean up all these extraneous boot-loaders and set one up on drive #3 to be my main boot from now on. But I'm very nervous about messing with that sort of thing and rendering my system unbootable (I know, I still have the install USB I could use, but still.) I've tried reading guides and such on how to do bootloader stuff in general, but I am not confident in my ability to not fuck it up.

Although now that I think about it if I don't care about the windows boot drive I can just pull it, I just need to make sure I can boot off drive #3 before I do do that and I have no idea how to go about setting that up with my current situation.

122
29
submitted 2 weeks ago* (last edited 2 weeks ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

My disk was dos labelled (MBR). So I 'fdisk'-ed my disk and entered 'o' to convert it to GPT and wrote it to the disk. Now all the partitions are gone. I want those back. I care about the data rather than the partitions

Edit 0:

Solution:

  • install testdisk
  • run testdisk
  • choose "Create" log
  • choose target disk. Eg: /dev/sda
  • Choose appropriate partition type. Mine was MBR and I chose "Intel" and select "analyze"
  • Now you'll see deleted partitions. Giveem appropriate flags like "*" for boot (efi partition) and "P" any other using space or arrow keys and press enter
  • choose "write" and press y on the prompt to write those found partitions to the disk.

Thanks guys for the help

123
18
NixOS printing problems (sh.itjust.works)

A friend and I are trying to get a machine set up to work as my school's library's printing computer instead of Windows ones. It is running NixOS. We got it bound to active directory, applications installed, etc., but the issue is that we can't get it to print. It'll say that it's printing but the print job never reaches the print server. To access the print server you're supposed to authenticate, but it doesn't ever give a prompt to. I tried turning off the firewall temporarily to see if that was the issue but it made no difference.

In configuration.nix, services.printing.enable=true and services.printing.drivers = [ pkgs.cups pkgs.hplip ]; (it is an HP printer that we're currently testing on).

I'm thinking that either SAMBA is configured incorrectly and/or the syntax that I put into CUPS for the printer is incorrect.

Current SAMBA config:

services.samba = { enable = true; openfirewall = true; settings = { public = { path = "/srv/public"; browseable = true; writable = true; "guest ok" = true;

In CUPS it shows the syntax for a Windows printer via SAMBA as follows: smb://[workgroup/]server[:port}/printer

The issue is that I don't know what it means by that. I know the print queue, domain, IP, and port (although I'm under the impression that I don't need the port for this case), but I don't know how it would fit into this. I tried looking around on the CUPS wiki but it was vague and confusing to me. Any help with this is much appreciated.

124
107
submitted 2 weeks ago by RedWizard@hexbear.net to c/linux@lemmy.ml
125
36

I think the least that distros can do, is allow listing all packages and system settings in config files like .toml rather than having to type in every single package to install, or click through system setting GUIs to setup. Would that require using a whole programming language or system like NIx?

While NixOS works much differently from most distros, that's the only reason I use it: package and system settings in text files. If I fix something, it's fixed permanently, I don't need to hunt down files in random directories if I want to change a setting. If I ever need to reinstall the OS I don't have to write dnf install every single damn package and manually setup all that up all over again. Having daily-drove Windows macOS & Fedora as throughout the years, my setups have felt hacky as well as houses of cards as I've wanted or had to set them up again (I don't mean Fedora specifically, but distros in general).

Basically it feels insane that it's the way most linux users and servers in the world operate. If I, a humble computer hobbyist can figure out Nix, why don't more users do so, and why is Nix so niche?

view more: ‹ prev next ›

Linux

55918 readers
458 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 6 years ago
MODERATORS