Skip to content

Chome application launchers doesn't work with qubes.StartApp #7421

@jevank

Description

@jevank

How to file a helpful issue

Qubes OS release

R4.1

Brief summary

Chrome allows to install applications and creates launchers. The name of such a launcher contains the guid of the application (?) and the profile name (chrome-agimnkijcaahngcdmfeangnmldooml-Default.desktop). This is too long path to check with the prefix 'qubes-service/app-dispvm.' as qubes.StartApp does. Qubesdb's maximum path is 64, how about expanding to 128/256?

[user@dom0 ~]$ qvm-run -p -a --service -- personal qubes.StartApp+chrome-agimnkijcaahngcdmfeangaknmldooml-Default
Traceback (most recent call last):
  File "/etc/qubes-rpc/qubes.StartApp", line 39, in <module>
    main(sys.argv)
  File "/etc/qubes-rpc/qubes.StartApp", line 15, in main
    if qubes_db.read('/qubes-service/app-dispvm.' + arg) is not None:
qubesdb.Error: (0, 'Error')

Steps to reproduce

Install chrome application, sync appmenus and try to run it.

Expected behavior

Application starts

Actual behavior

Application doesn't start.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions