Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

[CLOSED] Nowhere to set the initial path #46

Closed
tslocum opened this issue Aug 24, 2014 · 8 comments
Closed

[CLOSED] Nowhere to set the initial path #46

tslocum opened this issue Aug 24, 2014 · 8 comments

Comments

@tslocum
Copy link
Owner

tslocum commented Aug 24, 2014

Issue by Firef0x
Thursday Oct 04, 2012 at 16:56 GMT
Originally opened as sole#46


Hi! Thx to ur great work on aafm. It impresses me a lot & remind me of the wonderful moment using Total Commander on Windows. ^_^ But could u pls make a configuration file such as .aafmrc for usrs setting the initial path rather than os.getcwd() and '/mnt/sdcard'? In my system(Arch Linux), it leads me to /home/usr/Documents which is not exist. I'm border to click .. every time. Sorry for my broken English, I'm just a newbie. -.-!

Hope ur program be yet another Total Commander bridging PC and Android!

Thanks and Regards,

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by Firef0x
Thursday Oct 04, 2012 at 17:02 GMT


Maybe u can solve it by remembering last directory. Like what you issue in
sole#21

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by sole
Friday Oct 05, 2012 at 08:44 GMT


Yes, that's the idea in #21

I don't understand how can it bring you to /home/usr/Documents
That is not hardcoded anywhere in the source, but that might be what your system is returning to getcwd(). See, here is where the initial directories are set:
https://github.com/sole/aafm/blob/master/src/aafm-gui.py#L40

As you can see it's just

self.aafm = Aafm('adb', os.getcwd(), '/mnt/sdcard/')

Feel free to investigate if you feel like that, but it works fine in the systems I've tested so far :-)
Might be something odd with your configuration/setup...

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by Firef0x
Friday Oct 05, 2012 at 11:59 GMT


I don't understand too.But it REALLY bothers me. And I'm not vacant to debug verbosely. However, I'm not a pythoner, incapable for committing...

P.S. diversity among different Linux & Android releases REALLY bother coders, hope u can be patient... I'm using Arch Linux + KDE SC 4.9 and MIUI V4 2.9.28 on LG Nitro HD, hope this helps.

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by sole
Friday Oct 05, 2012 at 13:57 GMT


It's ok. Please just wait until I implement #21 then.

I'm going to close this issue as it will be resolved when #21 is.

Thanks for your collaboration :-)

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by Firef0x
Friday Oct 05, 2012 at 15:17 GMT


Excellent! Feeling efficient in GitHub!! Nobody ever responses when I put an issue in Google Code T-T

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by sole
Friday Oct 05, 2012 at 23:36 GMT


Google Code isn't nowhere as active as Github I think :-)

One question though... where did you heard about aafm? It seems there are a lot of new users recently but I don't know where are you coming from! And I'm intrigued! :-D

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by Firef0x
Saturday Oct 06, 2012 at 07:09 GMT


Project in Google Code as small as this one, the maintainer is as lazy as a koala._
When I search keyword 'android' in the holy great almighty Arch User Repository, aafm comes up first(Since it begins with aa...Is it on purpose?), and I just have a try...

P.S. Although Arch Linux uses Python 3.2 as default, I only have Python 2.7.3 and have linked /usr/bin/python2 to /usr/bin/python, with PyGTK support. In some comments you refered to the python release problem on Arch Linux, but I think that it isn't the reason why os.getcwd() leads to /home/usr/Documents.The aafm apps are in /usr/bin and my default documents path is /home/usr/文档.(Chinese, means Documents, but I think python can get it correctly)

Hope this helps.

Thanks and Regards.

@tslocum
Copy link
Owner Author

tslocum commented Aug 24, 2014

Comment by sole
Saturday Oct 06, 2012 at 18:41 GMT


But what is your user name? Is your username "usr"?

Regarding the name of aafm, it wasn't chosen so that it would appear first on the list! But because it means Android ADB File Manager = AAFM :-)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant