linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

virtualbriefcase, in Should I install Linux on my smartphone?

As others are saying, that’s not really an option unless you’re really dedicated. IF it has an unlockable bootloader you could technically get to compiling and tinkering to get everything built, but in order to get a phone all set you’d need to get the right drivers and do a whole lot of tinkering (like full time job levels of building and tinkering) kind of deal to get it built. Phone’s aren’t so plug and play like computers.

If you there’s no rom support and/or a permanently locked bootloader but you want an OS without x y and z you can always try to fire up ADB bridge and disable stuff. You could also accomplish the same by rooting, though it’s a bit of a security risk (though not as overblown as some people say IMO).

Mikelius, in How to exclude SSH port from VPN so you can remote access while VPN is up

Out of curiosity, why not just leave ssh access to the local network so you can only reach it by VPN in the first place? Note I might be misunderstanding what the goal of this was, so feel free to lmk if I’m off the field with my question lol

luthis,

I have protonVPN, therefore no way to forward packets from their endpoint to my pc.

WeAreAllOne,

Proton has port forwarding anyhow…

luthis, (edited )

I was surprised to learn this was a thing, impressive, however;

‘the VPN app sends a request to the VPN server to open a random port’

‘the active port number will change when you disconnect and reconnect the VPN.’

This will not work OOTB with Plex for example, you would need to change the port in the app every time. It becomes difficult to serve anything statically, like a XMPP server or anything that doesn’t let you configure the port.

You also would need to be at home to check which port you’ve been assigned eg if the connection drops and you get assigned a new port, defeating the whole ‘remote access’ thing.

Mikelius,

Oh gotcha, I misunderstood this post as talking about a self hosted VPN, not external provider. That explains it! :D

wfh, (edited ) in Overheating laptop, should I try a lighweight distro - which one?

I have almost the same laptop (PS63 8M, without any nVidia dGPU).

One of the issues I had to solve was the touchpad spamming interrupts after waking up from sleep. It would keep one core at 100% indefinitely, keeping CPU frequency (and temps) quite high and burning through the battery.

Here’s the fix: bbs.archlinux.org/viewtopic.php?pid=1865745#p1865…

This behavior seems fixed on modern kernels since I’ve installed Fedora recently and didn’t have to do this workaround, but you can still check if this still applies to you.

You might also check if you can disable the dGPU in the BIOS (can’t check since I don’t have one), and/or play with power profiles either through Gnome or tlp (lower power profiles will make your laptop very sluggish though).

Maybe check if both your fans are running. I had to replace one of mine that was starting to fail a year ago.

Other than that, I’ve never had any overheating issues with this laptop.

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

I will definitely check this out, merci 🌼

wfh,

De rien ;)

Presi300, in One single partition for Linux versus using a partition table?
@Presi300@lemmy.world avatar

I’d use sister partitions for everything but swap, just use zram for swap, it’s faster and doesn’t need it’s own separate partition

mambabasa,
@mambabasa@slrpnk.net avatar

How do I set that up?

elscallr, (edited )
@elscallr@lemmy.world avatar

Boot from a live distro so you can modify your boot disk. Use the disk utility to create partitions. Copy the data to the relevant partitions ensuring to maintain file ownership and permissions. Modify /etc/fstab to mount the partitions at the designated locations in the filesystem.

I don’t bother putting anything but /home on its own dedicated partition, but if you ask 10 people this question you’ll get 12 opinions, so just do what feels right.

mambabasa,
@mambabasa@slrpnk.net avatar

Thanks

elscallr, (edited )
@elscallr@lemmy.world avatar

Note: Create your partitions from your empty space. You may need to resize your existing partition to do this. But don’t practice on your main drive.

This is a simple job, in that the steps are few, but it’s something that causes catastrophic data loss if you get it wrong.

I’d recommend buying a cheap second drive, doesn’t have to be big or even good. Partition it, mount it, make sure you can make the partitions automatically mount, teach yourself to copy data around, umount it and remount, make sure you got it right.

Just… these are all very simple things. I wouldn’t hesitate to repartition my own drives. But if you fuck it up you fuck it up good. Make sure you know the operations you’re taking first. Measure twice, cut once, all that jazz.

Presi300, in I'm trying to run VirtualBox in Linux Mint but I keep getting an error message about Kernel drivers.
@Presi300@lemmy.world avatar

Use virt-manager or gnome boxes, they are both better and tend to run faster in my experience

Presi300, (edited ) in Custom shell prompt tips and tricks?
@Presi300@lemmy.world avatar

Step 1. Install fish shell

Step 2. Type fish_config

Step 3. Profit

WhyAUsername_1, in How to exclude SSH port from VPN so you can remote access while VPN is up

What are you trying to achieve? I am sorry I don’t understand the end goal

luthis,

Remote access while ProtonVPN is active.

KISSmyOS, (edited ) in on arch btw.

I hate moving windows around.
All windows open maximized without window decorations. Meta+WSAD moves the active window to the upper/lower/left/right half of the screen.
Meta+PgDown minimizes, Meta+PgUp maximizes. Meta+Q tiles windows horizontally, Meta+E vertically. Meta+X closes the window, Meta+Spacebar shows the desktop, Meta alone shows the workspace overview.
Fuck hunting for window borders, clicking and dragging. And fuck configuring all this in a text file.

(I use OpenSUSE with KDE by the way)

worsedoughnut,
@worsedoughnut@lemdro.id avatar

Ever considered trying out a tiling window manager?

KISSmyOS, (edited )

