Live data from Hacker News

Ubuntu 20.04 LTS (Focal Fossa)

wiki.ubuntu.com

321–330 of 394 posts

Re: Ubuntu 20.04 LTS (Focal Fossa)

#321
post #34
post #4

Earlier quoted context omitted.

"It looks like deb files only can be installed via the terminal." There's another way?

Even as a Windows guy, I was wondering: Why would you use anything else than the terminal? When you understand deb packages then you only want the terminal. Everyone else, will want to use a UI and will have no idea what a deb file is.

For me the struggle is: is the package called libcairo-devel, libcairo2-dev, cairo-dev or something else, i hate running a search everytime

Re: Ubuntu 20.04 LTS (Focal Fossa)

#322

Earlier quoted context omitted.

Sorry I’m not adding anything to the conversation here, but have they removed that strange ‘swipe-up to login’ gesture at the start screen?

I don't believe my 19.04 login manager does that. I do recall that being annoying because my first keystroke would actually just move that up. Now it starts up to the user list by default.

I'm still on 18.04, and it doesn't do it. I remember it in an older version though.

Re: Ubuntu 20.04 LTS (Focal Fossa)

#323

Earlier quoted context omitted.

Does the Nvidia chip drive the display directly? I think you also have an Intel GPU that drives the display, the Nvidia GPU will only be used to offload rendering. I don't know how it is implemented, but from my understanding, as long as the Intel chiip does the scaling you should be fine.

If you only ever want to use the laptop's screen then you can indeed run the X1E on the intel gpu only. Unfortunately the display ports are hardwired to the discrete gpu so you need run the nvidia chip in that case.

Confirming this. When I bought X1E it was a pain to get 18.04 working. But 18.04 on this device was for me the worst Linux experience since the 90s :-( It is probably because of Nvidia, but I blame Gnome too - the latency got worse than 20 years ago. I just want to be able to type on the terminal and have a browser.

Am now to leave Ubuntu, that I used for the last 15 years or so. Thanks for helping me out that long. Going to NixOS and hope it will make my life easier, even if the start is more involved.

Re: Ubuntu 20.04 LTS (Focal Fossa)

#324
post #290

Earlier quoted context omitted.

> The only 'con' is the pushing of Snap packages. It looks like deb files only can be installed via the terminal. My main concern with Snap is security. Using the default Ubuntu Apt repositories, I can `apt install` pretty much anything I want and it's almost guaranteed to not be malicious/dangerous, as only trusted/well-established developers can get their package into the Apt repos. However, with Snap, everybody in…

The amount of cases for malicious snaps was about 1 with the cryptominer that was addressed within 3 days. Those snaps that are published go through static analysis and unless manually vetted will not have access to the rest of your system. You install it, at worst it will cryptomine that is it. Oh and you can remove it completely with all traces unlike deb equivalents. Snaps come with a tick against verified snaps c…

I was specifically talking about the default, trusted Ubuntu Apt repositories, not custom PPAs which are of course inherently untrusted.

> You install it, at worst it will cryptomine that is it.

If that happens then I have no choice but to assume a full system compromise and nuke my machine. It's not a risk I'm willing to take, as there's essentially no way to definitively prove that that's all the malicious Snap was doing.

> Oh and you can remove it completely with all traces unlike deb equivalents.

Snap sandboxing is rarely utilised in a meaningful way, and the permissions for a particular app are controlled by the author by default. In most cases there's nothing explicitly preventing a malicious Snap from gaining persistence even after it is removed.

In other words, Snap sandboxing is in no way comparable to a 'proper' solution like a well-configured Firejail or a VM.

Re: Ubuntu 20.04 LTS (Focal Fossa)

#325
post #290

Earlier quoted context omitted.

The amount of cases for malicious snaps was about 1 with the cryptominer that was addressed within 3 days. Those snaps that are published go through static analysis and unless manually vetted will not have access to the rest of your system. You install it, at worst it will cryptomine that is it. Oh and you can remove it completely with all traces unlike deb equivalents. Snaps come with a tick against verified snaps c…

I don't know much about the Snap system - regarding 3rd parties and the "tick", is this using domain verification, or some other means? Do 3rd parties have to pay for this? I read something the other day about needing to pay Canonical $15k/y for a branded Snap store, but I'm not sure if that was about private stores, this, or something else.

Another point is that when installing Snap packages from the command-line, the verification tick only appears after the install has finished, by which point it is already too late.

You can view package info prior to installing, but if we're talking about a typosquatting issue here, that doesn't really help.

Re: Ubuntu 20.04 LTS (Focal Fossa)

#326

For a long time I've been using Lubuntu on my laptop. However, a couple of years ago they changed focus and From wikipedia: Lubuntu was originally touted as being "lighter, less resource hungry and more energy-efficient", but now aims to be "a functional yet modular distribution focused on getting out of the way and letting users use their computer" I stopped updating my OS since (I'm on 14). Does anyone care to sugg…

