Chrome Remote Desktop settings that make your life easier

Chrome Remote Desktop settings that make your life easier

Settings locations

CRD sources settings from the places listed below:
System-wide settings: /etc/chrome-remote-desktop-session
User settings: ~/.chrome-remote-desktop
Environment variables: CHROME_REMOTE_DESKTOP_HOST_EXTRA_PARAMS

Enable retina and 4K display resolutions.

MBP Intel 15:  2880x1800
MBP Intel 16:  3072x1920
MBP Intel 13:  2560x1600
MBP ARM 14:    3024x1890
MBP ARM 16:    3456x2160
4k:            3840x2160

export CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES=3456x2160,3840x2160 >> ~/.profile

Ubuntu Gnome Desktop

To use Ubuntu Gnome instead of vanilla Gnome add the following to your .profile or .bash_profile

export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg

Use the existing desktop session instead of launching a new one

cd /opt/google/chrome-remote-desktop && sudo cp chrome-remote-desktop chrome-remote-desktop_bak && wget -qO- "https://gist.githubusercontent.com/nightuser/2ec1b91a66ec33ef0a0a67b6c570eb40/raw/b09250dcc9a28f09de93192a948dffb4963c2aca/use_existing_session.patch" | tail -n +5 > use_existing_session.patch && sudo patch -Np1 -i ./use_existing_session.patch && systemctl --user restart chrome-remote-desktop.service

Swap command/control keys in CRD session for mac

With CRD session connected click "configure key mappings" in the menu. Add the following keymaps:

MetaLeft to ControlLeft
MetaRight to ControlRight

Use control keys on Mac but maintain control keys in CRD

Swap your control and command keys on mac:
Settings -> Keyboard -> Keyboard Shortcuts... -> Modifier Keys

With CRD session connected click "configure key mappings" in the menu. Add the following keymaps:

ControlLeft to MetaLeft
ControlRight to MetaLeft
MetaLeft to ControlLeft
MetaRight to ControlRight