No. I need the functionality of a full desktop environment.
And KDE’s workspace overview is awesome. One keypress and I see all open windows, all workspaces and a global search field that switches to a program when it already has an open window and opens a new window if not.
And a tiling WM on top of KDE would be pointless to me since the behavior of a tiling WM can be configured through the GUI in KDE without installing anything extra.

MusicPiano,

What kde provides that sway or hyprland don’t?

KISSmyOS, (edited )

I’m not familiar with sway or hyprland, but KDE automatically finds and configures any modern scanner and printer in the network, makes all programs use the same theme, saves my passwords and certificates, auto-mounts attached drives, auto-starts programs and services, handles which program opens which file type, has a nice workspace overview, lets me configure the firewall, grub, bootsplash screen, VPN, network settings, monitors, keyboard layout, etc… all with sane defaults out of the box, localized to my language, and easy GUI configuration.

Hexarei,
@Hexarei@programming.dev avatar

For what it’s worth, a large number of the things you listed are actually portable into Sway, i3wm, and a lot of other tiling wms just by way of running the KDE settings daemons - I do the same kinds of things (network printer, theming, auto-mount, auto-start, XDG config, firewall, vpn, network settings, monitors, keyboard layout) just by having i3wm start up xfce-settings-daemon.

I’m not familiar enough with KDE to make promises about grub and splash, but I would imagine those would also work exactly the same as well. In fact, a little bit of searching and it looks like if you’re on Wayland you could even just replace KWin (the KDE window manager) with Sway in the startup files and be 95% of the way there. Might just need to configure a system bar or something to that effect.

worsedoughnut,
@worsedoughnut@lemdro.id avatar

Yeah I also use KDE on my desktop, though I have my laptop running QTile because the tile hotkeys are much more convinient than navigating with the trackpad.

KISSmyOS,

You can freely configure tiling and any hotkeys in KDE as well.

worsedoughnut,
@worsedoughnut@lemdro.id avatar

Sure, but that’s not the only benefit to having full control over the entire tiling interface. I enjoy building out the features and visuals I want in python. It’s fun to have that level of control.

KISSmyOS, (edited )

I enjoy building out the features and visuals I want in python. It’s fun to have that level of control.

I respect that, but I have different hobbies.

worsedoughnut,
@worsedoughnut@lemdro.id avatar

lol totally fair

Emma_Gold_Man, (edited )

kwin supports a tiling mode which it sounds like they’re already using, so … yes?

MycoBro,

I3 baby

sirico,
@sirico@feddit.uk avatar

Gnome with forge is a good time

KISSmyOS, in Overheating laptop, should I try a lighweight distro - which one?

A lightweight distro won’t help you since gaming and zoom will still consume the same amount of resources.
Whatever your distro/DE needs to run itself isn’t even a drop in the ocean compared to your browser for example.

jormaig, in What happens when Linus dies/retires?

Anyone good at insulting and ranting can make the cut. It should not be hard to train an AI on it.

ASeriesOfPoorChoices, in What happens when Linus dies/retires?

I don’t care about Linux, but damn am I hoping Subsurface is in good hands.

FlappyBubble,

You should care about Linux. The web depends upon it :)

ASeriesOfPoorChoices,

And so does Subsurface :-p

ScottE, in Ubuntu 24.04 LTS Committing Fully To Netplan For Network Configuration

It’s not really worth it, honestly. All netplan does is generate a config for systemd-networkd. It’s better to just configure systemd-networkd directly and have a portable configuration, rather than use Canonical’s proprietary stuff. The documentation is quite good for systemd in general, and with more people using it directly for network config it’s easier to find examples when you need help.

arirr, in Yet another "recommend me a distro" post

Have you looked into Solus at all? They are rolling and build with a focus on desktop usage.

flashgnash, in Switched to Linux, don't know what to do

Just gonna drop this here incase you need it as it confused me to begin with

Kernel = core of Linux, pretty much every distro uses the same kernel and it’s got a lot of stuff built in (drivers, some command line utilities, etc)

Distro - built ontop of the kernel, the main parts that differentiate them are:

The package manager (how you install software, probably the most important part when picking a distro)

The desktop environment (the system UI, essentially just another program on Linux so it can be swapped out for another one if you fancy a change)

(There are also things called window managers which are basically just stripped down versions of desktop environments that tend to be far more DIY but also more customisable)

And the preinstalled packages, which for the most part are the same on most popular distros, plus with things like snap, flatpak and appimage dependencies are much less of an issue anyway

If you have any experience with programming and want to try something new and interesting I would recommend giving NixOS a go, your entire system is defined by one configuration file (you can split it into multiple files, but you decide how to do that)

Makes understanding and building a system so much simpler and saner, all the advantages of arch with none of the elitism

KISSmyOS, in Yet another "recommend me a distro" post

OpenSUSE Tumbleweed gets recommended here a lot. Just be aware: It’s an expert distro masquerading as beginner-friendly.
Out of the box, it won’t recognize printers and scanners. Setting them up is a hassle without cups-airprint and sane-airscan which aren’t preinstalled, and the latter is only available through a user’s repo.

Printer setup will also fail unless you add an exception to the built-in firewall. Nothing in the GUI tells you about this.

It also won’t play web videos before you install the codecs. These are available in the packman repo, which will require learning the concept of repo priorities and “vendor-change”, what it does and when to use it. (It can break your system)

The package manager is very sophisticated and complex, but some of its features shouldn’t be used in Tumbleweed. Updating Tumbleweed like you would the normal fixed release system is possible (in fact, if you use the GUI, it’s the default) but it will break your system.

And the system administration tool YAST offers a lot of functionality that is already present in the KDE options. What the differences are? Who knows.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #