linux

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

otl, in Using an iPad as a second monitor (wired)

Time to turn your laptop into a router! Let’s say you’ve got 2 network interfaces on your laptop, eth0 and wifi0. wifi0 is joined to your university WiFi as normal. Connect your iPad to your laptop via ethernet (with a USB-C adapter).


<span style="color:#323232;">iPad -> usb-c-ethernet -> eth0
</span><span style="color:#323232;">wifi0 -> internet
</span>

Rather than setting up a DHCP server or IPv6 stuff, I’d just configure the wired interfaces manually. Let’s use the network 192.168.69.0/24. Laptop will be 192.168.69.1, iPad will be at 192.168.69.2. On the laptop:


<span style="color:#323232;">ip addr add 192.168.69.1/24 dev eth0
</span>

On your iPad, go to Settings -> Ethernet:

  • address: 192.168.69.2
  • subnet mask: 255.255.255.0
  • router: 192.168.69.1

Curious to see if that works. We haven’t set up DNS or DHCP or done any sysctl for IP forwarding or any nftables.

How can we test if it works? We can set up a TCP listener using nc(1) on the laptop that the iPad’s web browser could hit. On the laptop:


<span style="color:#323232;">nc -l 8080
</span>

On your iPad, open Safari and browse to 192.168.69.1:8080

Curious to see if that all works!


See also:

Adonnen,

Will try soon, thank you!

Adonnen,

Will I need a usb-c to rj45 adapter (or realistically, 2 since my laptop does not have an ethernet port)? I was planning to use my TB4 type c - type c cable and use an ethernet connection over usb.

luthis, (edited ) in FOUND file in device by hex content using wxHexEditor

Tried a different way:


<span style="color:#323232;"> filefrag -v testfile 
</span><span style="color:#323232;">Filesystem type is: ef53
</span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)
</span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:
</span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof
</span>

Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense

MangoKangaroo, in I Made Screen Brightness Control on Gnome Much Better

I run GNOME on my laptop and I’d definitely love to see more robust brightness control. Thanks for putting in the work to make this happen.

avidamoeba, (edited ) in how can I customise my Ubuntu theme without breaking anything??
@avidamoeba@lemmy.ca avatar

In short, it’s difficult. You have to be careful to only use themes that are are tested to work with your version of GNOME. That’s why while using GNOME, I’d stick with whatever stock theme variants come preinstalled. At least you get a few accent colors on Ubuntu. You can always change your wallpaper. 🥹

01adrianrdgz,
@01adrianrdgz@lemmy.world avatar

yes, thank you!! I can customise it as much as I’d like using GNOME Tweaks + preinstalled themes, like in Xfce, thank you!!

cows_are_underrated, in I Made Screen Brightness Control on Gnome Much Better

I only use gnome on my laptop, where I luckily have buttons to control brightness, but this seems like a really good thing to get implemented.

PlexSheep, in I Made Screen Brightness Control on Gnome Much Better

Didn’t know I wanted this, unfortunately I use Cinnamon, but this is a great feature!

timicin, in what caused you to get into Linux?

in the fall of 2002 the windows millennium installation on my computer broke, trapping an entire semester’s worth of work on the hard drive and i was a starving college student with less than $20 to my name, so i couldn’t afford to buy windows xp and didn’t know anyone where i could get a pirate copy from.

i bought a mandrake linux cd pack for $8 from circuit city and used google in the computer laboratory to learn how to mount the hard drive, install drivers for ntfs and copy my all my work to a usb drive and i’ve been using linux ever since. i switch to 100% only linux both professionally and personally sometime around 2010.

fujiwara, in what caused you to get into Linux?
@fujiwara@lemmy.zip avatar

Windows begging me to create a Microsoft account on start up everyday, even making me unplug my ethernet to get past it. I’m not obsessed with Linux.

Holzkohlen, in What are people daily driving these days?

Garuda Linux. In just love arch, but I’m too lazy to do it myself. One day maybe

ShranTheWaterPoloFan, in what caused you to get into Linux?

NASA.

I was PMing a student project for NASA and the sheer number of tabs and files I had open on my PC killed Windows.

I had a week until the deadline and I’m in a situation where things may or may not save, basic functionality was questionable and I had literally thousands of pages information to format and get out.

Once I turned it in I installed Linux and never looked back.

crmsnbleyd, in What are people daily driving these days?
@crmsnbleyd@sopuli.xyz avatar

The answer’s always Debian. I use guix for packages, though it doesn’t have as much stuff on it as nix.

crmsnbleyd, in what caused you to get into Linux?
@crmsnbleyd@sopuli.xyz avatar

Linux user group at my uni. I love Unix like systems, especially Linux.

a_fancy_kiwi, in what caused you to get into Linux?

Plex

At the time, Windows was updating and restarting whenever it felt like it which would stop my Plex server from running until I logged back in. Windows and Macs are now just thin clients that allow me to connect to all my Linux servers.

ExLisper, in What are people daily driving these days?

Debian with awesome at home. Fedora with cinnamon at work.

onlinepersona,

awesome?

ExLisper,
onlinepersona, (edited )

Damn… that looks like a lot of work. Did you write your own theme?

ExLisper,

Oh my, yes. The benefit is that one you figure it out it’s super easy to create widgets. I wrote from 0 or adapted my own widgets for apt, Spotify, notes, timer, weather alerts… Basic plugins (like system monitor, battery, volume) you can just find online but when you need something custom is real easy. For example I wanted something to alert me when my pihole is down. 30 minutes of scripting and it’s in my tray.

onlinepersona,

Intruiging 🤔 There are something things like that which I’ve wanted to write for years!

ExLisper,

Give it a try. Lua is easy and the api has good documentation. There’s plenty of good widgets to use as examples. And if you have any questions just ask.

ExLisper,

I’ve based my theme on sometimes I found but yes, I heavily adapted it. Theming is simple, awesome is flexible but not very pretty. It’s more about usbility. Easily define rules for specific windows, powerful keybindings and so one. For example my config defects if I’m using external monitor or not and changes the widgets accordingly. It’s just one if in the config. I don’t think it’s possible at all in gnome.

dontblink, in What are people daily driving these days?
@dontblink@feddit.it avatar

I like Debian with GNOME

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