Linux

51311 readers
446 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
26
27
 
 

I have a job where a part of our job is to write comments on some entries. Such as if we have edited it. This same string can get quite repetitive. Writing out initials followed by the current date. It would be amazing to have a script so each time you press a shortcut command, this script will fire and type out in the looks of "ABC YYYY-MM-DD: ". Making that process simpler. I'm quite new to Linux and thought maybe the community has some ideas. (We aren't allowed to install any type of software due to security purposes. So if something already comes pre-baked within Ubuntu, would be quite neat! :P)

28
 
 

Just a little "something" I came up with. Instructions on how to compile, including a screenshot link are in the code.

29
 
 
30
 
 

Today I can share a major development status update of XPipe, a new connection hub that allows you to access your entire server infrastructure from your local desktop. It can make your life easier when working with any kind of servers by eliminating all the commonly tedious tasks that come up when interacting with remote systems, either from the terminal or from a graphical interface. XPipe comes with integrations for SSH, docker and other containers, various hypervisors, and more without requiring setup on your remote systems. You can also keep using your favourite text/code editors, terminals, password managers, shells, command-line tools, and more with it.

collapsed inline mediaHub

Tailscale SSH support

You can now connect to devices in your tailnet via Tailscale SSH and your locally installed tailscale command-line client. This integration supports multiple accounts as well to switch between different tailnets.

Custom icons

You can now add custom icons to use for your connections. This implementation replaces the old model of shipping the icons from https://github.com/selfhst/icons along XPipe. Instead, you can now dynamically add sources of icons. This can either be a local directory or a remote git repository that can be cloned and pulled by xpipe. XPipe will pick up any .svg files in there, rasterize them to cached .pngs, and display them in XPipe.

As default icon sources, it will still come with the https://github.com/selfhst/icons repository enabled, but now it can fetch these icons at runtime. If you are using the git vault sync, you can also add icons to a synced directory in your git vault to have access to them on all systems.

collapsed inline media

New docs

There is a new documentation site at https://docs.xpipe.io/. The goal is to expand this over time to provide proper documentation for many features.

Since it came up quite a bit last time I posted about XPipe here, I hope that any questions about what exactly XPipe is, how it makes your life easier, what it can do, and more, can now be answered in detail by the documentation.

Webtop enhancements

The webtop, a container-based KDE desktop environment, received a general overhaul. The list of terminals, editors, and rdp clients has been updated. The language support has been improved so that you can now easily run the desktop environment in any language you want. There were also many new additions and fixes for preinstalled tools of the desktop environment. There is also now more webtop documentation at https://docs.xpipe.io/guide/webtop

collapsed inline media

Package manager repositories

There is now an apt repository available at https://apt.xpipe.io/ and an rpm repository available at https://rpm.xpipe.io/. You can add them as sources to apt or your rpm-based package manager. This allows you to also install and upgrade xpipe via your native package manager instead of using the built-in self-updater.

Other

  • Add support for Gnome Console and Ptyxis Terminal
  • Add support for cosmic-term of the new cosmic desktop environment
  • Add the ability to launch connections from the command-line with the xpipe launch command
  • Add new action to run scripts in the file browser and show their output without having to open a terminal
  • You can now import saved PuTTY sessions on a system when searching for available connections. This also works for KiTTY
  • Improve application performance when having many connections and categories

A note on the open-source model

Since it has come up a few times, in addition to the note in the git repository, I would like to clarify that XPipe is not fully FOSS software. The core that you can find on GitHub is Apache 2.0 licensed, but the distribution you download ships with closed-source extensions. There's also a licensing system in place with limitations on what kind of systems you can connect to in the community edition as I am trying to make a living out of this. I understand that this is a deal-breaker for some, so I wanted to give a heads-up.

Outlook

If this project sounds interesting to you, you can check it out on GitHub or visit the Website for more information.

Enjoy!

31
 
 

Let me start with, that I am running Raspberry Pi servers since the first Raspberry Pi was released more than a decade ago. Only problems I ever had until now, where dying SD-Cards with the first generation of RPIs. Since them I only buy really big high quality SD-Cards and I have RPI(4) servers running 24/7 for years w/o any troubles.

For a new project, I am running a web service on a Raspberry Pi ZeroW2 with an Apache reverse proxy on the same machine. Memory usage, even under load, is a maximum of 100 MB. This RPIZW2 simply dies after a few days, and I have no idea how debug this problem.

More details of the RPIZW2:

  • Uses Raspbian configured via Ansible to be an exact replica of my RPI(4), only Apache and a webservice were added
  • Quality power supply (original RPI hardware) and literally plugged to the same electricity circuit as the RPI(4)
  • The webapp is just a 'hello, world' with the current time and my internet connection is not fast enough to be DOSed
  • Monitored memory usage etc. for several hours and found nothing out of the ordinary
  • fail2bann is active and running
  • SD-card has several unused GIGs of free space and is same brand/quality as the one in the RPI(4)

