PINE64
Installing VS Code (& Chromium) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Linux on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=79)
+--- Thread: Installing VS Code (& Chromium) (/showthread.php?tid=4491)

Pages: 1 2 3


RE: Installing VS Code (& Chromium) - ayufan - 05-12-2017

pfeerick: you are correct, it is missing chromium install commit Smile


RE: Installing VS Code (& Chromium) - Luke - 05-13-2017

These settings considerably improve chromium performance- please test them out and offer feedback.

In chromium searchbar type: Chrome://flags
Set the following:

Experimental canvas features - enable
Smooth Scrolling - disable
Number of raster threads - 4
Memory ablation experiment - enable (or 100mb - try both)

If this improves the performance for others, Prophesi would you please include these flags in your first post please ?


RE: Installing VS Code (& Chromium) - pfeerick - 05-13-2017

(05-13-2017, 07:53 AM)Luke Wrote: These settings considerably improve chromium performance- please test them out and offer feedback.

In chromium searchbar type: Chrome://flags
Set the following:

Experimental canvas features - enable
Smooth Scrolling - disable
Number of raster threads - 4
Memory ablation experiment - enable (or 100mb - try both)

If this improves the performance for others, Prophesi would you please include these flags in your first post please ?

I recommend the smooth scrolling be disabled by default if possible... smooth graphics is not a strong point of the pinebook... so any unnecessary screen updates we can get rid of the better. It looks like --disable-smooth-scrolling is the command line flag for that, so it could be added to the /etc/chromium-browser/defaults file as part of the image?

Hard to tell the impact of the other settings... it seems a bit quicker, but it could be mind over matter. I wasn't able to enable the memory ablation flag as it hasn't available in my build.

This will be handy reference to keep in mind when playing with the chromium flags: List of Chromium Command Line Switches


RE: Installing VS Code (& Chromium) - longsleep - 05-14-2017

I suggest to use

Code:
cat > "/etc/chromium-browser/default" <<EOF
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="\
--disable-smooth-scrolling \
--disable-low-res-tiling \
--enable-low-end-device-mode \
--num-raster-threads=4 \
--profiler-timing=0 \
--disable-composited-antialiasing \
"
EOF

Those settings have been added to the desktop installer in https://github.com/longsleep/build-pine64-image/commit/343e0196fcbf3348e4682b18dcf729d56135feef

Also useful is the "No MouseWheel Zoom" https://chrome.google.com/webstore/detail/no-mousewheel-zoom/ckhlfagjncfmdieecfekjbpnnaekhlhd extension to get rid of the zoom when two finger scrolling.

Make sure to restart chromium after installing the extension of changing the commandline flags.


RE: Installing VS Code (&amp; Chromium) - soupbowl - 06-20-2017

Thanks for the guide on installing VS Code! I love that text editor over the others.

However, I can't seem to get it to install even after the instructions. Running it via console, I get the following error.

/usr/share/code-oss/code-oss: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Doesn't seem like libgtk-x11 is in the common repositories. Any ideas?


RE: Installing VS Code (& Chromium) - xalius - 06-20-2017

https://packages.ubuntu.com/search?searchon=contents&keywords=libgtk-x11-2.0.so.0&mode=exactfilename&suite=xenial&arch=any says it is in this package https://packages.ubuntu.com/xenial/libgtk2.0-0

Make sure to install the armhf version... apt install libgtk2.0-0:armhf


RE: Installing VS Code (& Chromium) - pfeerick - 06-21-2017

You might also want to do the following also if armhf architecture isn't already enabled... might help apt auto-switch on it's own if needed Wink

sudo dpkg --add-architecture armhf
sudo apt update



RE: Installing VS Code (& Chromium) - brentashley - 06-26-2017

Thanks so much to Prophesi for these VS Code instructions.  Just what I was looking for!
 - Brent -


RE: Installing VS Code (& Chromium) - DigitalStefan - 08-23-2017

Not being the most knowledgable Linux user, is the recently (within past 2 months) released arm64 version -
code-oss_1.14.0-1497990006_arm64.deb available at https://packagecloud.io/headmelted/codebuilds not installable on Pinebook?

I've tried, but encounter the same error mentioned by Soupbowl above.


RE: Installing VS Code (&amp; Chromium) - joekinley - 08-27-2017

I didn't have the same errors, but I had a lot of errors down the road, like having to do a scary "apt-get -f update" at some point forcing me to manually write "Yes, do as I say." before it completely broke my system...
So any news on newest howtos?