1
44

I'd like to never boot into Windows again. I have VirtualBox installed where I can install Windows 11 if I need to but is there anything that it(Windows on a VM) wouldn't be able to do like accessing hardware devices? Thanks in advance

2
12
submitted 7 hours ago* (last edited 5 hours ago) by lyoko@lemm.ee to c/linux@lemmy.ml

Hi, I've recently discovered that steam client on linux requires the XTEST extension to handle input from controller. However, I can not enable XTEST on gdm no matter what I've done. Switch to lightdm solves it instanly but I prefer gdm.

Could you provide some hint how to debug it and have you experienced that before? Thank you very much!

I am using Arch Linux with Gnome and Wayland.

3
15
submitted 7 hours ago* (last edited 6 hours ago) by Necroscope0@lemm.ee to c/linux@lemmy.ml

Have all new stuff all AMD. Running bazzite and the gpu ( 9070 xt ) does not work, when I plug in the monitor to either port type it just compresses everything up at the top of the screen all warped. Everything works fine on the MB ports not sure what I might have done to screw it up. Saw some posts talking about proper versions for the kernel and mesa and both those seemed to be new enough for the GPU ( 6.14.4-104.bazzite.fc42.x86_64 (64-bit) ) and Mesa 25.0.1

Those errors seemed to be in games from their posts though my monitor will not even display the desktop or anything else properly what am I missing?

edit

I was waiting for the card to come down in price and I put my old 3060 TI into this new system at first. How do I check if the drivers updated to new ones or if I have to do it manually? Maybe that is what is wrong

4
79
submitted 13 hours ago by xavier666@lemm.ee to c/linux@lemmy.ml

This is mainly a rant post.

I have to use Zscaler on my work PC. I use Sway (Moved from Gnome -> i3 -> sway).

Whenever Zscaler is launched, I used to get a weird error "proxy server not found" but it continued to work otherwise. Now at my company, we used a proxy at one time but we shifted to a no-proxy connection recently.

So I checked all my environment variables, output of set command. Everything was fine. People said it could be because of some weird compliance issue, or kernel etc etc. After a week or so, I gave up on debugging it because most of my work was fine with the 50% functional Zscaler.

One day, I opened Gnome instead of Sway to check something else, and saw that my proxy was on. This is the proxy set in Gnome Settings, not environment file.

I initially dismissed this finding because I thought Gnome is not active during sway so it should not affect it. But then i remembered it's possible to access the gnome settings using gsettings from any distro.

I switched to Sway, and sure enough, when I ran gsettings get org.gnome.system.proxy.http host, I could see the proxy IP. I set it to null and behold! Zscaler was working perfectly.

I'm like "Who the hell designs software like this? The application should read the environment variables, not Gnome variables!"

Anyway, this was just a reminder to software makers to kindly follow the norms. Don't design your software for one Distro. Follow the guidelines as mentioned in freedesktop.

5
16
submitted 11 hours ago by Glareascum@lemmy.ml to c/linux@lemmy.ml

I've successfully completed the first part of the LPIC-1 certification, i.e., the 101 exam.

During my learning journey, I took notes, completed quizzes, and integrated those notes with the questions I encountered in the quizzes.

I'm sharing these notes here — they might be useful for people aiming to take the certification, or for anyone interested in learning how Linux works at an entry level.

Feel free to improve the notes, open issues, or simply drop a star if you find them helpful!

The notes are in English, written in Markdown, and follow standard linting rules for Markdown syntax.

6
51
submitted 23 hours ago* (last edited 9 hours ago) by flork@lemy.lol to c/linux@lemmy.ml

For some reason Calibre won't let me do anything because "drive is full" which I assume has to do with this.

Update: I believe I "fixed" the error with Calibre by using FlatSeal to add environment variable CALIBRE_TEMP_DIR that changes the Temp directory to something else. So far that's the only program I've seen give trouble.

7
42
submitted 1 day ago* (last edited 1 day ago) by Maroon@lemmy.world to c/linux@lemmy.ml

I have a thinkpad lying around. I have used Linux over the last 5 years and I an NOT a power user. I use Mint and it gets the job done for me.

Lately though, the whole libre software bug bit me and I want at least one machine that is libre compatible through and through. I have heard some stuff like Parabola and GNUIX or something like that, but thought it best to ask around first before even thinking about something like this.

My work essentially involves writing documents (LaTeX and LibreOffice), doing statistical analysis, and making lectures. I access emails via Thunderbird. That's it.

Does anyone here daily drive a fully libre laptop?

8
66
9
21
submitted 1 day ago* (last edited 1 day ago) by echo@lemmy.ml to c/linux@lemmy.ml

So, for context, I have an HDMI dummy plug that is disabled most of the time, but enabled through command-line to use as a virtual display for game streaming with Sunshine.

In GNOME settings, the display is disabled, and that works just fine. I can enable/disable it at will whenever I want to stream games using the new gdctl utility added in GNOME 48.

I want this “monitor” to be disabled in GDM as well since it keeps trying to use the dummy plug as the default display and I can’t see any of the UI elements and have to type my password in blindly. I’ve copied over my monitor config from /home/user/.config/monitors.xml to /var/lib/gdm/.config/monitors.xml as per the Arch Wiki’s recommendations, but when I log out/reboot, nothing changes on GDM. It still tries to show the password entry UI on the dummy plug and my actual display just shows a gray screen.

I know the configs are different for X11 and wayland, but both GDM and GNOME are running under wayland, so that shouldn’t be the issue.

Any help would be appreciated.

I use Arch btw.

10
59
wlroots 0.19.0 released (gitlab.freedesktop.org)
11
45

I have Linux Mint installed on my work PC. As I work with IT I am sometimes tasked with doing stuff like restoring Iphones and such, which is normally done through Itunes. But there's no Linux support for Itunes, and I haven't been able to install it through Wine. I also can't use a VM as my PC isn't powerful enough for it. I'm hoping there's a solution for this, as I will have to re-install Windows if I can't get it to work on Linux, and I really want to avoid that.

12
82

I'm upgrading my builds and I decided to get a new monitor so I splurged on the Samsung G9 49" Curved OLED.

My personal and work ARM MBP's require significant tweaking to get the G9 working with a good DPI and font rendering.

I finally booted up my desktop tonight and it just works. I literally didn't have to touch anything.

13
55
submitted 2 days ago by trymeout@lemmy.world to c/linux@lemmy.ml

I created a simple Bash script that will always disable the default/internal monitor on your laptop when using AR glasses (or any other external monitor). I find this useful for when using AR glasses such as the XReal One which allows you to change the mode from regular mode to ultra-wide mode and when doing this, it will act as your unplugging the XReal ones and plugging in XReal one again in a new mode, causing the interal laptop display to become enabled.

To keep the laptop display always off, weather the laptop lid is either closed or open, this simple bash script will always disable the laptop screen every X seconds (You can change it by changing the wait variable)

Simply copy this script and create a new bash script such as disable-display.sh, make the script file executable and add it to your startup applications and it will run in the background. You will need to run xrandr command with all of your displays enabled to get the names of the displays and change the variable names in the script accordingly.

NOTE: This script may not work with a full Wayland setup and may only work on X11.

Enjoy

#!/bin/bash

#RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES

readonly default_display="eDP"
readonly external_display="USB-C-0"

readonly wait=5

while true; do
    #Check if there is an external display connected
    if xrandr | grep -q "$external_display connected"; then
        #Disable the internal display
        xrandr --output $default_display --off
    fi

    sleep $wait
done
14
37
submitted 2 days ago* (last edited 2 days ago) by Floopquist@lemmy.org to c/linux@lemmy.ml

Hello,

I just found out about TLP - a module to download with apt, which is a good utility for maintaining the laptop battery. You can set a minimum charge value, and a maximum charge value. But it is not sufficient for my use case. My question is - is there any utility I can use to discharge the battery WHILE connected to AC?

The reason behind this is: I want to use the solar power during the day to charge up the battery to 80 or 90% and then discharge the battery in the evening to 15-20%. Afterwards use AC power again. The solar energy during mid-day is cheaper and available in abundance.

On a big level with many computers this could make a good impact on the energy network, or am I wrong?

15
59
submitted 2 days ago by Pro@programming.dev to c/linux@lemmy.ml
16
58
submitted 2 days ago by wuphysics87@lemmy.ml to c/linux@lemmy.ml

Jesus. Another one of these? Every freaking day. (Promise it's different)

I personally like mint and pop!os for new users, but for this user I want to try something windows like with more sex appeal. I don't want to have to touch this computer again. Proprietary software is not an issue/consideration. User is techier than most. What has your experience been with kbuntu? Pros/cons? Other suggestions?

17
157
submitted 2 days ago by greywolf0x1@lemmy.ml to c/linux@lemmy.ml
18
29
submitted 2 days ago* (last edited 1 day ago) by sartaj@lemmy.world to c/linux@lemmy.ml

I have a laptop and a phone in which termux is installed. I want to move files from my phone to my computer using rsync if all files are older than 30 days. I think I should use find command with -exec rsync.

find . -mtime +30 -exec rsync something 

but the problem is my phone's IP address is always changing so how do I transfer file? I have to run this script in my laptop

solution

i wrote a script which move files and runs in my laptop

  1. i can't use hostname because I am on android 9 and don't want to install anything else.
  2. most of the time I am offline so using any internet service is not a good idea ( my devices are connected in themselves )

here is my script

#!/usr/bin/bash

#checking if script not already running and exit if already running
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" || :

set -e

TARGET_MAC="d2:1c:3c:3d:6a:a7"
RSYNC_LOG="$HOME/log/rsync_log.txt"  # Rclone log file


function get_ip() {
  # need to edit sudoers file to run 	sudo nmap -sn 192.168.43.0/24 without password
  # Allow members of group sudo to execute any command
  # %sudo	ALL=(ALL:ALL) ALL
  # 'username' ALL=(ALL) NOPASSWD: /usr/bin/nmap -sn 192.168.43.0/24


	sudo nmap -sn 192.168.43.0/24 | grep --before-context=3 -i "$TARGET_MAC" | tail -n 3 | head -n 1 | awk '{ print $6 }' | sed 's/[()]//g'; }


# run command only if wifi is connected
if echo $(nmcli general status) | grep -q -w "connected" ; then

  # for ssh to work in a changing IP address, a configuration line has to be enabled so that it does not ask for yes/no while connecting to a changed ip address
	TARGET_IP=$(get_ip)
  ssh -p 8022  "$TARGET_IP" 'find /data/data/com.termux/files/home/storage/shared/Pictures/ -mtime +30  -type d,f -printf %P\\0' | rsync --append --update --times --atimes --mkpath --verbose --human-readable --remove-source-files --log-file="$HOME/log/synced.log" --exclude='.dtrash' --files-from=- --from0  -e "ssh -p 8022" "$TARGET_IP":/data/data/com.termux/files/home/storage/shared/Pictures/ $HOME/Pictures
19
24
submitted 2 days ago* (last edited 2 days ago) by someoneFromInternet@lemmy.ml to c/linux@lemmy.ml

I have wh1000xm4 headphones, installed void with xfce, turned on "Prioritize Sound Quality", but can't enable LDAC in settings.

20
223
submitted 3 days ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
21
7

cross-posted: https://feddit.org/post/12443313

Hello, I'm still a noob when it comes to computers. I had a dual boot Windows 11 and OpenSuse Leap 15.6. My problem is that I was using my laptop as always and I was simply searching through internet when the system glitched. So I tried to restart my laptop, but then it showed screens with sth like Bios corrupted, blue screen etc. And then it restarted but only with Windows 11. When I check the settings partition has fully free memory, so it means that my OpenSuse is gone.

What could have gone wrong?

Sorry for the noob question and thanks for any help. I'm just really davastated.

22
66
submitted 3 days ago* (last edited 3 days ago) by Luffy879@lemmy.ml to c/linux@lemmy.ml

Yes, im doing le funy Meme. And yes, I am an autist, with some signs towards something adhd adjacent

I first tried Linux Mint when I was 12, eventually changed to Ubuntu when I was 13 or 14 because I saw the Windows 11 copilot button, installed arch at late 14, and got to gentoo when I was 15.

Can anyone beat me to it?

23
23
submitted 3 days ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
24
107
submitted 4 days ago by pancake@lemmygrad.ml to c/linux@lemmy.ml

It seems to have plateaued and increasing more slowly. Combining data from Steam and Statcounter reveals this:

25
48
submitted 4 days ago by meldrik@lemmy.wtf to c/linux@lemmy.ml
view more: next ›

Linux

54184 readers
507 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