Comments (10)
Hi, it doesn't seem like there's anything obviously wrong in the debug output. There are some known issues with KDE Connect and SSHFS 3.x (only < 3.3 I think, but may be present as a regression in some distros), but being able to connect manually would imply that those aren't in play here.
Because of the DSS algorithm requirement GSConnect actually just spawns sshfs
pretty much like you did. I'm all tied up at the moment, but I'll mark this as a bug and come back to it when I can.
from gnome-shell-extension-gsconnect.
Hi, I've had a couple looks at this, and although the SFTP plugin is one of the less reliable plugins (even for KDE Connect) I'm not sure this is a GSConnect issue.
I believe this may be an Android Oreo issue, although I'm unsure. Do you (or maybe a friend) have a device with Nougat or earlier you could test this with to confirm?
I'm planning a v9 bugfix release soon that will be distributed on the extension website and will be around for quite awhile (until v10 is complete), so if this is not Oreo issue we should track it down ASAP.
from gnome-shell-extension-gsconnect.
I get the same results on Android 7.1.2 (LineageOS 14.1).
from gnome-shell-extension-gsconnect.
Hi, thanks for checking that. Since it's not an Oreo issue, very likely not an sshfs
issue, and there are no errors reported in the debug output, I suspect this is an issue with the (actual) Shell extension part of GSConnect.
GSConnect mounts the remote device under /run/user/<uid>/gsconnect/<device-id>/
, for me this is /run/user/1000/gsconnect/5dd3aea571d9f746
. Can you confirm that the device is in fact mounted/unmounted with: mount | grep gsconnect
? Probably best to mount it by clicking the icon, but don't select a folder to avoid compounding errors.
There is a known quirk here, where GSConnect reports the device is mounted, slightly before it's ready to go, although it shouldn't be big issue. The message below should print a second or two after the _prepare()
:
JS LOG: Sftp: Warning: Permanently added '[192.168.1.70]:1739' (DSA) to the list of known hosts.
from gnome-shell-extension-gsconnect.
My device is mounted: [email protected]:/storage/emulated/0 on /run/user/1000/gsconnect/a493e8288f2112ab type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
, I didn't actually know it mounted there. (This is my Oreo device)
from gnome-shell-extension-gsconnect.
Okay, that's somewhat good news. I believe the culprit is this line used for opening the directory:
Gio.AppInfo.launch_default_for_uri("file://" + item.path, null);
It's unfortunate this doesn't work, since I chose it to address xdg-open
opening "Disk Usage Analyzer" on many Ubuntu installs. There are several ways to launch/fetch the default handler in GLib, but I suspect they all end up using the same method under the hood.
Here is a build with minor adjustment (not relying on a nullable function arg), if you could test this I'll cross my fingers, otherwise I'll open another 40 or so tabs and keep digging ;)
from gnome-shell-extension-gsconnect.
Well, I just found something new. When I open a directory (All files/Camera), my music player Quod Libet opens up. This is both on v9 and the build you just posted.
I hadn't noticed this before because I usually keep QL running, and only on this new build the app menu for QL shows up for a second with the loading icon when I try to open a directory with QL running. On v9 if QL was already running, there was no loading icon to indicate QL was trying to open something. (I'm not sure if this is really relevant but I hope I explained that well).
So, I uninstalled Quod Libet and now it opens properly in Nautilus, in v9 as well.
from gnome-shell-extension-gsconnect.
Ah, that probably has some relation to the xdg-open
issue. I could never track that down to baobab/'Disk Usage Analyzer", but I suspect this could be considered a bug in QL packaging on Arch with regard to default handler registering (and so too, baobab on Ubuntu).
from gnome-shell-extension-gsconnect.
I installed QL again and checked it was not set as default for directories with xdg-mime query default inode/directory
and got org.gnome.Nautilus.desktop
, but I still ran xdg-mime default org.gnome.Nautilus.desktop inode/directory
anyways and it solved my problem (I also tested it after reinstalling QL)! I found this strange, though, since I couldn't find anywhere indicating QL was set as default for opening directories.
from gnome-shell-extension-gsconnect.
That is odd, I bet it's the same as baobab. I would assume if it was claiming the mime-type, then it would be whichever was installed last would win. I'm glad that fixes it. I'll mark the adjustment I made as the fix, since that seemed to make it clear another application was grabbing the URI, and then mention this issue in the FAQ with the xdg-mime
fix.
Thanks for taking the time to work through this with me, it helps out a lot.
from gnome-shell-extension-gsconnect.
Related Issues (20)
- Mouse Lagging HOT 2
- Merging GSConnect with Gnome Calls and Gnome Chatty for better integration. HOT 2
- Files menu is hard to access
- Error on startup HOT 2
- Getting keyboard Shortcut already exists for every possible key combination. FIx this. HOT 1
- No longer get any notifications from phone on desktop HOT 1
- Share to Device missing from Context Menu of nautilus HOT 4
- Unable to browse files on Android 12: Permission Denied HOT 2
- How do i open the damn config menu HOT 3
- Can't Share multiple files at the same time HOT 1
- Error and not working HOT 1
- Remote Input plugin not working with X11 HOT 1
- Music thumbnail not updating in phone HOT 2
- Gnome shell crashing when trying to lock the screen.
- Still doesn't work with Ubuntu 24.04 and Gnome Shell 46.0 HOT 5
- Extension manager doesnt allow to enable "an error occured while loading this extension"
- File system mouting doesn't work at all from 1.31.1 HOT 2
- GSConnect service crashes on startup
- Android mounting doesn't work HOT 1
- cannot mount phone anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-gsconnect.