Linux

49059 readers
522 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
1
2
3
31
submitted 22 hours ago* (last edited 22 hours ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Change log for January 17, 2025 Vulkan 1.4.305 spec update: Github Issues

  • Clarify dynamic array layer access in common draw dispatch VU 09600 and the <<resources-image-layouts, Image Layouts>> introduction (public issue 2474).
  • Remove Ash CI in both Github and Gitlab (public PR 2479).

Internal Issues

  • Consolidate common draw discard rectangle VUs and clarify behavior (internal issue 3400).
  • Clarify the maxMemoryAllocationSize limit (internal issue 4119).
  • Restrict vkCmdExecuteCommands VU 09376 to secondary command buffers (internal issue 4126).
  • Fix AV1 decode frameHeaderOffset typo in vkCmdDecodeVideoKHR VU 09251 (internal MR 7043).
  • Add more detail about VkAccelerationStructureCreateInfoKHR::deviceAddress (internal MR 7067).
  • Clarify ambiguities related to <<decode-av1-picture-info, AV1 decode parameters>> FeatureEnabled, FeatureData, loop_filter_ref_deltas, and loop_filter_mode_deltas (internal MR 7070).
  • Remove common buffer memory barrier and image memory barrier VUs already converted by VUIDs 10387 and 10388 (internal MR 7075).
  • Remove redundant VkShaderCreateInfoEXT VUs 08452 and 08458 (internal MR 7076).
  • Fix typo in VkSwapchainPresentScalingCreateInfoEXT VU 10154 (internal MR 7077).
  • Remove redundant explicit VkPhysicalDeviceSurfaceCapabilitiesKHR VU 06523 (internal MR 7078).
  • Remove redundant VkWriteDescriptorSetAccelerationStructureKHR and VkWriteDescriptorSetAccelerationStructureNV VUs 02236 and 03747 (internal MR 7079).
  • Remove redundant vkCmdBindShadersEXT feature bit VUs 08474, 08475, 08490, and 08491, (internal MR 7083).
  • Revert vkCmdWaitEvents2 dependencyFlags VU that should not have been removed (internal MR 7089).
  • Reword common draw vertex binding vertex attribute VU 10390 (internal MR 7091).
  • Fix asciidoctor markup for the VK_QCOM_image_processing proposal and update some descriptions (internal MR 7097).
4
 
 

I know this may sound like an over the top useless tinkerink, but I just like to tinker with, play around with stuff and learn, and that may be why I use Linux on my notebook.

I have read some articles about ZRAM and what might be the best configuration and even chatted with some generative models, but didn't come to a decisive conclusion regarding size, compression algorythm etc... I am asking anyone interested to respond about their experience and recommendations given my specs:

OS: Fedora Linux 41 (Workstation Edition) x86_64
CPU: AMD Ryzen 3 7330U (8) @ 4.39 GHz
GPU: Amd Barcelo [Integrated]
Memory: 5.63 GiB (2 GiB is reserved by the GPU)

I use the notebook for school, mainly lightweight programming and using the browser.

I don't expect any magical improvements from the ZRAM as I already use it with the default config, just wanted to learn something new.

5
6
7
8
 
 

I was recently intrigued to learn that only half of the respondents to a survey said that they used disk encryption. Android, iOS, macOS, and Windows have been increasingly using encryption by default. On the other hand, while most Linux installers I've encountered include the option to encrypt, it is not selected by default.

Whether it's a test bench, beater laptop, NAS, or daily driver, I encrypt for peace of mind. Whatever I end up doing on my machines, I can be pretty confident my data won't end up in the wrong hands if the drive is stolen or lost and can be erased by simply overwriting the LUKS header. Recovering from an unbootable state or copying files out from an encrypted boot drive only takes a couple more commands compared to an unencrypted setup.

But that's just me and I'm curious to hear what other reasons to encrypt or not to encrypt are out there.

9
 
 

SOLVED

Edit: Solved using workaround of creating a systemd service that disables GPP0 wakeup: https://forums.linuxmint.com/viewtopic.php?t=364220&start=20


Hey everyone!

The suspend feature has never worked on my system, so I always turned it off in the settings. But now, with the electricity prices going up in my country (we have the most expensive electricity in Europe, lol), I figured it’s a good time to tackle this.

When the system tries to go into sleep mode, it just wakes up right away, and the monitors don’t show anything (no signal). I’ve got a backlit keyboard and an RGB mouse, but they don’t light up during this, and the caps lock key doesn’t respond when I press it.

I’m on kernel 6.12.7 and I updated the BIOS a few days ago, but the problem is still there.

My hardware:

  • CPU: Ryzen 5 5600
  • MOBO: GIGABYTE B550 GAMING X V2 (rev. 1.3)
  • GPU: RX 6700 XT
  • PSU: SilentiumPC Supremo M2 (600W I guess?)
  • CASE: be quiet! Pure Base DX500

If anyone has any ideas on how to fix this, I would really appreciate your help!

10
 
 

I have been going strong for 34 days and 5 hours.

You can check by running inxi in the command line or checking the CPU in Mission Center

11
 
 

Comrades I challenge you to find the stupidest, most convoluted way to run a Windows app !

The rules are :

  • You start with Windows and end with a Windows app
  • All steps must be different, so no using 4 different VM software

Here is my entry, with a score of 9 beautifully stupid steps :

  • Windows > WSL > WSL Wayland compatibility layer > Linux Wayland session > XWayland > QEMU > macOS > Wine > Windows app !

Can anyone do better ? I'm sure whoever get the highest score will gain eternal fame !

12
13
 
 

Hi,

I would like to pass the arguments to apt trough a .sh script.

apt install "${1}/opensnitch_${1}_amd64.deb" "${1}/python3-opensnitch-ui_${1}_all.deb"

so for example if I launch test.sh 1.6.5 the script should run apt install 1.6.5/opensnitch_1.6.5_amd64.deb 1.6.5/python3-opensnitch-ui_1.6.5_all.deb

but it's not wokring it pass to apt only 1.6.5 and not the rest of the string... any ideas ?

14
15
16
submitted 2 days ago* (last edited 2 days ago) by SpongeB0B@programming.dev to c/linux@lemmy.ml
 
 

Hi,

On my Debian 12 Bookworm ( raspberry pi )

My nftables do not block DHCP packets ! according to this basic rules

nft -y list rulesset

table ip Tip {

	chain chIN {
		type filter hook input priority 0; policy drop;
		ct state established,related accept
	}
	chain chFW {
		type filter hook forward priority 0; policy drop;
	}
	chain chOUT {
		type filter hook output priority 0; policy drop;
		udp dport 67 drop #DHCP
		udp dport 53 accept
		tcp dport { 80, 443} accept
		ct state established,related accept
	}

}

DHCP should be blocked... but it's not as I get an IP from it..

Any ideas ?

Thanks.

16
 
 

cross-posted from: https://programming.dev/post/24130558

My Win10 work laptop has a network share of a remote windows server. I access it everyday. If i change passwords, i have to remap the share.

I have a linux vm that does the builds for my project. It too has a mounted directory mapped to that remote windows share, using my credentials.

I tried mapping the share in another linux vm but got errors so ended up quitting as it wasn't that important.

However, now i can't access said share in any device, by name or IP address. WTF happened?

The mount command i use in linux is mount -t cifs -o rw,relatime,vers=default,cache=strict,username=my.username,domain=,uid=118,noforceuid,gid=130,noforcegid,addr=10.10.10.10,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 //10.10.10.10/dir1/dir2 /media/remoteshare, the UID/GID are of the user that runs the builds.

I'd get having errors on mounting the remote share, but i'd expect that to be limited to the local computer i was trying to mount on, not that it would propagate to any device that has this share mapped!

17
 
 

I am trying to restrict access to our workgroup shares so no one can accidentally delete or move them.

Basically /path/to/parent/SHARE WITH TEAM FOLDERS/

The directory in caps is all the different team shares in the company. Hr, sales, etc. the issue we have is everyone has access to the directory with all the shares and from there it’s governed by groups on the acl.

Sometimes users accidentally drag a folder into a different teams folder or deletes a team folder.

I can’t find a way to restrict access so that the groups applied can still have access but restrict delete or moves.

Any help would be greatly appreciated….i might actually cry if something works too.

18
9
submitted 2 days ago* (last edited 1 day ago) by Rikj000@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Up till now I've been using only OpenVPN connections.
Which can be integrated nicely in NetworkManager to connect + disconnect from them, through NetworkManager's UI.

However since recently I also need to use Netbird for some connections.

Is it possible to add Netbird as an entry in NetworkManager, for easy connection + disconnection?
If so, how would one go about setting that up?

Or is adding Netbird in NetworkManager not possible,
and is the Netbird CLI/GUI really the only option?

Edit:
It's not possible yet.
First Netbird needs to add Wireguard config support,
see: https://github.com/netbirdio/netbird/issues/2504

19
15
submitted 2 days ago* (last edited 2 days ago) by SolarPunker@slrpnk.net to c/linux@lemmy.ml
 
 

I use this HDMI switch between PC and PlayStation4, it seems that PS4 has no problems at all but PC often struggles to get signal back and no longer appears on screen after the switch. Looks like PC can perfectly switch without issue in the BIOS or when I boot in "nomodeset", so it should be something Linux related. I've also tried with my intel iGPU bypassing my RX580 and the issue persist.

My setup:

EndeavourOS (Arch Linux), KDE Plasma, systemd-boot, SDDM, amdgpu, a cheap nobrand HDMI switch with a simple but respectful job to do

Additional notes:

  1. If I manually unplug the monitor's hdmi switch and plug it back in it works, maybe something related to power options?
  2. Maybe I have to load graphics modules earlier at kernel startup? I don't know if they are already like this by default on recent kernels but it's a consideration.
  3. Another hypothesis is that it's BIOS related, I've already tried to set the PCIe GPU as primary. I have disabled secure-boot and fast-boot to use the distro.
  4. Thanks for any advice, in these days I will also try other consoles and devices, I will update this post.
20
 
 

We all know this. We need to do a specific task and with the help of the internet we find a specific tool alongside command line parameters to do the job right from the shell.

What is a good way of collecting/documenting these snippets on your own for future reference and use? Just a text file in the home folder?

21
 
 

Just wondering since I know a lot of people quietly use a screen-area-select -> tesseract OCR -> clipboard shortcut.

  • I separate subjects of interest into different Firefox windows, in different workspaces -- so I have an extension title them and a startup script parse text to ask the compositor to put them in the correct workspace (lets me restart more conveniently).
  • I have automatically-set different-orientation wallpapers for using my 2-in-1 depending on whether I use it in portrait or landscape (kind of just for looks, but I don't think if anyone else adds a wallpaper change to their screen rotation keybind).
22
34
submitted 3 days ago* (last edited 3 days ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Changes:

  • Add Ctrl+N shortcut for creating a new bottle
  • Add Shortcuts window
  • Remove support for the runtime sandbox
  • Add mnemonics in main menu
  • Polish and rework the new bottle dialog
  • Polish and rework the environment variables dialog
  • Fix CSS warnings in the terminal
  • Fix bug where Bottles would not start when running the --executable flag in the terminal

Dev Release Notes

  • fix[close #3599]: CLI no longer works when starting a Bottle by @jntesteves in #3605
  • Use GtkButton for donate button by @TheEvilSkeleton in #3603
  • Add keyboard shortcuts dialog by @TheEvilSkeleton in #3588
  • Integrate pre-commit by @TheEvilSkeleton in #3592
  • Use FileDialog for all file/path pickers by @penguinpee in #3554
  • Delete sandbox and runtime, and clean up directory structure by @TheEvilSkeleton in #3615
  • Fix missing combo letter when removing a drive by @EmoonX in #3616
  • Save pre/post-scripts paths with None instead of "" on reset by @EmoonX in #3620
  • window: Add mnemonics in primary menu by @TheEvilSkeleton in #3665
  • Rework New Bottle dialog by @TheEvilSkeleton in #3653
  • Fix forums link by @Qronikarz in #3672
  • Start "Add Shortcuts" dialog at the root of the bottle by @XBagon in #3688
  • Rework Environment Variables dialog by @jntesteves in #3679
  • bottle-row: Port to AdwWrapBox by @TheEvilSkeleton in #3700 ___
23
 
 

I came across this old IBM screen saver on a old machine and thought it was pretty cool. I set it up on my work laptop, but not Im curious if there are any cool linux or other screen savers you guys know?

24
 
 

like not doing anything, just a spare laptop in case i ever need one, what if i use it years after i installed debian on it?? i would have to update like 300 packages and would take a lot??

25
359
Immutable Distro Opinions (www.linuxfordevices.com)
submitted 4 days ago by Kroxx@lemm.ee to c/linux@lemmy.ml
 
 

I recently took up Bazzite from mint and I love it! After using it for a few days I found out it was an immutable distro, after looking into what that is I thought it was a great idea. I love the idea of getting a fresh image for every update, I think for businesses/ less tech savvy people it adds another layer of protection from self harm because you can't mess with the root without extra steps.

For anyone who isn't familiar with immutable distros I attached a picture of mutable vs immutable, I don't want to describe it because I am still learning.

My question is: what does the community think of it?

Do the downsides outweigh the benefits or vice versa?

Could this help Linux reach more mainstream audiences?

Any other input would be appreciated!

view more: next ›