1
27

Hello guys, I have been annoyed at this pop-up as I have to exit it every time I open any Electron (chromium based apps). Does anyone here know how to disable it?

Thanks in advance.

2
10

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

I created a simple Nushell script that will always disable the default/internal monitor(s) on your laptop or external display when using AR glasses. 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 other display to become enabled.

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

Simply copy this script and create a new Nushell script such as disable-displays.nu, add it to your startup applications with the command of nu /path/to/disable-displays.nu 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 constants values in the script accordingly.

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

Enjoy

# RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES
const ar_glasses_display = 'USB-C-0'
const displays = [
    'eDP',
    'HDMI-0'
]

const wait = 5

def is-ar-glasses-connected [] {
    return (xrandr | str contains $"($ar_glasses_display) connected")
}

def disable-display [display: string] {
    xrandr --output $display --off
}

def enable-display [display: string] {
    xrandr --output $display --auto
}

loop {
    if (is-ar-glasses-connected) {
        for current_display in $displays {
            disable-display $current_display
        }
    } else {
        for current_display in $displays {
            enable-display $current_display
        }
    }

    sleep ($wait * 1sec)
}
3
17
submitted 2 days ago by christos@lemmy.world to c/linux@lemmy.world

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

https://gitlab.com/christosangel/hanoi

Hanoi is a simple terminal version of the known classical game Tower of Hanoi, written in Bash.

During the game, the user can move left and right, pick disks and drop them in other stacks.

The aim is to move all the disks from the ORIGIN pile to the DESTINATION pile, in as little moves as possible

hanoi.png

4
45
5
51
submitted 2 days ago* (last edited 2 days ago) by sureshot0@discuss.online to c/linux@lemmy.world

I've got a Macbook Pro A1707

I put Mint Ubuntu on it, had some issues but it was fine. Flashed Mint Debian as an experiment and it's a lot better, even though it has a lot of the same problems and I can't get the speaker to start... I still have to adjust the txpower every single time I boot up in order to start the wifi, but the biggest difference is the fan driver.

For some reason on Mint Ubuntu it was more difficult to control when the fan came on and how sensitively it reacted to sensing heat, not really an issue on Mint Debian, it will kick on for any length of time once it senses heat, I can more easily adjust the fans manually as well.

I don't know if I'd get much money for it if I sold so I'm just trying to use it until it falls apart. I'll figure out the speakers eventually, I guess. This time it isn't the speakers, it's something else, on Mint Ubuntu the speakers just didn't work until I installed the drivers... on Mint Debian the speakers work but only display sounds from booting up or other computing actions, can't play sound from music files or video, can't even plug in headphones. When the speakers on Mint Ubuntu didn't work before I installed the driver, I could listen with my headphones only. Weird.

Anyway just sharing this experience. The command to adjust the txpower appropraitely is

sudo iwconfig [yours] txpower 10

edit: edited for typos

6
12
submitted 2 days ago by anon232@lemmy.zip to c/linux@lemmy.world

I'm running bazzite on my desktop with an AMD 7800x3d and an AMD 7900XT gpu.

I have a PBO optimizer curve offset set to -30 in bios but I'm still getting pretty high temps in my case, even when idling. CPU is water cooled with a Corsair H110. CPU temps are around mid to upper 40c and can reach up to 80c when gaming.

I don't think it's an issue with the cooler because when when idling it's blowing out hot air on the exhaust fans in my case. The cpu cooling radiator is setup as an intake so it cools the liquid with cool ambient air.

I believe bazzite might be consuming a lot of power itself but I can't prove it because I have no way of viewing power usage. I tried setting up ryzenadj but it gave me an error about how my cpu family isn't supported. (It might be laptop only?)

If anyone has any recommendations I'd greatly appreciate it.

7
10
submitted 3 days ago by fizzle@quokk.au to c/linux@lemmy.world

I have a Thinkpad T490s and would like to use an external GPU so I can power multiple monitors in High Def.

Specifically, I'm looking at the TH3P4G3 with a 5070 Ti.

From the reading I've done it seems like getting these configured and working is non-trivial. For example there's some reports of people not being able to deliver power to the laptop while docked. Also some crashes on connect / disconnect.

