首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Octave主目录的快照权限

Octave主目录的快照权限
EN

Ask Ubuntu用户
提问于 2019-07-16 04:40:47
回答 1查看 3.1K关注 0票数 1

我昨天安装了octave快照,但是当我运行octave时,它没有访问我的$HOME的权限。如何启用权限?

代码语言:javascript
复制
ctaggart@rustasia:~/octave-add$ octave
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

warning: load_path: .: Permission denied
octave:1> ls
ls: cannot open directory '.': Permission denied

在阅读了https://docs.snapcraft.io/interface-management之后,我认为这是可行的:

代码语言:javascript
复制
sudo snap connect octave:home :home
error: cannot resolve connection, slot snap name is empty

快照的详细内容:

代码语言:javascript
复制
ctaggart@rustasia:~/octave-add$ snap info octave
name:      octave
summary:   Interactive programming environment for numerical computations
publisher: GNU Octave (octave-snap✓)
contact:   snap@octave.org
license:   unset
description: |
  GNU Octave is a high-level interpreted language, primarily intended for
  numerical computations. It provides capabilities for the numerical
  solution of linear and nonlinear problems, and for performing other
  numerical experiments. It also provides extensive graphics capabilities
  for data visualization and manipulation. Octave is normally used through
  its interactive command line interface, but it can also be used to write
  non-interactive programs. The Octave language is quite similar to
  Matlab so that most programs are easily portable.
commands:
  - octave
  - octave.octave-cli
snap-id:      AC5zoejRZUR3QS4V1ZCktZ2yUUz3ubRb
tracking:     beta
refresh-date: yesterday at 05:54 UTC
channels:
  stable:    –                          
  candidate: –                          
  beta:      5.1.0 2019-06-13 (5) 192MB -
  edge:      5.1.0 2019-06-13 (5) 192MB -
installed:   5.1.0            (5) 192MB -

和联系:

代码语言:javascript
复制
ctaggart@rustasia:~/octave-add$ snap connections octave
Interface       Plug                   Slot  Notes
desktop         octave:desktop         -     -
desktop-legacy  octave:desktop-legacy  -     -
home            octave:home            -     -
opengl          octave:opengl          -     -
pulseaudio      octave:pulseaudio      -     -
unity7          octave:unity7          -     -
wayland         octave:wayland         -     -
x11             octave:x11             -     -
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-07-16 06:23:52

我的机器上没有安装八度音程,所以我正在使用勇敢的浏览器显示这个过程。

  1. 启动软件中心,单击<>已安装的选项卡,从列表中找到octave并单击。
  1. 现在,选择权限按钮,从这里您可以为您的应用程序设置必要的访问权限。
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1158550

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档