Anyone experienced something similar? Has anyone an idea how to approach debugging this problem?

I am not sure that there is a better place at Lemmy for this kind of question than here. I'll happily move this post to another place, if it is not appropriate here.

32
 
 

Hello folks!

So I have installed gentoo a few times before so I am not completely new to it. But I am new to managing things like btrfs and or LVM manually.

So my plan is to install Gentoo with btrfs and snapper so that you can boot in to read only snapshots from grub and rollback once booted. This is what Opensuse Tumbleweed does.

I would like to know which btrfs layout and or LVM layout is required for such a setup. I have been able to find some info that I think requires the /boot subvolume to be on the root of the system. Also some say you need to make the .snapshot volume some say you dont and snapper does this. So their is a fair bit of conflicted info about it to get working right.

33
 
 

I got this PC from my dad when he upgraded in like December ish. I've been running Kubuntu on it and just using it like a sort of general purpose desktop for me and my wife, but I've got a hankering for some tinkering and feel like it has more potential, so I'd love some project ideas!

34
 
 

cross-posted from: https://lemmy.wtf/post/17513656

35
36
2
Thunderbird 136.0 released (www.thunderbird.net)
submitted 6 days ago* (last edited 6 days ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

What’s New

  • Messages are automatically adapted to dark mode with a quick toggle in the header.
  • New "Appearance" Settings UI to globally control message threading/sorting order.

What’s Changed

  • Criteria for closing idle message databases.

What’s Fixed

  • Thunderbird Release channel was not displayed in "About Thunderbird".
  • Crash could occur when shutting down during MAPI send.
  • The error message for compacting a corrupted local folder was not useful.
  • Deleting or detaching attachments in a saved .eml file appeared to work but failed.
  • On HiDPI screens, clicking addresses in the header could show popup off-screen.
  • Opening an .EML file in profiles with many folders could take a long time.
  • Some messages may have been threaded incorrectly in unified folders.
  • Unified folders could become unusable instead of being automatically rebuilt.
  • Folders at level 3+ were not auto-discovered when IMAP subscriptions were ignored.
  • New subfolder did not inherit parent view, sort order, sort type, or columns.
  • With "Fetch headers only" enabled, messages could not be sorted by size.
  • Selecting starred messages did not update immediately.
  • Marking a unified folder as favorite did not show it in favorite folders.
  • Users with many folders experienced poor performance when resizing message panes.
  • The UI could falsely report a message as encrypted when a null cipher was used.
  • Search messages dialog list could not be sorted by clicking the header icon.
  • Sending to multiple SMTPs could fail silently due to missing address book.
  • "Replace" button in compose window was overwritten when the window was narrow.
  • Changing the UI font size did not apply to some dialogs.
  • Deleted Gmail messages stayed visible until compact/expunge, despite settings.
  • Export to mobile did not work when "Use default server" was selected.
  • Account settings menu could be loaded twice.
  • Account Settings updated font size were not reflected in the content frame.
  • Add-ons: Context menu entries were incorrectly aligned.
  • Middle-click autoscroll cursor appeared without arrows instead of expected design.
  • Some functionality was missing for newsgroup messages opened from a file or URI.
  • Notifications for new mail were not showing for IMAP.
  • Message and folder lists could display incorrect line spacing after restart.
  • Clicking a 'mid:' link could clear the thread pane and cause errors.
  • Release channel incorrectly showed What's New page after update.
  • "Save Link As" was not working in feed web content.
  • Sort indicators were missing on the calendar events list.
  • Visual and UX improvements
  • Security fixes
37
 
 

I've done something similiar to this over the years for organization purposes and not having to change much between shells except add a path. You can also add cases that check your shell and do something slightly different if needed.

38
 
 

I want a Tails-like LiveUSB OS like tails, but without the tor reliance. Does anyone have a suggestion? Heads is dead, last release 2018, but it resembles what I am looking for.

39
 
 

I spent a lot of time figuring out how to get vmware with the vmmon and vmnet kernel modules installed, because it only supports Fedora 40 with Kernel version 6.10.10-200. I tried downgrading to that kernel but that didn't work, because kernel-headers-6.10.10-200.fc40.x86_64 couldn't be installed. mkubecek/vmware-host-modules didn't work either, but gleb-kun made some patches to it (thanks).

So anyway just in case anyone finds this useful who also has no idea about this stuff:

To use 17.5.1:

  • download VMware from https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.1/23298084/linux/core/

  • extract it, make it executable, run it as sudo

  • it should be installed now but don't try to use it yet

  • download the modules wget https://github.com/gleb-kun/vmware-host-modules/archive/workstation-17.5.1.tar.gz

  • extract it

  • cd into the folder

  • sudo make

  • sudo make install

  • restart your device

  • now you can run VMware hopefully

To use 17.6.1 (or later, this worked for me even for 17.6.3):

  • Sign up to Broadcom and download VMware

  • extract it, make it executable, run it as sudo

  • it should be installed now but don't try to use it yet

  • download the modules: wget https://github.com/gleb-kun/vmware-host-modules/archive/workstation-17.6.1.tar.gz

  • extract it

  • cd into the folder

  • sudo make

  • sudo make install

  • restart your device

(Note: Even though I know QEMU emulators like Boxes or virt-manager would have been easier, I have to use VMware and this is meant for others who are similarly unfortunate )

40
41
42
 
 

I'm admittedly yelling at cloud a bit here, but I like package managers just fine. I don't want to have to have a plurality of software management tools. However, I also don't want to be caught off guard in the future if applications I rely on begin releasing exclusively with flatpak.

I don't develop distributed applications, but Im not understanding how it simplifies dependency management. Isn't it just shifting the work into the app bundle? Stuff still has to be updated or replaced all the time, right?

Don't maintainers have to release new bundles if they contain dependencies with vulnerabilities?

Is it because developers are often using dependencies that are ahead of release versions?

Also, how is it so much better than images for your applications on Docker Hub?

Never say never, I guess, but nothing about flatpak really appeals to my instincts. I really just want to know if it's something I should adopt, or if I can continue to blissfully ignore.

43
44
 
 

Are there any issues with driver support for 8k that will affect purchase choice?

I recently bought an 8k TV (which is not brutally expensive when refurbished) and want to connect my workstation to it. I went through the list of video cards from my local store and the cheapest that claims 8k support is the Gigabyte RX 6400.

Is a Gigabyte RX 6400 Eagle 4G a good video card for mostly text output at 8k resolution? I might do things like play Netflix in 1/4 of the screen and have text in the other 3/4. Definitely nothing at all challenging in terms of video. AMD drivers have a history of being reliable, but will I face some issues like lack of HDMI support for 8k?

I've watched a YouTube video about trying this on Windows and they got frame rates as low as 4 FPS for games which is not a concern for me. It definitely works OK with Windows driving the card. Will I be likely to have issues running the same hardware on Linux?

45
 
 

Wish all the companies I bought from called me a zombie from the abyss 🥰

46
47
48
 
 

So, I'm being offered to take a sysadmin certification for this particular distribution I know absolutely nothing about. They give me the "necessary info" and then I take an exam. The exam is free, but I must pass it, or else I must pay for it and then take it again. Is this a waste of time and/or money? I would like to hear your opinions. Personally it doesn't quite click with me. I'm fresh out of uni and I'm trying to learn new stuff, but idk what to do with my life anymore. thx

49
1
submitted 1 week ago* (last edited 1 week ago) by KokusnussRitter@discuss.tchncs.de to c/linux@lemmy.ml
 
 

My GPU's fans spin either at 100% or stand still. they rarely ever dip below 1000rpm, and if so, only shortly (see images below). This worries me, and I am 99% sure I'll refund that card, but before buying a new one, I want to make sure the fault is not with my system. This is my first AMD GPU and I am pretty green in Linux.

So far I tried adjusting the GPU's fan curve, with fan-control and CoreCtrl but it didn't change the erratic fan behavior.

I checked my BIOS for 0rpm mode, but couldn't find anything. It also only let's me configure CPU and sys fan curves.

Is there anything I can try before sending the card back to fix these issues or -best case- verify the card is actually causing the issue? I'd hate to get a replacement and face the same issues again.

specsLinux Mint GPU: acer AMD RX7600XT CPU: AMD Ryzen 5800x RAM: 16GB DDR4 @3600mHz; G.Skill Tridentz Neo MoBo: MSI B550Pro-A

images
collapsed inline mediaTemperature and fan curves over the span of 20min; green = fan rpm, yellow is GPU junction temp, blue is GPU edge temp

Temperature and fan curves over the span of 20min; green curve is fan rpm, yellow curve is GPU junction temp, blue curve is GPU edge temp

Update I REMed it and will get the same.card again, but from a different, more widely adopted vendor. I don't want to spent another week troubleshooting an issue I may not have the skill to fix.

Thank you all for your input :)

50
 
 

It's too bad Marcan42 deleted his Mastodon page, I wish it was at least left as read-only. It had lots of insightful hardware and software posts. I'm really feeling a void for that content and would love to read similar posts from devs. Posts that are not too long, like ones on Mastodon or Bluesky, rather than long articles (which there are an abundance of).

view more: ‹ prev next ›