KIO GDrive: Difference between revisions
Release 1.2.7 |
Update latest release version and building from source guidance |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
KIO GDrive is a KIO slave that enables KIO-aware applications (such as Dolphin, Kate or Gwenview) to access and edit Google Drive files on the cloud. | [[File:Kio gdrive.png|thumb|right|x256px|Screenshot of browsing Google Drive with [[Dolphin]]. ([[Schedules/Plasma 5|Plasma 5]])]] | ||
<big>'''KIO GDrive''' is a KIO slave that enables KIO-aware applications (such as Dolphin, Kate or Gwenview) to access and edit Google Drive files on the cloud.</big> | |||
[[ | == Usage == | ||
Open the Network folder in [[Dolphin]] and click on "Google Drive" or from the command line using: <syntaxhighlight lang="shell" inline>kioclient exec gdrive:/</syntaxhighlight>. | |||
= | == Installation == | ||
=== Arch Linux === | |||
<syntaxhighlight lang="shell">pacman -S kio-gdrive</syntaxhighlight> | |||
== | === Debian/KDE neon/Kubuntu (and other Debian derivatives) === | ||
<syntaxhighlight lang="shell">sudo apt install kio-gdrive</syntaxhighlight> | |||
=== Exherbo === | |||
<syntaxhighlight lang="shell">cave resolve kio-gdrive</syntaxhighlight> | |||
== Exherbo == | |||
<syntaxhighlight lang=" | |||
cave resolve kio-gdrive | |||
</syntaxhighlight> | |||
== | === Fedora === | ||
<syntaxhighlight lang="shell">dnf install kio-gdrive</syntaxhighlight> | |||
<syntaxhighlight lang=" | === FreeBSD === | ||
<syntaxhighlight lang="shell">pkg install kio-gdrive</syntaxhighlight> | |||
</syntaxhighlight> | |||
== | === Gentoo === | ||
<syntaxhighlight lang="shell">emerge kde-misc/kio-gdrive</syntaxhighlight> | |||
<syntaxhighlight lang=" | === openSUSE === | ||
sudo zypper in kio-gdrive | <syntaxhighlight lang="shell">sudo zypper in kio-gdrive</syntaxhighlight> | ||
</syntaxhighlight> | |||
== | == Build from source == | ||
* Latest stable release: '''<code>v25.08.0</code>''' | |||
* Source tarball: '''[https://download.kde.org/stable/release-service/25.08.0/src/kio-gdrive-25.08.0.tar.xz kio-gdrive-25.08.0.tar.xz]''' [[https://download.kde.org/stable/release-service/25.08.0/src/kio-gdrive-25.08.0.tar.xz.sig Signature]] | |||
* KDE Invent: '''[https://invent.kde.org/network/kio-gdrive.git Git repository]''' (<syntaxhighlight lang="shell" inline>git clone https://invent.kde.org/network/kio-gdrive.git</syntaxhighlight>) | |||
=== Build on Linux === | |||
==== Dependencies ==== | |||
===== Mandatory ===== | |||
* [[Guidelines and HOWTOs/CMake|CMake]] v3.16 or higher | |||
** [https://api.kde.org/ecm/ Extra CMake Modules] | |||
* Qt 6.5.0 or higher | |||
** QtGui | |||
** QtNetwork | |||
** QtWidgets | |||
* [[Frameworks|KDE Frameworks]] v6.3.0 or higher | |||
** DocTools | |||
** I18n | |||
** [[KIO]] | |||
* [[KDE PIM]] v6.2.40 or higher | |||
** libkpim6gapicore6 | |||
** libkpim6gapidrive6 | |||
And one of either: | |||
* KAccounts v24.08.0 or higher, optionally enhanced by | |||
** [[Frameworks|KDE Frameworks]] Purpose v6.3.0 or higher | |||
or | |||
* QtKeychain v0.12.0 or higher | |||
== | ===== Optional ===== | ||
* libqt6test6 v6.5.0 or higher | |||
==== Compilation ==== | |||
Assuming that you have all the dependencies already installed, the compilation process is accomplished using the following sequence of commands: | |||
<syntaxhighlight lang="shell"> | |||
git clone https://invent.kde.org/network/kio-gdrive.git && cd kio-gdrive | |||
<syntaxhighlight lang=" | |||
git clone | |||
cd kio-gdrive | |||
mkdir build && cd build | mkdir build && cd build | ||
cmake -DCMAKE_INSTALL_PREFIX= | cmake -DCMAKE_INSTALL_PREFIX="$(qtpaths6 --install-prefix)" .. | ||
sudo | cmake --build . | ||
ctest | |||
sudo cmake --install . | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Lastly, you'll need to restart your running Plasma instance or simply logout of your user session and then login again. | |||
{{Warning|You can install into a different prefix, as long as it is the same prefix <code>startplasma</code> has been installed into.}} | |||
If you have problems building from source, feel free to ask for help in the [ircs://irc.libera.chat/kde-fm #kde-fm] [[userbase:IRC Channels|IRC channel]]. | |||
== How to contribute == | |||
* Prepare [https://invent.kde.org/network/kio-gdrive/-/merge_requests merge requests] for review | |||
== v1.0. | == Changelog == | ||
==== v1.3.0 ==== | |||
* Support for the Shared Drives feature of Google Drive. | |||
* New "Copy Google URL to clipboard" action in the Dolphin context-menu. | |||
* Support for the new kaccounts-integration 20.04 release. | |||
* Improved appstream metadata. | |||
* Fixed opening docx files as archives in remote folders (bug [https://bugs.kde.org/show_bug.cgi?id=401151 401151]). | |||
==== v1.2.7 ==== | |||
Fixed build against libkgapi >= 5.12 (i.e. libkgapi from KDE Applications 19.08). | |||
== v1 | |||
== | |||
= | |||
==== v1.2.6 ==== | |||
Updated translations. | Updated translations. | ||
== v1. | ==== v1.2.5 ==== | ||
* Fixed downloading of large files (bug [https://bugs.kde.org/show_bug.cgi?id=375765 375765]). | |||
* Fixed component tag in the appstream file. | |||
* Updated translations. | |||
==== v1.2.4 ==== | |||
* Fixed opening files with special characters in their name (bug [https://bugs.kde.org/show_bug.cgi?id=395590 395590]). | |||
* Fixed homepage URL in the appstream file. | |||
* Updated translations. | |||
== | ==== v1.2.3 ==== | ||
* Added missing copy of GPL3 license. | |||
== v1 | |||
== | |||
== | |||
* | |||
* Updated translations. | * Updated translations. | ||
== v1.2.2 == | ==== v1.2.2 ==== | ||
* Fixed mimetype used to open .ods files (bug [https://bugs.kde.org/show_bug.cgi?id=388598 388598]). | * Fixed mimetype used to open .ods files (bug [https://bugs.kde.org/show_bug.cgi?id=388598 388598]). | ||
* Fixed copy of files within the same gdrive account (bug [https://bugs.kde.org/show_bug.cgi?id=376735 376735]). | * Fixed copy of files within the same gdrive account (bug [https://bugs.kde.org/show_bug.cgi?id=376735 376735]). | ||
* Updated translations. | * Updated translations. | ||
== v1.2. | ==== v1.2.1 ==== | ||
* Build fixes. | |||
* | |||
* Updated translations. | * Updated translations. | ||
== v1.2. | ==== v1.2.0 ==== | ||
* Integration with KAccounts | |||
* Google Drive free space is now reported | |||
==== v1.1.2 ==== | |||
Updated translations. | |||
== v1. | ==== v1.1.1 ==== | ||
Fixed wrong write permissions in the top-level accounts folder. | |||
==== v1.1.0 ==== | |||
Replaced custom Dolphin .desktop file with a Google Drive link in the Network (remote://) folder. | |||
== v1. | ==== v1.0.5 ==== | ||
Updated translations. | |||
==== v1.0.4 ==== | |||
* Fixed an issue that would make some files hidden (bug [https://bugs.kde.org/show_bug.cgi?id=371954 371954]) | |||
* Added <tt>TryExec</tt> key in the .desktop file. | |||
== v1. | ==== v1.0.3 ==== | ||
Stop trashing all account files on account removal. | |||
Fixed | ==== v1.0.2 ==== | ||
Fixed copy-pasting from <tt>gdrive://</tt> URLs to local disk (bug [https://bugs.kde.org/show_bug.cgi?id=369619 369619]). | |||
= | ==== v1.0.1 ==== | ||
Fixed a bug that caused the login dialog to show up again after authentication (bugs [https://bugs.kde.org/show_bug.cgi?id=367988 367988], [https://bugs.kde.org/show_bug.cgi?id=369581 369581]). | |||
==== v1.0.0 ==== | |||
First stable release | |||
= | == See also == | ||
[[KIO GDrive/Privacy Policy|KIO GDrive Privacy Policy]] | |||
* | == External links == | ||
* | * '''[https://apps.kde.org/kio_gdrive/ Official website]''' | ||
* '''[https://bugs.kde.org/enter_bug.cgi?product=kio-gdrive&format=guided Bug tracker]''' | |||
* '''[https://invent.kde.org/network/kio-gdrive Source code repository]''' | |||
= | === Discussions === | ||
* '''[https://mail.kde.org/mailman/listinfo/kde-devel kde-devel]''' mailing list | |||
* '''[ircs://irc.libera.chat/kde-fm #kde-fm]''' [[userbase:IRC Channels|IRC channel]] on Libera.Chat | |||
Latest revision as of 22:10, 18 August 2025

KIO GDrive is a KIO slave that enables KIO-aware applications (such as Dolphin, Kate or Gwenview) to access and edit Google Drive files on the cloud.
Usage
Open the Network folder in Dolphin and click on "Google Drive" or from the command line using: kioclient exec gdrive:/.
Installation
Arch Linux
pacman -S kio-gdrive
Debian/KDE neon/Kubuntu (and other Debian derivatives)
sudo apt install kio-gdrive
Exherbo
cave resolve kio-gdrive
Fedora
dnf install kio-gdrive
FreeBSD
pkg install kio-gdrive
Gentoo
emerge kde-misc/kio-gdrive
openSUSE
sudo zypper in kio-gdrive
Build from source
- Latest stable release:
v25.08.0 - Source tarball: kio-gdrive-25.08.0.tar.xz [Signature]
- KDE Invent: Git repository (
git clone https://invent.kde.org/network/kio-gdrive.git)
Build on Linux
Dependencies
Mandatory
- CMake v3.16 or higher
- Qt 6.5.0 or higher
- QtGui
- QtNetwork
- QtWidgets
- KDE Frameworks v6.3.0 or higher
- DocTools
- I18n
- KIO
- KDE PIM v6.2.40 or higher
- libkpim6gapicore6
- libkpim6gapidrive6
And one of either:
- KAccounts v24.08.0 or higher, optionally enhanced by
- KDE Frameworks Purpose v6.3.0 or higher
or
- QtKeychain v0.12.0 or higher
Optional
- libqt6test6 v6.5.0 or higher
Compilation
Assuming that you have all the dependencies already installed, the compilation process is accomplished using the following sequence of commands:
git clone https://invent.kde.org/network/kio-gdrive.git && cd kio-gdrive
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX="$(qtpaths6 --install-prefix)" ..
cmake --build .
ctest
sudo cmake --install .
Lastly, you'll need to restart your running Plasma instance or simply logout of your user session and then login again.
If you have problems building from source, feel free to ask for help in the #kde-fm IRC channel.
How to contribute
- Prepare merge requests for review
Changelog
v1.3.0
- Support for the Shared Drives feature of Google Drive.
- New "Copy Google URL to clipboard" action in the Dolphin context-menu.
- Support for the new kaccounts-integration 20.04 release.
- Improved appstream metadata.
- Fixed opening docx files as archives in remote folders (bug 401151).
v1.2.7
Fixed build against libkgapi >= 5.12 (i.e. libkgapi from KDE Applications 19.08).
v1.2.6
Updated translations.
v1.2.5
- Fixed downloading of large files (bug 375765).
- Fixed component tag in the appstream file.
- Updated translations.
v1.2.4
- Fixed opening files with special characters in their name (bug 395590).
- Fixed homepage URL in the appstream file.
- Updated translations.
v1.2.3
- Added missing copy of GPL3 license.
- Updated translations.
v1.2.2
- Fixed mimetype used to open .ods files (bug 388598).
- Fixed copy of files within the same gdrive account (bug 376735).
- Updated translations.
v1.2.1
- Build fixes.
- Updated translations.
v1.2.0
- Integration with KAccounts
- Google Drive free space is now reported
v1.1.2
Updated translations.
v1.1.1
Fixed wrong write permissions in the top-level accounts folder.
v1.1.0
Replaced custom Dolphin .desktop file with a Google Drive link in the Network (remote://) folder.
v1.0.5
Updated translations.
v1.0.4
- Fixed an issue that would make some files hidden (bug 371954)
- Added TryExec key in the .desktop file.
v1.0.3
Stop trashing all account files on account removal.
v1.0.2
Fixed copy-pasting from gdrive:// URLs to local disk (bug 369619).
v1.0.1
Fixed a bug that caused the login dialog to show up again after authentication (bugs 367988, 369581).
v1.0.0
First stable release
See also
External links
Discussions
- kde-devel mailing list
- #kde-fm IRC channel on Libera.Chat
