L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Join our discord: https://discord.gg/53mtKYt

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

Credits

Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,387
Country
Norway
do i need to download and extract both 1.1 and 1.2 update?
The OP tells you to delete the boot folder and boot.src when you install the 1.2 update; if I recall correctly, that file and folder are the only files in the v1.1 update. So no, you probably don't need to install both, only the latest
 

Deathscreton

Well-Known Member
Member
Joined
Oct 1, 2009
Messages
826
Trophies
0
XP
1,092
Country
United States
Ubuntu on the Switch just seems slow overall. It would take seconds to get things to load, using RDP was insanely unstable and wouldn't stay connected, opening windows meant sitting there for 30 seconds just waiting for things to open up. Got this issue on multiple SD cards (or at least the ones that would properly boot).
 

Akira

I'm not a SHRIMP!!!!
Member
Joined
Apr 28, 2013
Messages
1,246
Trophies
0
XP
1,666
Country
United States
my chromium browser icon looks like a text file and if i open it, it opens gedit, can anyone help me how to fix it? i want to browser the internet
 

LilBroomstick

New Member
Newbie
Joined
May 20, 2019
Messages
4
Trophies
0
Age
23
XP
93
Country
Netherlands
Idk it worked perfectly with firefox on my switch, idk if a wireless mouse would work. btw if you want to use a mouse use the joycons you can connect them with bluetooth
 

CalcProgrammer1

Member
Newcomer
Joined
May 4, 2019
Messages
19
Trophies
0
Age
34
XP
147
Country
United States
Where's the option to have the screen on while docked?
You can install nvidia-settings and enable the built in display while docked through the display configuration. You can use the internal display and external display simultaneously just like on a regular PC. I have a 3rd party dock stand that angles the screen up for use rather than hiding the screen, works great for dual screen mode.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Where's the option to have the screen on while docked?

You can install nvidia-settings and enable the built in display while docked through the display configuration. You can use the internal display and external display simultaneously just like on a regular PC. I have a 3rd party dock stand that angles the screen up for use rather than hiding the screen, works great for dual screen mode.

This is handled by udev, which detects the state of the dock connection, then calls a script called dock-handler. the easiest way to change this would be to modify the dock-handler script that is supplied with L4T-ubuntu, so that when you are on the dock, it doesnt turn off the screen, and then extends the screen to the HDMI port. Look into xrandr command for details on how to script what you want into the pre-existing script. This is a better option than Nvidia-settings, as this will be automatic the moment you drop it on the dock, where Nvidia-settings you will have to set this up each time you want to extend the screen on the dock, as UDEV will cancel out nvidia-settings.
 
Last edited by Gavin_Darkglider,

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,907
Trophies
1
Website
youtube.com
XP
5,991
Country
Australia
This is handled by udev, which detects the state of the dock connection, then calls a script called dock-handler. the easiest way to change this would be to modify the dock-handler script that is supplied with L4T-ubuntu, so that when you are on the dock, it doesnt turn off the screen, and then extends the screen to the HDMI port. Look into xrandr command for details on how to script what you want into the pre-existing script. This is a better option than Nvidia-settings, as this will be automatic the moment you drop it on the dock, where Nvidia-settings you will have to set this up each time you want to extend the screen on the dock, as UDEV will cancel out nvidia-settings.

Any tips how to do this?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,803
Trophies
1
Age
44
XP
6,575
Country
Germany
Just for the lazy: Is there a way to do this without formatting the SD card and having to copy everything from my FAT32 partition to the PC first and back to SD card afterwards?
Like just resizing my FAT32 partition, adding an EXT4 (or whatever needed) and put the files from the IMG there?
 

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,387
Country
Norway
Just for the lazy: Is there a way to do this without formatting the SD card and having to copy everything from my FAT32 partition to the PC first and back to SD card afterwards?
Like just resizing my FAT32 partition, adding an EXT4 (or whatever needed) and put the files from the IMG there?
I think someone installed it like that earlier in the thread, so it should work
 
  • Like
Reactions: lordelan

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
Anyone else having the time of their lives with the touch screen? It seems like my hacked Switch (both have screen protectors, btw) is having a very hard time with navigating and using Ubuntu via touchscreen. Is everyone using USB-A to USB-C hubs with some converter to use a M/KB to navigate through this right now? Because I'm trying to pair my Joy-Cons and the touchscreen is doing nothing right now. I haven't installed any of the updates yet as I'm just trying to do the initial setup here before I get into the nitty gritty.
 

LeMageFro

Well-Known Member
Member
Joined
Mar 29, 2018
Messages
215
Trophies
0
XP
1,396
Country
France
Anyone else having the time of their lives with the touch screen? It seems like my hacked Switch (both have screen protectors, btw) is having a very hard time with navigating and using Ubuntu via touchscreen. Is everyone using USB-A to USB-C hubs with some converter to use a M/KB to navigate through this right now? Because I'm trying to pair my Joy-Cons and the touchscreen is doing nothing right now. I haven't installed any of the updates yet as I'm just trying to do the initial setup here before I get into the nitty gritty.
Yeah I have a bad time with the touch screen as well, to access the bluetooth settings from the top bar you need to press a bit above the screen, at least for me. What you can also do is lock the bluetooth settings to the side bar, this way they are way easier to access with the touch screen, and from there you can pair your joycons and then use them as a mouse. (For whatever reason I almost always need to repair my joycons when I reboot Ubuntu.)
Ho and I don't think you need to do the initial setup before installing the updates.
 
  • Like
Reactions: galaxior

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Materia_tofu @ Materia_tofu: hey sylv? do you know why gameyob crashes on the EZP?