linux

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

gnate, in Surface Laptop 3 running Kubuntu, such an improvement over what it was "designed" for.

ooh, I just snagged an old Pro X. Tempted to see how it runs with Linux on ARM before even messing with Win11 that’s installed.

gnate, (edited )
skullgiver, in Created a Java Application for Easy '.desktop' File Creation
@skullgiver@popplesburger.hilciferous.nl avatar

I believe this tool will allow you to register an action in nautilus for your desktop file.

MrOzwaldMan,

Does it allow java applications to be used as an ‘action’?

skullgiver,
@skullgiver@popplesburger.hilciferous.nl avatar

I don’t see why not. The example config file has a whole bunch of complex commands, far more than just the java --jar you need to run a Java application.

MrOzwaldMan,

Great! This is going to be my first time doing this, hopefully this comes to everybody’s machine as default.

herrcaptain, in Linux Mint 21.3: Empowering tech-savvy Moms with the Perfect Desktop Experience

Very cool writeup! I also love the rollercoaster that is your blog categories. We’ve got everything from free software, gun violence, deadbeat dads, and … spaghetti.

For real though, great stuff! I’m always happy to come across legit oldschool-style blogs without a commercial agenda.

ameliawilliams,

I am glad you like my blog :)

utopiah, in Thinking about making the big switch – recommend me a distro!

So I could recommend a distro, as you asked (which would be Ubuntu) but instead I believe what’s better is making the switch… small!

In practice that means safety net and familiarity all around :

  • backup your data
  • backup your data… and not, that’s not a mistake, truly do it, now. Before you try something new, and scary. In fact… don’t touch your computer, get another one, a cheap one like a RPi4 or a relatively old laptop that a colleague hasn’t used for years.
  • copy, don’t move, your data to whatever distribution you picked
  • ideally have a dedicated hard drive in there for JUST the data, NOT the OS
  • play… have fun, truly. Try to use YOUR data, I mean the copy you have now that you don’t even care if you lose, and try to use them with the stock software that comes with your distribution, e.g OpenOffice or Blender or Kdenlive, or whatever you are into
  • delete it all! Don’t be afraid, you can do it, you have copies anyway
  • do it, again, again, keep a logbook or wiki or .doc file where you write down what you learn
  • rinse and repeat

this way you should find YOUR distribution in no time and you won’t be afraid of messing up!

Honestly it’s a fun adventure. I’ve been learning Linux and CLI tools decades ago and I’m still learning to this day so do not assume there is one solution you can find today and move, it’s a process, a long one, but a really empowering one IMHO.

N0x0n, (edited )

That’s the spirit 🫶.

That’s really what I’m doing on my debian server where I host my docker containers.

I don’t care if I brick my system while playing arround because every day at 00:00 a crontab job dumps all my database and saves all my docker volumes and docker-compose to an external HD and saves most important dotfiles and wireguard configuration.

Back Up and running in 30 min !

2 years in, still going strong and learning everyday something new, keeping everything I learn in a markdown file.

  • Personal CA with self-signed certificate by an intermediate CA chain
  • Wireguard tunnel routing all my devices traffic to protonVPN
  • Alot of docker stuff
  • Alot of networking stuff (DNS, cryptography…)
  • LVM, bash…

Wild ride, sometimes alot of frustration, but what an empowering experience !

Bronzie, in Thinking about making the big switch – recommend me a distro!

Mint Cinamon.

«Everybody» gave me the same advice.

Good luck!

Shady_Shiroe,
@Shady_Shiroe@lemmy.world avatar

I second this, Ubuntu gnome feels more like Mac UI in my opinion.

cyborganism, in Surface Laptop 3 running Kubuntu, such an improvement over what it was "designed" for.

I have an OG Surface Pro. The first one. It’s running Windows 10 at the moment and it’s doing fine except for the occasional wifi/Bluetooth bugs. I’m using it exclusively in tablet mode with the pen. No keyboard.

