NULL

L4T Ubuntu - A fully featured linux on your switch

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

  1. LeMageFro

    LeMageFro Advanced Member

    Newcomer
    3
    Mar 29, 2018
    France
    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.
     
    galaxior likes this.
  2. Silent_Gunner

    Silent_Gunner GBAtemp Fan

    Member
    4
    Feb 16, 2017
    United States
    I saw some people tried using a M/KB with the USB port in the dock. I'm gonna give that a go next. I'm just setting up my SD card for this right now so that, when I put it on my TV and hopefully my devices work (what with this being Linux and all), I can do everything, terminal or not, on there.
     
  3. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    9
    Oct 16, 2017
    Australia
    I was using joycons as the mouse and touch screen keyboard, now I'm using usb keyboard and mouse in the dock and it;s amazing
     
    lordelan likes this.
  4. stick267

    stick267 GBAtemp Fan

    Member
    4
    Dec 17, 2018
    United States
    If you reboot into Horizon (stock Switch OS) after Ubuntu, your Joycons automatically get paired. So then when you reboot back into Ubuntu, you'll have to re-pair because your Joycons only "remember" one connection. If you don't boot back into Horizon, I've found that pressing buttons on the Joycons while Ubuntu is loading sometimes auto-pairs them. But it's hit or miss.

    Keyboard/mouse with regular USB work perfectly while connected to the dock. I've found that if you're trying to pair your Joycons while using the touch screen it's better to go into the Bluetooth settings and delete/completely re-pair them. Trying to hit the "ON" toggle from the Bluetooth quick menu with touch is impossible.
     
    Refriger8tor likes this.
  5. domiNATE7

    domiNATE7 Newbie

    Newcomer
    1
    May 21, 2019
    United States
    I was wondering, Iis the screen supposed to be sideways? When I boot the Payload, the setup is sideways, and the onscreen keyboard won't pop up... Is there any way to fix this?
     
  6. Deathscreton

    Deathscreton GBAtemp Advanced Fan

    Member
    7
    Oct 1, 2009
    United States
    Are you booting into Unity or another DE?

    I get that too. Everytime I reboot Ubuntu, I have to re-pair them as well. Only happens with the joycon. My bluetooth mouse reconnects with no issues.
     
    Last edited by Deathscreton, May 21, 2019
  7. ZeroFX

    ZeroFX GBAtemp Regular

    Member
    3
    Jun 18, 2018
    United Kingdom
    You can enable full or compact keyboards on the virtual keyboard config. Then you'll have the super key.
     
  8. domiNATE7

    domiNATE7 Newbie

    Newcomer
    1
    May 21, 2019
    United States
    Idk, I just boot from hekate, and I can't even complete the setup... Any tips?

    I have no idea what to do...
     
    Last edited by domiNATE7, May 21, 2019
  9. megamanxx

    megamanxx Member

    Newcomer
    2
    Jul 30, 2017
    Spain
    Does this only work by connecting the dongle directly to the Switch or also work by connecting the dongle to any USB port of the Dock?

    Thanks.
     
    Last edited by megamanxx, May 21, 2019
  10. domiNATE7

    domiNATE7 Newbie

    Newcomer
    1
    May 21, 2019
    United States
    Sorry but, I have no idea what you mean, pretty new to the switch hacking scene, but I know my stuff, but why is the screen sideways? Idk what to do
     
  11. Deathscreton

    Deathscreton GBAtemp Advanced Fan

    Member
    7
    Oct 1, 2009
    United States
    Unity is the name of the Ubuntu desktop environment (DE). If you're talking about during the setup phase (after you first burn the image to the SD card), then that happened to me as well. Just continue setting it up and eventually, it'll straighten itself out.
     
  12. domiNATE7

    domiNATE7 Newbie

    Newcomer
    1
    May 21, 2019
    United States
    Yeah I tried, but i guess I need to get a USB keyboard then, since the onscreen keyboard just won't pop up. I'll look into it, thanks!
     
  13. Deathscreton

    Deathscreton GBAtemp Advanced Fan

    Member
    7
    Oct 1, 2009
    United States
    Are there any other performance tricks I can apply to the Switch (i've done the 2.0GHz overclock (though I don't think that's permanent and may need to be done everytime I boot), the SWAP file for 2gigs, and nothing else performance wise)? Often, Ubuntu will either stop opening applications, lock a core to 100% or just not respond to clicks (not frozen as my BT mouse can still click, move, explore, etc.). Sometimes, the touch screen will cease to function and I have to use my mouse, during this, applications will flash liek they're trying to open, but then just won't. If I look in the System Monitor, I'll see them sitting there not doing any work.
     
  14. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23
    Nov 21, 2005
    United Kingdom
    You can set various priorities on things. As far as swap goes then there is a command called swappiness that determines how often the swap is used/has things chucked to it. https://www.howtoforge.com/tutorial/linux-swappiness/ . These days most people optimise it to reduce writes to their SSD but play it as you will.

    You might also see about lower powered desktop environment (XFCE is still pretty full featured, though there are even more stripped out ones like LXDE), though looking at these last few pages it seems people are having trouble with some of those.

    Beyond that you might have to get back to more aggressive computer management yourself -- actually closing things down and all that rather than just minimising if you have got used to that in recent years.
     
    Deathscreton likes this.
  15. stick267

    stick267 GBAtemp Fan

    Member
    4
    Dec 17, 2018
    United States
    I’ve seen a few people say that the cinnamon desktop environment is less demanding. I haven’t used it myself though.
     
  16. Csmrcc

    Csmrcc GBAtemp Regular

    Member
    3
    Sep 13, 2018
    Spain
    hi guys, some caritative soul would be so kind as to share (maybe via PM) their lakka folders?
    as it seem that for the people who cant make it work right seems the only solution :(
    thank you
     
  17. Liv2MsTrb8T

    Liv2MsTrb8T Advanced Member

    Newcomer
    2
    Aug 18, 2009
    United States
    Columbus Ohio


    XFCE/LXDE are lovely.
    LXDE has the quickest boot. (instant for me)

    Both of them have issues rotating the touch coordinates to match the screen making it really annoying to use.
     
  18. Deathscreton

    Deathscreton GBAtemp Advanced Fan

    Member
    7
    Oct 1, 2009
    United States
    I've used XFCE, but I can't seem to configure bluetooth with that DE (joycons disconnect on reboot) as the DE doesn't seem to feature a program to do so. I haven't found an application to replace it yet.

    OFFTOPIC: How do I enable USB Mass Storage? I've been trying to find an easy way to move items besides using FTP and I saw that L4T Ubuntu actually had USB enabled in 1.1 (I'm on 1.2 atm, I also tried Linux File System for Windows by Paragon, but any files I move to the SD card vanish when I boot up Ubuntu, not sure what's going on there.).
     
  19. Silent_Gunner

    Silent_Gunner GBAtemp Fan

    Member
    4
    Feb 16, 2017
    United States
    OK, so I've been struggling to get my games onto a separate spare SD card I got for Ubuntu on the Switch. I tried plugging it in via a hub connected to the USB-A port on the Switch dock, doesn't detect my flash drive. I'm trying an OTG adapter right now, and that doesn't work!

    This wouldn't be such a problem if you could just copy the files onto the partition of the micro SD card for Ubuntu that you use for storage, but every time I did that, it just reverted to whatever was on the partition while it was on Ubuntu. Like, if I create a "roms" folder in the RetroArch installation while in Ubuntu, it's A-OK and will remain there. If I do that on my main Windows 10 PC, and then try it on Ubuntu, it's like I never copied anything to the partition in the first place. I wasted so much time trying to copy so much onto an SD card only to find out that it was rendered null and void just because I didn't do it on Ubuntu on my Switch!

    EDIT: I don't know what the fuck I did differently, but I just went to dock the Switch twice because the graphics got all fuzzy (like it wasn't being output at the right resolution?) and suddenly, lo and behold, it detects my flash drive!
     
    Last edited by Silent_Gunner, May 22, 2019
  20. BlackTSQ

    BlackTSQ Advanced Member

    Newcomer
    2
    Oct 9, 2018
    Austria
    Should work fine when connected to the dock ;)
     
    megamanxx likes this.
Loading...