我在 Ubuntu 17.10 的应用程序概述中看到一个名为“Browse”的程序。
这个应用程序是做什么用的,它是 Ubuntu 17.10 的默认应用程序吗?
单击启动器不会执行任何操作。
附加信息
我相信它的发射器是/usr/share/applications/org.laptop.WebActivity.activity.desktop
.
如果我尝试Exec=
从命令行上的.desktop
文件运行命令,则会收到以下错误:
cd /usr/share/sugar/activities/Browse.activity
sugar-activity webactivity.WebActivity -s
1517966060.546701 ERROR root: SUGAR_VERSION env variable not found
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 220, in <module>
main()
File "/usr/bin/sugar-activity", line 215, in main
instance = create_activity_instance(activity_constructor, activity_handle)
File "/usr/bin/sugar-activity", line 48, in create_activity_instance
activity = constructor(handle)
File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 156, in __init__
activity.Activity.__init__(self, handle)
File "/usr/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 422, in __init__
self._jobject = self._initialize_journal_object()
File "/usr/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 476, in _initialize_journal_object
datastore.write(jobject)
File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 381, in write
transfer_ownership)
File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 331, in _create_ds_entry
object_id = _get_data_store().create(dbus.Dictionary(properties), filename,
File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 50, in _get_data_store
DS_DBUS_PATH),
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.laptop.sugar.DataStore was not provided by any .service files
1517966060.613335 WARNING root: DSObject was deleted without cleaning up first. Call DSObject.destroy() before disposing it.
这是我的日志文件的输出...
zgrep sugar /var/log/dpkg.log*
/var/log/dpkg.log.1:2018-01-27 00:11:22 install libsugarext0:amd64 <none> 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status half-installed libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 install gir1.2-sugarext-1.0:amd64 <none> 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status half-installed gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 install python-sugar3:all <none> 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status half-installed python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:11:22 install sugar-browse-activity:all <none> 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:11:22 status half-installed sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:11:22 status half-installed sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:11:22 status unpacked sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:12:01 configure libsugarext0:amd64 0.110.0-4 <none>
/var/log/dpkg.log.1:2018-01-27 00:12:01 status unpacked libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:01 status half-configured libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:01 status installed libsugarext0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:02 configure gir1.2-sugarext-1.0:amd64 0.110.0-4 <none>
/var/log/dpkg.log.1:2018-01-27 00:12:02 status unpacked gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:02 status half-configured gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:02 status installed gir1.2-sugarext-1.0:amd64 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:18 configure python-sugar3:all 0.110.0-4 <none>
/var/log/dpkg.log.1:2018-01-27 00:12:18 status unpacked python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:18 status half-configured python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:18 status installed python-sugar3:all 0.110.0-4
/var/log/dpkg.log.1:2018-01-27 00:12:18 configure sugar-browse-activity:all 201.2-1 <none>
/var/log/dpkg.log.1:2018-01-27 00:12:18 status unpacked sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:12:18 status half-configured sugar-browse-activity:all 201.2-1
/var/log/dpkg.log.1:2018-01-27 00:12:18 status installed sugar-browse-activity:all 201.2-1
我正在使用 Impish 21.10 并且仍然有这个问题/问题。
许多年后,许多版本,我找到了答案......
“浏览”应用程序
“浏览”应用程序的目的是让 Gimp 显示帮助信息。
解释
当我安装时
gimp
,我也会安装gimp-help-en
。包
gimp-help-en
需要包gimp-helpbrowser
。(参见gimp-help-en)。但是
gimp-helpbrowser
在 Ubuntu 17.10 及更高版本中不可用,因此满足此依赖关系的替代包是www-browser
.www-browser
是一个虚拟包,有 19 个包提供www-browser。该软件包
sugar-browse-activity
是这 19 个软件包之一。请参阅糖浏览活动。(在我的情况下,apt
选择安装sugar-browse-activity
而不是其他 19 个应用程序之一,例如firefox
,因为我在安装后安装了firefox
deb 包)。gimp-help-en
因此,
sugar-browse-activity
负责安装/usr/share/applications/org.laptop.WebActivity.activity.desktop
应该启动“浏览器”应用程序的文件。(见文件列表)。解析度
我在 Ubuntu 21.10 中测试了 Gimp 2.10.24,但这可能也适用于其他版本的 Ubuntu。
使用帮助只需启动我的默认浏览器 (Firefox) 并在 Web 浏览器中显示内容。
因此,避免安装“浏览”应用程序,安装
www-browser
之前提供的 19 个软件包之一gimp-help-en
。请参阅糖浏览活动。请注意,Firefox被列为这些应用程序之一。Ubuntu 21.10
在 Ubuntu 21.10 中,
wslu
(适用于Windows 10 Linux 子系统)是另一个提供的软件包www-browser
(请参阅Sugar-browse-activity for Impish)。因此,
wslu
如果您尝试安装gimp-help-en
.同样,避免安装
wslu
或“浏览”应用程序的解决方案是安装 Impish 中提供的 24 个软件包之一,www-browser
然后再安装gimp-help-en
. 请参阅糖浏览活动。请注意,Firefox被列为这些应用程序之一。