• 0 Posts
  • 29 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • You need to enter these commands in the Linux terminal app, not in the X server app. Once the two apps connect, it should be possible to launch another terminal inside the X server.

    • Go to your phone Settings > About Phone and tap “Build number” seven times. You will receive notification that your phone now has developer options enabled.

    • Settings > System > Developer Options > Linux development environment. On that page, tap the On/Off slider.

    • You will find an icon for the new Terminal app on your home screen. It’s going to download 500 MB of data when you open it.

    • Long-press the Terminal app icon, tap Info > Mobile data, and enable Unrestricted data usage.

    • Now you can download more packages inside your Linux virtual machine using apt-get command, as described in my previous post.





  • pelya@lemmy.worldtoLinux@lemmy.mlWhat is eg2gears-wayland?
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    6 months ago

    it’s used to verify that OpenGL ES2 works on your system. It’s the variant of 3D graphics drivers that is used on smartphones. Many apps nowadays write their GFX frontend with GLES2 so it uses the same code on phones and PCs, and if they compile the app to run in the web browser, WebGL is also based on GLES2.







  • pelya@lemmy.worldtoLinux@lemmy.mlBeginners Guides
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago
    • Ctrl-C will not do what you expect, use Ctrl-Shift-C, or click mouse wheel
    • There are many better terminal emulators that XTerm
    • If you accidentally press Ctrl-Alt-F1, you can press Alt-F7 to switch back to the graphical desktop
    • There are in fact many ways to exit vi, no need to reboot your PC
    • There’s no need to suffer through The True Commandline Experience For Real Fedora-Wearing Sysadmins⁽¹⁾, just install mc and get all the benefits without typing cd and ls every time you want to find a specific file

    ⁽¹⁾ Real Fedora-Wearing Sysadmins don’t use vi to edit files, they either write a sed script or use cat to copy the file to the terminal, then use cat again to copy the contents of the terminal back into the file by clicking the mouse wheel while typing manually the lines they need to change.



  • Capsules are considered more advanced drug packaging because none of the drug dissolves in your mouth when you swallow capsules. Unlike pills, 100% of the drug goes straight to your stomach, so there’s no variation in the drug dosage, and the patient won’t complain if the drug is bitter.

    Also because you can open the capsule and pour it into the glass of water, if you have trouble swallowing pills. Which defeats the first advantage, and you can simply order powdered drug instead of pills, but it won’t come pre-packaged as pills so it will be more expensive.

    None of that matters for vitamins, you generally need more than 1000% of the daily dose for it to become harmful, so each pill contains more than your body really needs, because there are no side effects, so you can buy a pill and lick it, chew it, crush it, and add it to your coffee, and it will still work just fine.


  • You can listen to FM radio with gqrx relatively easily, if you can navigate through hundreds of input boxes.

    sudo apt-get install gqrx
    

    Anything more complicated will require some coding knowledge, unless someone already created a library for that specific thing.

    There is also a ready-made package to listen to GPS signal, unfortunately it needs an external amplifier and a proper antenna, because RTL-SDR is not sensitive enough for GPS.


  • pelya@lemmy.worldtoScience Memes@mander.xyzJinkies
    link
    fedilink
    English
    arrow-up
    11
    ·
    11 months ago

    I first used Matplotlib 10 years ago. It was unintuitive and very slowly redrawing the whole plot each time you tried to zoom.

    I’m using it right now, and I’m happy to report that it kept to it’s time-honored tradition - zoom is still piss-slow even on my fancy new PC with 12 cores.

    Maybe in the next 20 years, matplotlib devs will discover wonders of tile cache.