Home My new laptop!
Post
Cancel

My new laptop!

Issues out of the box

  1. Secondary battery not charging (https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T-series-Laptops/T480-Does-not-switch-to-secondary-battery-turns-off-unexpectedly-Win10/m-p/4398417)
  2. Windows update issue, hardware https://support.lenovo.com/us/en/solutions/ht071034-windows-setup-could-not-configure-windows-on-this-computers-hardware-installation-error-on-a-windows-7-based-or-a-windows-server-2008-r2-based-computer
  3. Screw retainer

Hardware upgrades

RAM

i7-8550U 1.8 GHz 4.0 GHz 8MB DDR4-2400 This is easy, I just need a DDR4-2400 RAM, but since it came with Ra

M.2 NVME SSD

From platform specification file

1
2
3
4
5
6
7
8
9
Storage
System has one HDD slot or one M.2 2280 slot exclusively for storage
**Some:HDD / SATA 6.0Gb/s, 2.5" wide, 7mm high,Active Protection System**👈 mine
Some:SSD / SATA 6.0Gb/s, 2.5" wide, 7mm high (e.g. xxxGB SSD)
Some:M.2 SSD / PCIe NVMe, PCIe 3.0 x 2, 16Gb/s
Some:128GB M.2 SSD / PCIe NVMe, PCIe 3.0 x 2, 16Gb/s, in WWAN slot as 2nd Storage, mutually exclusive with WWAN

Optane memory Optical
Optional: Intel Optane memory, PCIe NVMe, PCIe 3.0 x 2None

Supported up to PCIe 3.0 x2, so even though it’s backwards compatible, it would be a waste of money.

List of compatible 2242 SSD as stated on the product -> parts -> compatible page

1
2
3
4
5
128G,M.2,2242,PCIe3x2,WD
SOLID STATE DRIVES

128G, M.2, 2242, PCIe 3x2, TOS
SOLID STATE DRIVES

hardware maintenance manual screenshot

More examples of user-tested compatibility

More about M.2 SSDs

https://www.atpinc.com/blog/what-is-m.2-M-B-BM-key-socket-3 https://www.snia.org/sites/default/files/SSSI%20M%202%20Webcast%20Slides%20v10fnl.pdf

Form factor

Card nomenclature is as follow E.G.: “TYPE 2242-D2-B-M”This indicates a 22x42mm card, double-sided, with keys in the B and M positions (can fit B or M connector!)

See this WD full specs sheet for more examples.

Different types of keys are reserved for different functions (see slide 17 of the SINA webcast). If the card is a B key, then it will have a notch at the 12-19th pin out of 75. https://en.wikipedia.org/wiki/File:M2_Edge_Connector_Keying.svg

Peripheral component interconnect express (PCIe) 3.0 x2 means the third generation of PCIe with 2 lanes. What are the other lanes used for? (I will add this when I find that post again
)

Git authentication

VScode versions for Arch based systems https://wiki.archlinux.org/index.php/Visual_Studio_Code

personal access token https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token

VScodium login, you need to manually change the link https://github.com/VSCodium/vscodium/issues/401#issuecomment-631502370 for github logging in

https://vscode-auth.github.com/authorize/?callbackUri=vscodium://vscode.github-authentication/
 https://vscode-auth.github.com/authorize/?callbackUri=vscode://vscode.github-authentication/


You will get this error for Manjaro

If you get an error that says they can’t find a file for your credential,

Writing login information to the keychain failed with error ‘No such interface “org.freedesktop.Secret.Collection” on object at path /org/freedesktop/secrets/collection/login’.

install gnome-keyring add to automatically starting https://stackoverflow.com/questions/63107939/visual-studio-code-asking-to-authenticate-default-keyring-everytime-i-start

Restart VScode, do a pull, and it’ll ask for a new password for gnome-keyring if it’s your first time pulling.

Then this should be all set up.

And run https://docs.github.com/en/github/getting-started-with-github/caching-your-github-credentials-in-git

1
git config --global credential.helper 'cache --timeout=2629743'

so that it would remember your password and doesn’t

Before you make your first commit, save your user.name and user.email git config –global user.name “itsme” [alex@t580 obsidians]$ git config –global user.email hello@world.org

it turns out that remote SSH extension refuses to work with any OSS version, and would only work with the branded version of VScode
 https://github.com/VSCodium/vscodium/issues/460 https://github.com/microsoft/vscode-remote-release/issues/1006 https://github.com/microsoft/vscode-remote-release/issues/4087 https://github.com/microsoft/vscode-remote-release/issues/103

remember to disable telementary in your new MS built VS code https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting

Using R on VScode

adding snippets to your VScode

bring up the keyboard shortcut JSON, insert this

// Rstudio like shortcuts { “key”: “ctrl+,”, “command”: “editor.action.insertSnippet”, “when”: “editorTextFocus && editorLangId == ‘r’”, “args”: { “snippet”: “ <- “ } }, { “key”: “ctrl+m”, “command”: “editor.action.insertSnippet”, “when”: “editorTextFocus && editorLangId == ‘r’”, “args”: { “snippet”: “ %>% “ } }, { “key”: “ctrl+i”, “command”: “editor.action.insertSnippet”, “when”: “editorTextFocus && editorLangId == ‘r’”, “args”: { “snippet”: “ %in% “ } },

Zotero

Zotero https://aur.archlinux.org/packages/zotero/ (flatpak version will make your Zotero blind to your MEGA folder)

Megasync

In order to get the files to sync automatically the moment you save a pacman install: megasync (do not use the flatpak version!), dolphin-megasync-git https://mega.io/sync download directly from the MEGA website

Zotfile

https://www.nrel.colostate.edu/set-up-best-reference-manager/

  • set Zotfile source folder, location of files
  • general setting custom data directory

OBS studio

The main program is OBS studio https://archlinux.org/packages/community/x86_64/obs-studio/ however you will need the v4l2loopback to enable sort of a ‘virtual camera’, which essentially is feeding the screen capture + webcam together as a webcam, since Discord does not support direct OBS streaming https://aur.archlinux.org/packages/v4l2loopback-dkms-git/?comments=all It didn’t work for me at first because I forgot to get headers, sudo pacman -S linux-headers

This post is licensed under CC BY 4.0 by the author.