LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2022, 04:44 PM   #1
GeorgeBoyle
LQ Newbie
 
Registered: Dec 2022
Posts: 5

Rep: Reputation: 0
my android phone won\t mount in i3 window manager.


greetings,

I have two window managers, mate and i3.

In mate when I connect my phone via USB, I get a prompt on the phone to allow the mounting. In i3, I don't get this prompt and so I can't mount the phone.

I know my linux mint distro installed the tools to mount android filesystems because it prompts and then mounts the phone in the mate desktop. Why is i3 not prompting me to mount my phone?

Any help is appreciated.

Last edited by GeorgeBoyle; 12-16-2022 at 04:48 PM.
 
Old 12-16-2022, 05:49 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by GeorgeBoyle View Post
greetings,
I have two window managers, mate and i3.

In mate when I connect my phone via USB, I get a prompt on the phone to allow the mounting. In i3, I don't get this prompt and so I can't mount the phone. I know my linux mint distro installed the tools to mount android filesystems because it prompts and then mounts the phone in the mate desktop. Why is i3 not prompting me to mount my phone?
Haven't used the i3 desktop, but you should be able to mount/access it through the file manager of your choice, things I've read point to using Thunar, and enabling volume management.

It may not auto-prompt you, but it appears as if i3 is much more pared down than a more 'full featured' DE, like Mate.
 
Old 12-16-2022, 06:09 PM   #3
GeorgeBoyle
LQ Newbie
 
Registered: Dec 2022
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Haven't used the i3 desktop, but you should be able to mount/access it through the file manager of your choice, things I've read point to using Thunar, and enabling volume management.

It may not auto-prompt you, but it appears as if i3 is much more pared down than a more 'full featured' DE, like Mate.
mate uses Caja file manager by default. I also install PCManFM. Both will mount the phone in mate desktop.

In i3, it only shows the name of my phone on the left side of panel. But doesn't show the internal and external storage or anything. It's just blank.

However, with adb I can connect my phone in i3.
 
Old 12-16-2022, 07:06 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
then try simple-mtpfs

Code:
mkdir Android
simple-mtpfs Android
ls Android/
Internal shared storage/ SD card/
# if that fails see if device detected with
simple-mtpfs -l
1: OppoFind 5 # my result
then use your file manager

2) also consider android-file-transfer if above fails
 
1 members found this post helpful.
Old 12-17-2022, 04:28 AM   #5
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
While this adds one more level of complexity, just setup Syncthing on both Linux and Android. It will automatically sync chances configured directory.
 
Old 12-17-2022, 07:21 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Quote:
Why is i3 not prompting me to mount my phone?
Perhaps there is no running dbus notification server as i3wm does not supply one.
You could try a command like 'notify-send summary hi', which should pop up a small short lived message box.
If that fails, then you could try starting a dbus notification server. dunst is suggested here
 
1 members found this post helpful.
Old 12-17-2022, 03:26 PM   #7
GeorgeBoyle
LQ Newbie
 
Registered: Dec 2022
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aus9 View Post
then try simple-mtpfs

Code:
mkdir Android
simple-mtpfs Android
ls Android/
Internal shared storage/ SD card/
# if that fails see if device detected with
simple-mtpfs -l
1: OppoFind 5 # my result
then use your file manager

2) also consider android-file-transfer if above fails
i don't have simple-mtpfs in my linux mint repo.

I do have go-mtpfs though. It did work but in an opposite way than in mate.

I run go-mtpfs /mnt. It doesn't prompt allow on my phone until I open a file manager myself. After opening a file manager I then get the prompt allow message. I click allow and I can see both the internal and external storages when I click on the SAMSUNG name.

Thanks aus9 for guiding me on what to install. Thanks

Last edited by GeorgeBoyle; 12-17-2022 at 03:28 PM.
 
Old 12-17-2022, 05:35 PM   #8
GeorgeBoyle
LQ Newbie
 
Registered: Dec 2022
Posts: 5

Original Poster
Rep: Reputation: 0
I wasn't aware a tiling window was for more advance users. You basically have to configure everything from the windows, the status bar and other background services that a typical full desktop does for you.

But it's good. It makes you a better knowledgeable linux user.
 
Old 12-17-2022, 06:17 PM   #9
GeorgeBoyle
LQ Newbie
 
Registered: Dec 2022
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by allend View Post
Perhaps there is no running dbus notification server as i3wm does not supply one.
You could try a command like 'notify-send summary hi', which should pop up a small short lived message box.
If that fails, then you could try starting a dbus notification server. dunst is suggested here
I assume any window manager would have access to all like dbus,hald, systemd services and etc.
 
Old 12-17-2022, 07:12 PM   #10
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I use sway which is a wayland clone of i3.

The secret to using a non-icon desktop is to make a good list of keyboard shortcuts for either i3 or sway etc.

syntax differs between them and I have never used i3 but you might like to peruse
https://i3wm.org/docs/refcard.html
https://i3wm.org/docs/userguide.html#keybindings

Now that you are a power user
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
phone just updated to Android 12 and I'm not tech savvy trying to put security cam footage on phone Greeneyez99 General 1 08-23-2022 11:34 AM
LXer: How to Use ADB Android Debug Bridge to Manage Your Android Mobile Phone LXer Syndicated Linux News 0 01-30-2021 02:50 PM
LXer: Android Auto Is Now Available for Your Phone Running Android 10 LXer Syndicated Linux News 0 11-07-2019 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration