文章目录
腾讯会议
问题:
- 检测到窗口系统采用wayland协议,腾讯会议暂不兼容,程序即将退出!
解决办法:
1、修改 wemeetapp.sh 文件
- sudo gedit /opt/wemeet/wemeetapp.sh
if [ "$XDG_SESSION_TYPE" = "wayland" ]
前面加上:-
#force x11 instead of Wayland export XDG_SESSION_TYPE=x11 export EGL_PLATFORM=x11 export QT_QPA_PLATFORM=xcb unset WAYLAND_DISPLAY unset WAYLAND_DISPLAYCOPY
2、修改 custom.conf 文件
-
WaylandEnable=false
install Iron
1、Set locale
-
locale # check for UTF-8 sudo apt update && sudo apt install locales sudo locale-gen en_US en_US.UTF-8 sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 export LANG=en_US.UTF-8 locale # verify settings
2、启用所需的存储库
-
First ensure that the Ubuntu Universe repository is enabled.
-
sudo apt install software-properties-common sudo add-apt-repository universe
-
-
Now add the ROS 2 GPG key with apt.
-
sudo apt update && sudo apt install curl -y sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
-
-
Then add the repository to your sources list.
-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
-
3、安装开发工具(可选)
-
如果您要构建ROS包或以其他方式进行开发,您还可以安装开发工具:
-
sudo apt update && sudo apt install ros-dev-tools
4、install ros2
-
更新 ubuntu
-
sudo apt-get update sudo apt-get upgrade
-
-
Desktop Install (Recommended): ROS, RViz, demos, tutorials.
-
sudo apt install ros-iron-desktop
-
5、Source 环境
-
source /opt/ros/iron/setup.bash
6、uninstall
sudo apt remove ~nros-iron-* && sudo apt autoremove
您可能还想删除存储库:
sudo rm /etc/apt/sources.list.d/ros2.list
sudo apt update
sudo apt autoremove
# Consider upgrading for packages previously shadowed.
sudo apt upgrade