Closed szcf-weiya closed 2 years ago
$ sudo dpkg -i rstudio-1.3.1093-amd64.deb
Selecting previously unselected package rstudio.
(Reading database ... 346079 files and directories currently installed.)
Preparing to unpack rstudio-1.3.1093-amd64.deb ...
Unpacking rstudio (1.3.1093) ...
dpkg: dependency problems prevent configuration of rstudio:
rstudio depends on libclang-dev; however:
Package libclang-dev is not installed.
dpkg: error processing package rstudio (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
rstudio
then
$ sudo apt install libclang-dev
$ sudo apt --fix-broken install
then it still reports
$ rstudio
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Aborted (core dumped)
wow, after rebooting in #26 , then reinstall
sudo dpkg -i rstudio-1.4.1106-amd64.deb
and now it is OK.
When I click the button to open in browser, the baidunetdisk pops up instead of google chrome.
Then I found this https://askubuntu.com/questions/808488/okular-and-other-applications-open-html-links-in-wrong-application,
and I tried to search KDE
, and there indeed exists a "KDE System Setting", and I found that
baidunetdisk
ranks 2nd. Then I tried to remove it from the list, and then the link would appear in chrome!
But I am curious why the second one (baidunetdisk) would be the preferred one.