> Does anyone care to suggest an ubuntu-like distribution for someone like me who wants their OS light? What about Debian? You staying on 14.04 for so long surely means that the slightly slower moving Debian stable is not an issue for you. It supports lots of window managers. I'm using i3 with a simple xinitrc here, but also XFCE or LXDE are available. You can install it very very lightweight and as Ubuntu bases of D…

If you don't mind me asking a follow up:

How behind Ubuntu is Debian, and where can I read this information myself (i.e. is there an official list by either the Debian or the Ubuntu people that says "here's all the stuff that the latest stable Debian is missing from the latest stable Ubuntu"?)

Re: Ubuntu 20.04 LTS (Focal Fossa)

#327

Earlier quoted context omitted.

It's the best Ubuntu-based distro for desktop use!

how well does workspaces work? are they at all close to workspaces on mac?

I hate to say it, but I don't use workspaces. I use a number of window management keyboard shortcuts in place of it.

Re: Ubuntu 20.04 LTS (Focal Fossa)

#328

For a long time I've been using Lubuntu on my laptop. However, a couple of years ago they changed focus and From wikipedia: Lubuntu was originally touted as being "lighter, less resource hungry and more energy-efficient", but now aims to be "a functional yet modular distribution focused on getting out of the way and letting users use their computer" I stopped updating my OS since (I'm on 14). Does anyone care to sugg…

[deleted]

Re: Ubuntu 20.04 LTS (Focal Fossa)

#329
post #91
post #79

Earlier quoted context omitted.

It's still work in progress but snaps genuinely make packaging easier. There are rough edges, especially on the desktop, but those are all being worked on, in collaboration with flatpak actually. It will take a while but in the future it will not be any worse at runtime and it will be much, much easier to package and run apps across releases and OSes

Ubuntu had the calculator as a snap! What's the idea with that? It suddenly took 2 secs to load and uses load of memory... I dont care packaging got easier. I care for a smooth working system I can understand and instrument, and that does not hog resources.

Do you know why, technically, being packaged as a snap would increase start time and memory usage?

Re: Ubuntu 20.04 LTS (Focal Fossa)

#330

For a long time I've been using Lubuntu on my laptop. However, a couple of years ago they changed focus and From wikipedia: Lubuntu was originally touted as being "lighter, less resource hungry and more energy-efficient", but now aims to be "a functional yet modular distribution focused on getting out of the way and letting users use their computer" I stopped updating my OS since (I'm on 14). Does anyone care to sugg…

I was very impressed with Linux Lite. The name is terrible, but the distro has worked great. It uses the Ubuntu 18.04 standard apt repos. Since I replaced the kernel, my presumption is most of the benefit is just selecting a smaller subset of default packages to install.

https://www.linuxliteos.com/

Installation on a machine with 2Gb RAM resulted in a system that works just fine, for running scripts, compiling medium-sized projects, running web browsers, media playback, etc -- all on a credit-card sized machine.

The desktop is based on XFCE. The post-installation steps I took are listed below.

    # emable swap to compressed RAM
    sudo apt-get install zram-config
    
    # log to RAM for speed, less wear on eMMC
    echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
    wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
    apt update
    apt install log2ram
    
    # remove icon generator that hogs machine
    sudo apt remove --purge tumbler
    
    # remove powerline garbage
    sudo apt remove --purge powerline
    
    
    # Liquorix kernel, see https://liquorix.net/
    sudo add-apt-repository ppa:damentz/liquorix && sudo apt-get update
    sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64
    ## NEEDS linux-firmware from focal distro
    ## see https://packages.ubuntu.com/focal/all/linux-firmware/download 
    ## for latest link
    wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.187_all.deb
    sudo dpkg -i  linux-firmware_1.187_all.deb
    rm linux-firmware_1.187_all.deb
    
    sudo apt install powertop iotop
    
    # fix font rendering
    cat  ~/.fonts.conf
    
    
       false
    
    EOF
    
    
    # remove spectre mitigations, make computer fast again
    sudo perl -pi.bk -e 's|splash"|splash mitigations=off"|' /etc/default/grub
    sudo update-grub
    
    # disable and completely remove AppArmor and snapd
    # https://www.simplified.guide/ubuntu/remove-apparmor
    sudo systemctl stop apparmor
    sudo systemctl disable apparmor
    sudo apt remove --purge apparmor snapd
    
    
    # suppress this language related updates from apt-get
    echo 'Acquire::Languages "none";' | sudo  tee -a /etc/apt/apt.conf.d/00aptitude
    
    # remove irqbalance 
    # see https://github.com/konkor/cpufreq/issues/48
    sudo apt remove --purge irqbalance
Post reply on HN