When Windows 10 is going to reach its end of life, I’d like to install Linux on it. But I need it to have a tablet style interface with gestures if possible.

Do I need any special distro or drivers on that hardware? And what would you recommend as the desktop environment?

krash,

I had one of those too! Sturdy little guy, reminds me a bit of the first eeepc 701 :-) But I was worried about the replacement of the charger once it would die. Besides, I have had a bad experience of Surface-line longevity, they always seem to die suddenly after a while, so I sold it.

cyborganism,

Hey, you wanna know something about the EeePC?

I was the build engineer that automated the process that put together the Linux OS for those things back in the day.

krash,

That is so awesome. Do you still have one lying around? Those things have an awesome form factor, but the I/O ports are a little bit dated by todays standard 😅

cyborganism,

Nah. The hardware wasn’t very good and it was very slow. I had a 7" and a 9" one. I replaced them with the surface pro.

The company was going to make custom Linux based OSes for other smart devices like TVs and monitors but Android came out and was backed by Google, so of course it became wildly popular. Our company went bankrupt pretty quickly after that because it had no the contracts coming in. Asus was the only client keeping them afloat and the contract was ending.

julianh,

You’ll definitely need this: github.com/linux-surface/linux-surface

Gnome is probably the best with touchscreens. I had issues with Ubuntu though so you probably want something more up to date, like fedora or arch.

cyborganism,

Very cool. Thank you for this.

joojmachine,

Also, highly recommend checking out Universal Blue’s Surface images! It’s pretty much everything you need out of the box! universal-blue.org/images/surface/?h=surface

cyborganism,

That’s even better! Thank you!

cyborganism,

To add another comment to your reply, have you tried it personally?

I’d like to back up my system before doing the switch. What do you recommend I use? Clonezilla with an external USB drive all plugged in using a USB hub?

joojmachine,

I haven’t tried the Surface images due to not having one, but I am using their Silverblue images to make the whole NVIDIA drivers thing a bit easier on my system.

Also I haven’t needed to backup my system in over a year now (I stopped hopping with Silverblue) so I don’t remember the solution I used, but this seems good.

Gebruikersnaam,
@Gebruikersnaam@lemmy.ml avatar

Yeah, Fedora runs with wayland by default, which is really nice for touchscreens.

merthyr1831, in Canonical's Steam Snap is Causing Headaches for Valve

This is a big issue with Snap. It may be like Flatpak, allowing devs to set their own dependencies for ALL distros, but its poor uptake outside of Ubuntu’s ecosystem means that it’s no different to yet another distro repackaging system.

Flatpak, or even Nixpkgs, are the future because they allow devs to have control over the distribution of their software. Snap being such a closed ecosystem in comparison only means it will replicate many of the problems we’ve found with traditional (re)packaging systems.

mac,
@mac@infosec.pub avatar

I can’t speak for Flatpak as I haven’t tried it but nixpkgs are beautiful to work with and configuration of my system has become completely reproducible in a clean format.

merthyr1831,

As a dev, you can just distribute a nixpkg with whatever build tool inside. That beats the current system of “native” packages where your software is repacked and then maintained by half a dozen teams for different distros that use different dependencies and update cadences.

Bottles has gone as far as to demand its fedora package be removed and now shows a warning if you’re not using the flatpak version because repackers just don’t properly test all their software (how can they? there are thousands of apps in these repos!)

mac,
@mac@infosec.pub avatar

Yeah there are some issues with compatibility, I’ve found a couple of apps that error on my Mac.

How does it compare to Flatpak?

merthyr1831,

nix is a “native” packaging format. Apps are compiled for your host OS and run in that environment with no restrictions, for better or worse.

Flatpaks are containers. They provide a virtual OS to the application such as the file system, and accessing host OS features is done through “portals” which just means you can give/revoke the ability of the app to access your host OS resources such as networking, file access etc.

Flatpaks are therefore much safer in theory. But Nix packages are lower overhead, and can interact like any built-in software binary that you’d have when you spin up a fresh install of, say, debian.