I'm not necessarily looking for specific "how to" advice, just a general impression. Is this worth while or is it going to be a huge muck around that never really works reliably.

8
85

Using Linux operating systems has always been a frustrating experience for creatives, whether it be for lack of compatibility with industry-standard creative tools or hardware complications, but in this video I'll be outlining all of the steps you can take to be a graphic designer who uses Linux.

Join my mailing list and get 200+ free design templates: https://join.logosbynick.com/

Want to learn more about how Inkscape works? Check out the Inkscape Master Class - a comprehensive series of over 50 videos where I go over every tool, feature and function in Inkscape and explain what it is, how it works, and why it's useful: https://logosbynick.com/inkscape/

๐Ÿ”— RESOURCE LINKS

Hire me to design your logo: https://logosbynick.com/

Get my premium logo templates: https://logosbynick.com/design-templates/

Upgrade to the latest version of Inkscape here: https://inkscape.org/release/

๐ŸŽ“ EXPLAINER COURSES

Inkscape: https://logosbynick.com/inkscape/
Affinity Designer: https://logosbynick.com/affinity-designer/
GIMP: https://logosbynick.com/gimp/
Adobe Illustrator: https://logosbynick.com/illustrator/

Take my logo design workshop: https://logosbynick.com/learn/

โ–ถ๏ธ MY OTHER CHANNELS

Adobe & Affinity tutorials: https://www.youtube.com/c/DesignMadeSimple/
Mobile tutorials: https://www.youtube.com/channel/UCe7cPBY4S6XMQZQsf2eC_5w

๐Ÿ’ฌ SOCIALS

LinkedIn: https://www.linkedin.com/in/logosbynick/
Instagram: https://www.instagram.com/itslogosbynick/

๐ŸŽต MUSIC USED

In Da Mood - Combustibles

CHAPTERS

00:00 Intro
01:03 "Graphic Design"
01:40 Designing for Print
02:06 CMYK Vectors
05:33 CMYK Pixels
06:49 Considerations
07:11 Adobe Apps
08:14 Use Adobe Apps on Linux
12:36 Considerations
13:23 Conclusion

9
11
Using KDE Plasma on Pop (sh.itjust.works)
submitted 5 days ago* (last edited 5 days ago) by kertain@sh.itjust.works to c/linux@lemmy.world

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

Hello! So I am somewhat new to linux, been trying to use it as my daily driver for about 6 months now.

Hopefully its ok to ask linux questions here: Right now I have Pop 24.04, and generally it works ok but I have frequent mouse lock/focus issues in games, which I can normally get around using proton/sdl video driver commands in Steam, but it is a constant issue.

At the suggestion of GPT, I tried loading into Gnome rather than the default Cosmic and that issue went away. So pretty sure this means its something with the cosmic composer with my setup. Really tired of beating my head against the wall with this constant issue and happy it's solved, but not sure I really like Gnome.

I DO like KDE Plasma and since I am using Dual monitors with VRR makes since to go to versions 6, but worried about dependency issues when I update. POP uses older KDE version and it would pull different versions of things like the Framework..ect

How big of an issue is this? Are their ways to block pop from pulling older versions? Any suggestions or thoughts?

Thanks!

10
24
submitted 1 week ago by woelkchen@lemmy.world to c/linux@lemmy.world

11
53
submitted 1 week ago* (last edited 1 week ago) by exu@feditown.com to c/linux@lemmy.world

Edit: To clarify, this is not my personal blog. It's just intended to raise awareness and spread it around here as well. I just don't believe in editorializing titles

12
24
13
2

Endpoint-by-endpoint discovery checks that verify LuisCore is reachable, parseable, and usable by autonomous agents.

Canonical page: https://luiscore.com/agent-discovery-proof

Agent bootstrap: https://luiscore.com/for-agents.json Developer signup: https://luiscore.com/developers#signup Chorus Field: https://luiscore.com/chorus-field

14
-55
15
340
submitted 2 weeks ago by ekZepp@lemmy.world to c/linux@lemmy.world

