Bug 420851 - Wish: Add a command line argument to start dolphin in fullscreen mode
Summary: Wish: Add a command line argument to start dolphin in fullscreen mode
Status: RESOLVED DUPLICATE of bug 413255
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-01 11:40 UTC by myndstream
Modified: 2020-05-02 00:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description myndstream 2020-05-01 11:40:15 UTC
SUMMARY
Could you please add a command-line argument to start dolphin in fullscreen mode? (-f or --fullscreen)

This would allow users to create more useful shortcuts for dolphin. One example would be using dolphin for a media center as described here: https://unix.stackexchange.com/a/582832/233262

Additional view options for dolphin would also be useful. As of version 18.08, which is the version that's currently packaged on latest Debian stable, the only view option when starting from command line is --split which starts dolphin with a split view.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.5
KDE Plasma Version: 5.14
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3
Comment 1 Christoph Feck 2020-05-01 13:59:32 UTC
wmctrl -r Dolphin -b toggle,fullscreen
Comment 2 Nate Graham 2020-05-01 14:36:47 UTC

*** This bug has been marked as a duplicate of bug 413255 ***
Comment 3 myndstream 2020-05-02 00:33:26 UTC
Thanks, you two.

After installing wmctrl this is the full command which worked to start dolphin to open a directory in fullscreen mode and with larger icons (I also added this to the StackExchange question linked above):

QT_SCALE_FACTOR=2 dolphin ~/Foldername & sleep 0.8 && wmctrl -r "Foldername — Dolphin" -b add,fullscreen

To start it maximized instead of fullscreen just replace "fullscreen" with "maximized_horz,maximized_vert"

I opened a new issue for a command-line argument to start dolphin maximized: https://bugs.kde.org/show_bug.cgi?id=420882