Nix packages are harder to use IMO thanks to their poor documentation and lack of GUI package manager support (not that it’s impossible, just that it’s been a niche system for most of its life) and since most people are accustomed to flatpaks and their permissions system (and the fact it comes preinstalled on most distros) so flatpak is still pretty ubiquitous, even for NIxOS users

merthyr1831, in Reddit API blew up and now I run Linux?

now to get a chromebook with coreboot to really stick it to the anti FOSS demons

hagelslager,

Just a passer-by: why a chromebook? Is their hardware less reliant on proprietary software?

Secret300,

Depends on which one but some are easier to install coreboot on

merthyr1831,

the Chrultrabook project is what youll wanna look into, but basically yes. You can reliably get new-ish hardware very cheaply and flash FOSS stuff like Coreboot onto it.

No idea why tbh. The equivalent laptops outside of ChromeOS’ ecosystem are usually much more locked down, to the point where the most powerful systems you’ll find being able to run Coreboot are decades-old thinkpads on 3rd gen mobile i5 and Kepler mGPUs.

chemicalwonka,
@chemicalwonka@discuss.tchncs.de avatar

I gave one step more to achieve the holy sanctity of FOSS hardware I bought a Thinkpad and flashed Libreboot in it. Waiting for the bless of Saint iGNUcius

Haha,

I have a chromebook how do i convert

13617,

chultrabook discord

Haha,

Got a link?

0x2d,

is it x86 based? what’s the board name?

Haha,

Model is n16p1 - acer 14 CB3-431

0x2d,

your board is edgar, wp screw, see more infos on mrchromebox

Haha,

I’ve done everything and my roadblock is finding compatible images hahaha

Apollo2323, in 4 reasons to try Mozilla’s new Firefox Linux package for Ubuntu and Debian derivatives | The Mozilla Blog

What about for Fedora users?

bdonvr,

Fedora hasn’t been repackaging Firefox in a problematic format

superbirra,

neither did debian, flat/snap/fart shits are an abomination that came with the unavoidable eternal september of mass adopting tech stuff

krash, in Surface Laptop 3 running Kubuntu, such an improvement over what it was "designed" for.

Once the drivers got into the mainline kernel, running Linux on surface has been a dream. Except for using the pen, IR-cameras, booting from USB…

I think there’s enough of us to have a SurfaceLinux community here :-)

dgriffith, (edited )

Except for using the pen, IR-cameras, booting from USB…

Reminds me of android ROMs about a decade ago.

“My new L33tM@st3r ROM has just been released! Now with kernel tweaks for buttery-smooth performance and major improvement to stock battery life! Comes with it’s own tuning app so you can adjust it the way YOU want!

(Not presently working: bluetooth/wifi/camera/NFC/dialler/headphones but everything else is awesome!!)”

krash,

Yes and no. Back then, you got the ROMs from a group / individual / forum and it wasn’t very much vetted like a distro coming directly from the linux community / canonical / etc.

