Linux

2312 readers
2 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 1 year ago
MODERATORS
1
 
 

cross-posted from: https://lemmy.world/post/20783411

The Clipboard Project is a clipboard manager that works entirely in your terminal. It has tons of swanky features including this new one in 0.9.1 that lets you securely ignore copying passwords and other things like that!

Link to the code: https://github.com/Slackadays/Clipboard

2
27
submitted 1 week ago* (last edited 1 week ago) by jws_shadotak to c/linux
 
 

I just switched from Windows 10 to Bazzite with KDE 6. I have experience with linux before, but not as a main OS. I have a Logitech Performance MX. I used SetPoint on Windows to fine-tune things.

For some reason, my scroll wheel acts differently in almost every program. Firefox is the only one that feels normal. My scroll wheel clicks as I scroll, and in Windows that would do 3 lines up or down.

Nothing except Firefox follows the clicking, so all my scrolling is super fine-grained as if I were scrolling with a trachpad. I tried Solaar and that gave me an option to turn off smooth scrolling, but now I need to scroll 6 or more times to see any movement. Increasing sensitivity in KDE just means after 6 times of nothing, the next one is a huge leap. There's no middle ground it seems and I'm losing my mind trying to fix this.

Is there anything else I can do?

3
 
 

I should preface this by stating I am a novice in general when it comes to the linux world.

I'm trying to write a bash script that will run on an ordinary basis as a cron job. It's simple enough it just runs apt update -y apt upgrade -y apt autoclean every 24 hours. The issue is that I also would like to be able to schedule a restart automatically if a restart would be frugal. I don't really want to just rely on checking for /var/run/reboot-required, and the output from debian-goodies checkrestart seems to be pretty dated and incompatible with scripts in general. Would it be better to run systemctl status and check for degradation, and then schedule a restart based on that? Does anyone far smarter than me have a solution?

4
19
snap rant (snapcraft.io)
submitted 2 months ago by derrickoswald to c/linux
 
 

Is it just me, or are most snap packages broken?

A lot of problems have to do with developers using some command to start or run a process, for example:

  • dropbox “Launch Dropbox Website” fails badly for Firefox as a snap
  • gimp as a snap, preferences-folders--Show file location in the file manager, doesn’t work

Another type of problem is the location for local files, e.g.:

  • a snap zoom upgrade uses the same location for recordings as the prior version, which doesn’t work because the old snap version directory is inaccessible

Another type of problem is the integration with Ubuntu (ostensibly the owner of the snap format), for example:

  • superkey (Windows logo) search for a snap and click or double-click on the icon just shows a wait cursor and finally times out (you have to right click and choose New Window)
  • update fails to update snaps - you need to manually sudo snap refresh, and even then the Software Updater thinks it need to update something until you reboot
  • snap-store has no search function - but if you start typing it will search (what kind of sadistic user experience designer thought that one up?)
  • snap-store Updates - Update All can fail and display a failure message from weeks ago
  • don’t even get me on about disk usage, like /var/lib/snapd/snaps or your ~/snap directory, that likely have more gigabytes than you’ve needed in a long time

Should I just give up on snaps and use Flatpack or Appimage?

5
 
 

I recently bought an asus zenbook 14 (AMD version) and the scroll speed of the touch pad is quite fast.

Does anybody know how to change this?

I'm using Nixos 24.05, Gnome/Wayland

6
9
submitted 2 months ago by majestic to c/linux
 
 

Hello. Im trying to figure out, how to record a Window on wayland and i need your help. I know there is such a thing in X11, but none of screen recorders ive tried on wayland support it. I could just go with full screen recording and edit it later, but i want background be transparent, and dont want to make extra job every time.

7
8
submitted 6 months ago* (last edited 6 months ago) by ryknow to c/linux
 
 

Basically, just like the title says. I've had my 1080ti since launch. It is without question the single greatest PC component I've ever bought, but my computer usage has changed. I don't really game anymore, and if I do, it's generally on my Xbox. I run linux exclusively and generally speaking I stick with OpenSuse Tumbleweed or NixOS. While the 1080ti performs perfectly fine for me, I'm just tired of dealing with Nvidia drivers breaking things from time to time when updating. Machine specs are as follows;

Mobo: X570 I AORUS PRO WIFI CPU: Ryzen 3900X RAM: 32gb Gskill Trident Monitors: Dual Dell S2417DG (1440p, 144hz) Case: Fractal Design Pop Mini Silent

Again, I don't really game on my PC anymore, and I spend most of my time in Freecad and Kdenlive. If I'm going to replace my 1080ti I want to make sure that I'm still upgrading. If I decided 6 months from now I want to play something on PC, I'd still like the ability with "decent" graphics.

I've been looking at the Arc A770, but a lot of the things I'm reading are a year old and saying things like; "It performs well, but beware of driver issues", or "Most things are working, but it's still got a ways to go". I'm just wondering if a year later things have gotten better?

If the A770 isn't really "ready" yet, I'm fine with AMD also. Just wondering what card people would suggest.

My budget is probably in the $250 - $350 range. I could probably stretch to $400 if I really needed to, but I'd like not to.

8
 
 

I'm debating trying to get my hands on a used m1 or M2 air for the primary use case of leaving it on my couch so I can quickly look stuff up. I thought about going with a chrome book, but all the snapdragon powered ones either have sketchy support or are expensive.

I also want it to have a small form factor so I think I want a MacBook air. I don't have any interest in macos (which I use for work) so I was debating putting Linux on it.

Has anyone had experience with asahi Linux, or the fedora spin? Could you share what works/doesn't etc?

Is there a better option I'm not thinking about?

9
 
 

So basically I stupidly tried to update while my thinkpad had low battery and it powered off halfway through the update. The system wouldn't boot because it was complaining that vm-linuz/linux was not found so I performed a chroot-rescue and got it to boot again. I must have messed something up during the process because now the device wlan0 is not showing up in iwctl device list. How can I fix or diagnose this issue? (I am using btrfs if that helps). Has anyone had a similar situation and can lend a hand?

10
 
 

'Well it's only passing mv a list of--' yeah yeah yeah, I know, and that's why I'm calling bullshit. It should be massively harder to execute filenames. Even if 1970s decisions make that the eternal hideous default: the lack of any idiot-proof standard workaround is incomprehensible.

StackOverflow's full of competing one-liners and people pointing out how each one is considered harmful. The least-skeezy options use exec. That sentence should make anyone recoil in horror.

This is not a filename problem. This is a tool problem. If a single printable character is going to silently expand into a list of names, then for god's sake, having it put each name in quotes should be fucking trivial.

11
35
I love you guys (self.linux)
submitted 7 months ago by tuxed to c/linux
 
 

I started using Linux when I was 12.

Getting my first computer I was excited to play games and just tinkering with it to see what I could make it do. Sadly, it came with an installation of Windows Vista, something I'm thankful for today since I learned a lot about troubleshooting but at the time was a major pain in doing what I wanted to do.

My school had a 10 week after-school program where you got to learn different programming languages, ranging from perl to JavaScript. Part of that program involved installing and using Linux.

I was immediately hooked. Trading the problems of Vista and everything that entailed with the problems of my Ubuntu installation were to me a godsend. Actual error messages?? People online with similar problems suggesting solutions that made sense?? What is this, and why isn't everyone using it??

Today it is foundation of my career, the reason of any academic success I've had, and a hobby that has brought me immense joy (and struggles with primarily Bluetooth, audio and getting games to work).

I'm so happy I found this amazing software, built in small and large contributions over many years by many of our times brightest minds and just regular people contributing solutions to their personal pet-peeves, fixations and use-cases. It is truly something that (for me) brings some much needed positivity and optimism of our future as a species and what we can accomplish.

Seeing how far we've come as a viable platform makes me very happy. Proton, KDE/Plasma, pipewire, Wayland and many more amazing projects we all use daily still give me an appreciation of what computers should be and what they are capable of.

So thank you. Whether you've contributed code or other things, interacted with the community, or just used this amazing software I hope you feel something similar to what I feel.

I love you all.

(And yes, I am very drunk right now.)

12
12
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/linux
 
 

I am a casual who uses Zorin as my daily driver because I like its desktop environment. Since I am a college student, a lot of the programs my professors want me to use were made for windows and nothing else (especially Honorlock) and I'm getting a bit frustrated with all the things that throw a fit when I try to run them with Wine. I also tried to use a VM once and got quite confused.

My understanding of Qubes is that you pick a few operating systems as templates, then when you install an app you assign it to run on one of those templates. I have heard that some people have made Windows templates, which would make running Windows apps so much easier.

To me, the main draw of Qubes OS is to make running a VM just as easy as running any other software. I don't care too much about managing my digital footprint; I just want to make running Windows programs more convenient. Would Qubes work for my purposes? I do feel ready to try new things, like using the terminal.

13
 
 

Hey guys, newish to Linux, new to Arch and Hyprland.

I have FL Studio up and running using Wine in the way I usually did when using Fedora. However now, on Arch, when using FL, windows aren't aligned properly with the cursor. As in I can't click x on a small pop up window unless:

  1. I click above and to the right (for example)
  2. I fullscreen the application, or align it with the top of the screen.

Haven't had this happen on any other apps, but haven't used any other Wine apps yet, so could be Wine specific perhaps

Super weird problem, I'm guessing it's Hyprlands fault? But I really don't know. Thanks for any ideas!

14
 
 

I'm going to be doing a clean install of Arch Linux on an old ThinkPad tomorrow morning, and I'd like some suggestions for a window manager, desktop environment, or Wayland compositor.

It can have a learning curve, but I would like it to not have too steep a learning curve (I have been using i3 for a while, and I have just come from LeftWM which I configured to have i3 keybinds). Also, in order to make it fairly obvious to my peers that I'm using Linux, I'd like it to look nothing like Windows or macOS.

Preferably something light (at least out of the box). When I was using LeftWM, my RAM usage was often around 200MB. I recently did a system analysis and I have 8GB of RAM, but my CPU will hold me back. It's an Intel Core 2 Duo of the Penryn microarchitecture (x86_64-v1).

Any suggestions?

15
 
 

Does anyone know if/when AMD will support Linux on their new NPU? If it's never or too far out, what is everyone else looking towards for open source AI development?

This issue is apparently tracking the Linux communities request for it.

16
 
 

My friends, y'all convinced me and I decided to ditch windows on this old PC. I had a task scheduler task that launched chrome on kiosk mode and navigated to this website on startup. Worked great, but windows made the whole thing chug and crashed constantly.

installed Linux Lite and the computer runs GREAT because it doesn't have all the windows bloat from the start, but I cannot for the life of me figure out how to do the same thing on Linux Lite.

I tried creating an rc.local file pointing to a .sh file with the command google-chrome --kiosk . this command works from the terminal.

ive also tried the crontab -e and adding @reboot google-chrome --kiosk as above... but again nothing happens when I reboot.

what am I doing wrong? HELP.

17
4
submitted 11 months ago by Mandy to c/linux
 
 

I dont have any problem with it i simply would like to see peoples different opinions, so, this is what the system would be generally used for/what id like it to do:

  1. stay out of my way (just work), ex: i dont get any notifications i dont want from the system itself and all i need to do is type 3 letters to initiate an update

  2. requires little ram to actually use (not really needed due to hardware but simply to reduce the pcs noise as much as possible, bonus points if programs generally do the same thing on it)

  3. Doesnt require too much fiddling (endevouros never needs this generally, when installing something it usually installs everything you need for things to work, i prefer GUIs usually but if its deadsimple commands like yay its fine as well)

  4. I game and stream so both would need to be doable as easy as possible (i use obs, when it comes to games i usually do emulation and try to avoid proton)

id love to hear what yall would recommend, thanks yall in advance

18
 
 

I can't find an active thinkpad centric community on here I am just going to post here. My Thinkpad T480s, 16 GB RAM, 238 GB SSD is randomly shutting off while at like 50%. When I try to open it back up it always is dead and I have to connect charger to boot it up again. Why is this happening? Is it battery issue? It complains about not being able to read temp2_input while shutting down and sometimes say PM usage count underflow. Not sure what that is supposed to mean.

19
 
 

I am a big history enthusiast and would greatly love to read more about history and big events in the world of linux or FOSS in general. Here's one example: on Feb 15, 1999, the windows refund day event happened, I am interested to read more about such events in detail. Is there a decent book or resource that covers all this in detail?

20
 
 

cross-posted from: https://sh.itjust.works/post/6567472

I'm running the nvidia official version, i have a 4090.

journalctl -xe gives "failed to switch root: specificed switch root path /ssysroot doesnot seem to be on OS tree. os-release file is missing"

I've seen some mention to try rebooting into a different kernel. I have no idea how to do that. Everything I have seen suggests commands that do not exist in the emergency mode. and I can't boot at all so I don't konw what to do.

Please advice. I asked in the discord but no one even responded and I'm not sure where to get help with this distro

21
22
 
 

Hey guys, trying to use cron to backup my home server. There's a nextcloud script I run which I copy and pasted from the nextcloud aio GitHub, and this script works in my sudo crontab. However I have a script for my calibre library which runs perfectly well when run manually but as soon as cron time comes around it shows up in the syslog but the calibre library doesn't actually get rsynced... I'll add the calibre script here soon but any ideas in the meantime?

Thanks so much!

23
 
 

Hey guys,

Been trying to use the Super Audio Cart VST with FL Studio on Linux, and can get FL and Kontakt player running using Bottles, but Kontakt doesn't seem to see Super Audio Cart in it's library.

What I want to ask you guys is has anyone got Kontakt libraries properly working with FL using Wine/Bottles, or, would I have better luck running the whole thing inside a VM?

Thanks!

24
10
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/linux
 
 

Can I somehow use my laptop/desktop Linux microphone and speaker or headset to call a regular phone line through my (GrapheneOS) Android 13 phone?

SIP sadly is not an option as my mobile phone provider does not hand out SIP information, it's only possible to call with an attached SIM card.

Microsoft apparently supports something called Phone Link on Windows 11 which makes this possible. Is there a Phone Link alternative for Linux, possibly even wired via USB?

Found this discussion on the scrcpy repository and via bluetooth it only seems to work with very specific hardware, whereas injecting the audio stream from the PC microphone to the Android microphone input doesn't seem to work.

25
13
submitted 1 year ago* (last edited 1 year ago) by Mandy to c/linux
 
 

I have been using linux for a couple of years now and the most infuriating thing to this day are when things just dont work when they should, when you have to perform some terminal-fu to make certain things even work.

So here i am, pleading for help for two specific issues before i jump back into using a specific distro (yes, most things a distro does are agnostic and can be achieve by others, but thats not my point here)

Here the things i would like to work (with little to no tinkering if possible) webmotioncapture, runs fine over wine but doesnt detect my camera (vseeface is not an option as it doesnt detect hands and needs some serious code-fu to make that work, also didnt detect my camera)

have my camera work and be detected in linux and wine (Anker PowerConf C200)

if anybody could point into a distro direction, or actually easy to understand absolute minimal tinkering instructions, id be very gratefull

update: i genuinely cant believe it, wecammotioncapture, works under wine, without any tinkering, hallelujah!

view more: next ›