L4T Ubuntu - A fully featured linux on your switch

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by bylaws, Apr 28, 2019.

  1. Goffrier

    Goffrier GBAtemp Regular

    Member
    3
    Dec 19, 2018
    United States
    k thanks
     
    Gameboyandwatch likes this.
  2. Natehaxx

    Natehaxx GBAtemp Maniac

    Member
    9
    Jul 26, 2017
    Eritrea
    Install went just fine , but now i need help ... any clue how i could make the fat32 partition bigger ? because i would like to use Linux , Lakka , Emunand on one SD Card it should be possible i guess
     
  3. Goffrier

    Goffrier GBAtemp Regular

    Member
    3
    Dec 19, 2018
    United States
    @Refriger8tor is 1GB enough for the swap? because the minecraft map i host needs 4gb of allocated ram

    — Posts automatically merged - Please don't double post! —

    and i have a 64gb sd card so the swap can be big if needed
     
  4. RiceAlex

    RiceAlex Member

    Newcomer
    1
    May 6, 2019
    China
    And there is also a way to run java edition MC on L4T Switch
     
  5. Goffrier

    Goffrier GBAtemp Regular

    Member
    3
    Dec 19, 2018
    United States
    swap works fine
     
  6. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    I come bearing gifts today. If, you like me, do not like the behavior of dock removal, such as the console screen resolution being off, with this version of dock-hotplug, that is a thing of the past.

    1. Download the attached script.
    2. as root move script to /usr/bin/dock-hotplug
    3. Open terminal, and type chmod +x /usr/bin/dock-hotplug

    Now removing from the dock should result in screen resolution returning to 1280x720 resolution every time. In my gentoo build, I have 6 dock profiles to choose from, and easy switch using eselect. I also added disabling the touch screen when on dock(Assuming you are using a non dual screen dock-profile), which is as simple as adding xinput <enable/disable> 6(id number assigned to touch screen)
     

    Attached Files:

    Last edited by Gavin_Darkglider, Jun 14, 2019
  7. Natehaxx

    Natehaxx GBAtemp Maniac

    Member
    9
    Jul 26, 2017
    Eritrea
    Any idea any one
     
  8. Conan179

    Conan179 Advanced Member

    Newcomer
    3
    Mar 21, 2015
    Germany
    gparted
     
  9. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    This is going to take forever, as the data all has to be moved to extend the partition,

    This is how I would do it:

    1. Copy the switchroot img.gz to a flash drive(Assuming you arent already running linux)
    2. gunzip switchroot img.gz
    3. type into root terminal: kpartx -v -a <path to extracted img>
    4. partition sdcard with fat32 partition the size you want, and create the second partition formatted to ext4 to use the rest of the drive(we will need to resize it later.)
    5. close partition editor
    5. extract switchroot update 1.3 to fat32 partition.
    6. type into root terminal: dd if=/dev/loop<# assignedbykpartx)p2 of=/dev/<sdcardPartition2> bs=4M sync=conv
    7. type into root terminal: kpartx -d <path to extracted img>
    7. reopen gparted, and resize the partition how you like, then create more partitions, if needed.
    8. mount the partition and make sure it works before putting it in the switch.
     
    Natehaxx likes this.
  10. Mouser X

    Mouser X Advanced Member

    Newcomer
    4
    Aug 26, 2009
    United States
    If you searched this thread, you'd find this:
     
  11. okabekudo

    okabekudo Newbie

    Newcomer
    1
    Mar 29, 2018
    Germany
    When can we expect hw acceleration in Firefox? I strongly dislike chromium.
     
  12. ZachyCatGames

    ZachyCatGames GBAtemp Advanced Maniac

    Member
    8
    Jun 19, 2018
    United States
    Hell
    Firefox should perform about the same as chromium. HW accel doesnt work on any browser on L4T
     
    Gavin_Darkglider likes this.
  13. Gavin_Darkglider

    Gavin_Darkglider GBAtemp Regular

    Member
    2
    May 20, 2019
    United States
    When you want to compile a version that supports the hardware acceleration in the switch. I havnt looked into it yet, but I know there is a version of chromium that has openMax acceleration, which is what I would search for for firefox.
     
  14. BruhBoy

    BruhBoy Member

    Newcomer
    1
    May 3, 2019
    United States
    So does mupen64 work fine through retroarch? If it does, what is the code to get retroarch? I know that the install guides has a piece of code for retroarch but that is outdated (at least I don't know if it is).
     
  15. Refriger8tor

    Refriger8tor GBAtemp Regular

    Member
    3
    Sep 2, 2013
    United States
    A kitchen near you.
    If you haven't already flashed an image you can grab mine with retroarch and other emus already installed on my thread. Otherwise those instructions should be fine but keep in mind it's the experimental nightly retroarch so it might not always work.
     
  16. Drban789

    Drban789 Advanced Member

    Newcomer
    3
    Jun 28, 2018
    United Kingdom
    hello again fridgy, on your ubunti build how do i add 1.3.1 and further updates? Do i just put it in the fat 32 section?
     
  17. Refriger8tor

    Refriger8tor GBAtemp Regular

    Member
    3
    Sep 2, 2013
    United States
    A kitchen near you.
    1.3.1 is preinstalled, you're good to go!
     
  18. Gameboyandwatch

    Gameboyandwatch GBAtemp Regular

    Member
    3
    May 13, 2016
    United States
    Can this mess up my battery or break my screen? I heard somewhere that it could do that.
     
  19. globalc

    globalc Member

    Newcomer
    1
    Jun 14, 2019
    Japan
    You will probably not get any guarantees, but so far I did not spot any reports of unrecoverable battery or screen issues due to L4T.
     
  20. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    6
    Mar 13, 2015
    Austria
    Austria
    This was with the very first Linux version that came out, it doesn't happen anymore now. Only thing it derps up is the time but that'll correct itself again once you boot back into Horizon OS since it grabs that over the internet.
     
Loading...