Also, I can live without using surface pen (-: If you compare to Asahi and its maturity (a lot running, but not sound yet), LinuxSurface kernel have made a LOT of progress in making these devices even more usable compared to they handle Win11.

squid_slime, in Best DE for touch screens but also normal use
@squid_slime@lemmy.world avatar

I use sway, touch input works and gestures can be configured too

5714,

How does a tiling window manager even work with touch?

squid_slime,
@squid_slime@lemmy.world avatar

With gestures and and waybar it can work pretty good, its not easy to setup though

TMP_NKcYUEoM7kXg4qYe,

Sway is probably meh because it’s a manual tiler. I use sway-autotiling in laptop mode and don’t bother with switching the layout in tablet mode.

But generally the question should be “How does a stacking window manager even work with touch?” The answer is “like shit”. Instead of having your windows automatically placed on the screen, you have to drag them around with your stylus.

I used to use KDE Bismuth (tiler for Plasma) and it was the best experience on a touchscreen I could imagine. I mainly used 2 tiling layouts. The usual Master+Stack for regular use and when watching lectures I used a layout which is almost stacking but makes the windows slightly smaller than full screen, so you can grab the window on the bottom easily. I had a keybind which reduced the opacity of a window making it see-through. That way I could have my lecture over almost the full screen while still being able to write over almost the entire screen.

Plasma also has the option to do something when you drag from a specific screen edge. I used that to launch the app launcher, to select workspaces and lock the screen.

allywilson, in [Fixed] Fedora 39 keeps rebooting when left idle for a long time

Without sounding rude, are you sure it’s at the login screen and not the unlock screen?

brunofin,

not rude. yeah it’s a login screen as when I input my password all apps that I was using are closed, blank new session.

allywilson,

OK, thanks.

I guess it’s worth confirming if it’s been a logout or a reboot as well. If you open a terminal and type “uptime” does the time match when you booted up or after you left it alone for a while?

Check the output of: dmesg -Tand have a look through: /var/log/messages

I would be focussing on errors, warnings and/or terms like “reboot, shutdown, logout, timeout, idle, etc.” to try to narrow it down what is happening and when.

JK_Flip_Flop, in Surface Laptop 3 running Kubuntu, such an improvement over what it was "designed" for.

I’ve got a Surface Pro 5 with the dogshit m3 processor and 4GB of Ram, anyone have any concept of how it’d run under linux? It basically folds at any real task in Windows

themusicman,

It would be smooth as butter with a lightweight desktop (probably not KDE). I suggest Linux Mint XFCE edition

iturnedintoanewt,
@iturnedintoanewt@lemm.ee avatar

“KDE is heavy” is so 2000s. It’s been quite a while since KDE is very tight on resources usage. Unless you’re running a raspberry or similar, there’s no point on constraining yourself with one of those desktops for an everyday use device.

TCB13,
@TCB13@lemmy.world avatar

Everything’s about perspective… maybe GNOME became SO bloated that KDE now seems very light. :P

wingsfortheirsmiles, (edited ) in Surface Laptop 3 running Kubuntu, such an improvement over what it was "designed" for.

Getting a surface pro 8 soon, looking forward to getting Linux on it!

Edit: installed Pop OS on my SP8, had to switch to Wayland and also needed to do some tweaks to get the keyboard to work to decrypt but it’s running well so far. I believe you can get the camera working with the proprietary camera stack but it’s not a priority for me right now

iturnedintoanewt, (edited )
@iturnedintoanewt@lemm.ee avatar

Beware of camera support. I’d bet it won’t work on yours.

github.com/…/Supported-Devices-and-Features#featu…

github.com/linux-surface/…/Camera-Support

wingsfortheirsmiles,

Yup, I was aware of that when I bought it. Annoying but I got a good deal on the 8, and want to upgrade the storage

technohacker, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@technohacker@programming.dev avatar

source ~/.bash_history

fl42v,

That’s the scariest horror story in 2 words I’ve seen so far

technohacker,
@technohacker@programming.dev avatar

I’m genuinely having a chuckle at how shocked people are at my submission, made my day xD

fl42v,

I mean, it’s simple, elegant, and destructive AF given the right circumstances. Basically a chaos grenade we didn’t realize existed

papertowels,

And also a very understandable mistake, to boot.

ReverendIrreverence,
@ReverendIrreverence@lemmy.ml avatar

“Oh My…” thought in a George Takei voice

catastrophicblues,

Oh no. That fits the bill perfectly lol.

omidmnz, (edited )

Reminded me of this: github.com/jtroo/kanata/issues/595

Same concept, different granularity!

caseyweederman,

Dear god

pendulous,

Can a linux noob get an explanation of this?

jaykay,
@jaykay@lemmy.zip avatar

New fear unlocked

tubbadu,

Jesus Christ. It would be a good idea to format that file to have an exit as first line to avoid this

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20975616 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 25