Skip to content

Display volumes on the desktop #9

@probonopd

Description

@probonopd

We want to show disks on the desktop.

image

In desktopwindow.cpp change Fm::CachedFolderModel::modelFromPath(fm_path_get_desktop()); to Fm::CachedFolderModel::modelFromPath(fm_path_new_for_uri("computer://")); in two places.

Then, instead of the files in the desktop folder determined by XDG_DESKTOP_DIR, the volumes are shown on the desktop.

Now, how can we show both? Best would be if we could put more than one model into the Fm::CachedFolderModel... is it possible?

Reference:
lxqt#1192 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededqtQt expertise needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions