See https://www.build-business-websites.co.uk/set-path-environment-variable-windows-powershell/
(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
To copy the contents into $theCurrentPath
$theCurrentPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
Easier:
PS C:\Users\marce> $juliaFolder = "C:\Users\marce\AppData\Local\Julia-1.1.1\bin"
PS C:\Users\marce> $env:path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Git\cmd;C:\Users\marce\AppData\Local\Microsoft\WindowsApps;C:\Users\marce\AppData\Local\atom\bin
PS C:\Users\marce> $env:Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Git\cmd;C:\Users\marce\AppData\Local\Microsoft\WindowsApps;C:\Users\marce\AppData\Local\atom\bin
PS C:\Users\marce> $env:Path = $env:Path + ";" + $juliaFolder
PS C:\Users\marce> $env:Path
https://codingbee.net/powershell/powershell-make-a-permanent-change-to-the-path-environment-variable
https://help.github.com/en/articles/caching-your-github-password-in-git
http://technivore.org/posts/2016/02/27/windows-jupyter-three-ways.html
http://www.calvin.edu/~sld33/InstallPython.html
https://stackoverflow.com/questions/37117571/where-does-anaconda-python-install-on-windows
-
the key ` has to be pressed twice to make it appear. Wih eg. the UK distribution it appears when it is pressed only once (as intended), however, the keyboard distribution does no longer respect the printed keys in the laptop.. press WIN + space key to change key distribution. i use "teclado latinoamerica" and "teclado estados unidos"
-
the headsets are not working. it was fixed by downloading and installing the appropriate drives (needs 3 reboots in total). see
-
random freeing of the mouse
- https://manjaro.org/support/firststeps/#making-a-live-system
- https://wiki.archlinux.org/index.php/Dell_XPS_15_9560
- https://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/
- https://www.reddit.com/r/archlinux/comments/9s4osp/everything_is_too_small_on_my_4k_monitor/
- https://wiki.archlinux.org/index.php/HiDPI#Multiple_displays
- https://forum.manjaro.org/t/hidpi-scaling-and-fonts/88181
- https://gitlab.com/cscs/hidpify/blob/master/hidpify.sh
- https://system76.com/pop
- https://www.reddit.com/r/pop_os/comments/973if2/pop_os_1804_and_dell_xps_15_9570/
- https://docs.fedoraproject.org/en-US/quick-docs/switching-desktop-environments/
- https://extensions.gnome.org/extension/1253/extended-gestures/
- https://www.reddit.com/r/Fedora/comments/a0cvn6/is_it_possible_to_disable_tablet_mode_on_a_2in1/
- https://unix.stackexchange.com/questions/108368/how-to-disable-onboard-on-screen-keyboard-that-automatically-starts-when-i-log#comment-422829
- https://unix.stackexchange.com/questions/408038/how-to-disable-the-on-screen-keyboard-when-i-use-the-touch-screen
- https://tecadmin.net/install-atom-text-editor-on-fedora/
- in particular i installed the following plug-ins: latex extensions, julia extension, platformio terminal, and markdown preview plus.
- i installed TexStudio using the Software manager
- https://github.com/texstudio-org/texstudio
$ dnf install 'tex(datatool.sty)'
sudo dnf -y install texlive
texlive-latex
texlive-xetex
texlive-collection-latex
texlive-collection-latexrecommended
texlive-xetex-def
texlive-collection-xetex
- i have to use the screen keyboard to log in; the touchpad and the keyboard are not responsive. they become responsive after physically rotating the laptop and putting back into its normal position.
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1822394
- when the machine is closed, after a while it won't work and one has to reboot it by pressing the Power button for several seconds..
- seemingly related: https://lwn.net/Articles/764841/
- https://www.reddit.com/r/Fedora/comments/9twrhe/upgraded_to_29_and_dnscryptclient_was_broken/e917ial/ in particular i ran
$ sudo dnf update selinux-policy --enablerepo=updates-testing
- https://www.reddit.com/r/Fedora/comments/9um36e/broken_suspendresume_on_fedora_29/
sudo systemctl disable iio-sensor-proxy --now
- from https://www.reddit.com/r/Fedora/comments/a0cvn6/is_it_possible_to_disable_tablet_mode_on_a_2in1/
- to enable do
sudo systemctl enable iio-sensor-proxy --now
- https://fedora-scientific.readthedocs.io/en/latest/R_programming.html
- https://irkernel.github.io/installation/
- https://blog.mclaughlinsoftware.com/2018/04/14/fedora-r-install/
- i cant change the resolution of an external display
- https://unix.stackexchange.com/questions/292714/bad-resolution-on-second-monitor-fedora-24
- https://bugs.freedesktop.org/show_bug.cgi?id=90735
- https://bugzilla.redhat.com/show_bug.cgi?id=1674303
- https://github.com/JuliaGL/GLVisualize.jl#documentation
$ sudo dnf install mesa-libGL-devel
$ sudo dnf install xorg-x11-server-devel
# fix:
sudo rmmod i2c_hid
sudo modprobe i2c_hid
# permanent:
echo 'if [ "$1" = "post" ] && exec rmmod i2c_hid ; modprobe i2c_hid' > /usr/lib/systemd/system-sleep/touchpad-fix.sh
chmod +x /usr/lib/systemd/system-sleep/touchpad-fix.sh
pkill -KILL gnome-software
rm -rf ~/.cache/gnome-software
Alternative way to setting Windows PowerShell environment variables:
1.- Run PowerShell as administrator
2.- From the PowerShell prompt, do:
setx PATH "$env:path;C:\Users\Daniel\AppData\Local\Julia-1.1.1\bin" -m
A SUCCESS message should appear
3.- Restart PowerShell