Summary

  • California (AB 1856) and Colorado (SB 26-051) have enacted laws requiring operating systems to implement device-level age verification but have specifically exempted open-source software.
  • These mandates require "Operating System Providers" to collect a user's age during account setup and share a non-identifiable "age signal" with third-party apps.
  • Following significant backlash from open source community, both states narrowed their definitions to exclude Linux and open source software distributed under licenses that allow users to copy, redistribute, and modify the code.
  • While a pure Linux distribution is exempt, platforms like Valve's SteamOS may still fall under the mandate. This is because SteamOS ships with a proprietary storefront and client.
  • Similarly, while Android is technically open source, the version shipped on most phones includes proprietary Google Play Services, which would likely trigger the mandate.
16
29
submitted 2 weeks ago by alecsargent@lemmy.zip to c/linux@lemmy.world

cross-posted from: https://lemmy.zip/post/64994238

I wanted to ask your guys what setup do you have for a keyboard driven workflow in your browser and what are your reasons for it.

At the moment I am running Librewolf + Vimium. The glide browser is a good alternative but it does not have some features I like from Vimium.

Browsers:

Extensions:

17
35
submitted 2 weeks ago by pglpm@lemmy.ca to c/linux@lemmy.world

cross-posted from: https://lemmy.ca/post/65292654

For those interested on the question of age verification and GNU/Linux: be aware that Systemd v261-rc1 was recently released. It now implements an optional birth date field in the JSON user database (see second item under "Other changes").

The implementation of this field was prompted by age-verification or -attestation laws.

(Age-verification status of Open Source Operating Systems.)

18
-18
submitted 2 weeks ago by MastKalandar@piefed.ca to c/linux@lemmy.world
19
122
20
24
submitted 3 weeks ago* (last edited 3 weeks ago) by Flagstaff@programming.dev to c/linux@lemmy.world
  1. Set the custom keyboard shortcut sh -c 'pgrep -i keepassxc > /dev/null || keepassxc' to Alt+V
  2. Keep KeePassXC's default autotype prompt keybinding, which is Alt+V

One disables the other. I thought that going the grep route might make the program opener conditionally inactive, but apparently that's not doing anything. I would really like to avoid using a separate keybinding if possible. Otherwise, I guess I'd just have to have it open on launch.

21
25
submitted 3 weeks ago* (last edited 3 weeks ago) by lyrial@anarchist.nexus to c/linux@lemmy.world

This isn't really an article, but a link to the AMD Vivado Design Suite's page. If you scroll down, you will see this:

bvDBlTi04PRex0b.png

22
25

In GNU nano 7.2 (the latest as of this posting, as far as I know), why does Ctrl+Delete delete entire words but not Ctrl+Backspace? How do we restore its correct functionality?

23
56
submitted 3 weeks ago by bibbasa@piefed.social to c/linux@lemmy.world
24
423
submitted 4 weeks ago by Lisk91@sh.itjust.works to c/linux@lemmy.world

The coordinated effort worked. When lawmakers finalized Colorado SB26-051, they added Section 6-30-105(e) to the text. This specific clause waives compliance for operating systems and applications distributed under licenses that allow copying, modifying, and redistributing without platform-imposed technical restrictions. Why the Section 6-30-105(e) Exemption Protects Decentralized Tech

This exemption establishes a formal legislative precedent for the tech industry. It legally shields free and open-source operating systems from hardware-level age attestation laws that closed ecosystems like iOS and Windows will soon have to follow.

25
14
submitted 4 weeks ago* (last edited 4 weeks ago) by CubitOom@infosec.pub to c/linux@lemmy.world

I'm using arch btw, with KDE and wayland. Posting this incase anyone else is having similar problems.

Some commands that relied on wl-copy like pass -c would return empty pastes.

My guess is that the xdg-mime query (from xdg-utils) returns empty output on KDE, and that wl-copy relies on this to determine the MIME type of piped data, and when it gets nothing back, the clipboard MIME type is corrupted.

The fix was replacing wl-clipboard with wl-clipboard-rs which is a rust re-implementation of wl-copy/wl-paste that doesn't depend on xdg-mime for MIME detection.

view more: next โ€บ

Linux

17769 readers
48 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS