You are not logged in.

#226 2010-04-17 16:42:33

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

hut wrote:

Try "firefox d". In the apps.py, add c.flags += 'd' before the return [...]

cmlr wrote:

I have more bookmarks than there's room for in the popup box.  We should be able to adjust the size of the box in options.py.

I don't understand why you'd want to change the size of the box. You want to make it smaller? Then even less bookmarks will fit.

"firefox d" works perfectly, thanks.

Make the box smaller?!? hmm  For me the box only has 6 lines, so it doesn't hold all my bookmarks.

Offline

#227 2010-04-17 16:47:50

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

For me, the bookmark box uses all the available space, starting at line 1, ending at line <lastline> - 2.

Note that bookmarks containing dotfiles are not displayed.

Last edited by hut (2010-04-17 16:49:41)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#228 2010-04-17 16:51:41

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

hut wrote:

For me, the bookmark box uses all the available space, starting at line 1, ending at line <lastline> - 2.

Note that bookmarks containing dotfiles are not displayed.

You're right, it's exactly the dotfiles and dotdirectories that aren't displayed.  But shouldn't they be displayed?  The purpose of the box is to remind users of their bookmarks.

Last edited by cmlr (2010-04-17 16:56:09)

Offline

#229 2010-04-17 17:14:39

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

cmlr wrote:
hut wrote:

For me, the bookmark box uses all the available space, starting at line 1, ending at line <lastline> - 2.

Note that bookmarks containing dotfiles are not displayed.

You're right, it's exactly the dotfiles and dotdirectories that aren't displayed.  But shouldn't they be displayed?  The purpose of the box is to remind users of their bookmarks.

Update ranger smile


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#230 2010-04-17 17:26:52

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

hut wrote:
cmlr wrote:

You're right, it's exactly the dotfiles and dotdirectories that aren't displayed.  But shouldn't they be displayed?  The purpose of the box is to remind users of their bookmarks.

Update ranger smile

Great work!  Ranger will sweep away the other file managers.

Offline

#231 2010-04-17 17:43:15

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

One more request:  commands.py is part of /usr/share/ranger/ranger/defaults/, but when you put your own version in ~/.ranger/, it isn't read by the program.  Can you change that?

Offline

#232 2010-04-17 20:58:20

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

I started a ArchWiki entry for Ranger at
http://wiki.archlinux.org/index.php/Ranger
Needless to say, other people who know more than I do should modify it as they see fit.

Offline

#233 2010-04-17 21:27:31

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

Nice, thank you.
I'll help you a bit with it later. I noticed something weird though, what's that link to the website? ^^


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#234 2010-04-18 03:43:13

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: Ranger, a textbased filemanager

woohoo! thank you everyone.... GREAT tips all over here and there.

I started a ArchWiki entry for Ranger at
http://wiki.archlinux.org/index.php/Ranger

I discovered RANGER during the week I heard back from the vifm dev who
told-of/confirmed that my text files not showing up in vifm was likely a
unicode thing he would be getting to sorting at some point. [paraphrased]
just checked vifm devs comment and the issue causing
':view' to not display certain text files content is:
code that prints out the file to use the wide character functions.

Really appreciated him explaining, as i was very puzzled that many of
my text files just didn't show up in vifm. True to the necessity thing,
Finding RANGER occured.

Last edited by yvonney (2010-04-19 02:13:34)

Offline

#235 2010-04-18 06:58:18

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

hut wrote:

Nice, thank you.
I'll help you a bit with it later. I noticed something weird though, what's that link to the website? ^^

What's wrong with the link?

I noticed one bug, Ranger shows directories which are symbolic links as being empty.  It reads files which are symbolic links OK.

Offline

#236 2010-04-18 07:00:38

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

cmlr wrote:
hut wrote:

Nice, thank you.
I'll help you a bit with it later. I noticed something weird though, what's that link to the website? ^^

What's wrong with the link?

I noticed one bug, Ranger shows directories which are symbolic links as being empty.  It reads files which are symbolic links OK.

Oops. I'll look into that.

The link... points to PCManFMs, not to Rangers website =P I fixed it though


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#237 2010-04-18 08:37:24

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

In keys.py, the keybinding for "E" is defined twice, on lines 114 and 311.

Offline

#238 2010-04-18 08:46:58

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

cmlr wrote:
hut wrote:

Nice, thank you.
I'll help you a bit with it later. I noticed something weird though, what's that link to the website? ^^

I noticed one bug, Ranger shows directories which are symbolic links as being empty.  It reads files which are symbolic links OK.

Fixed.

cmlr wrote:

In keys.py, the keybinding for "E" is defined twice, on lines 114 and 311.

Yes, for a reason. Look again =P


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#239 2010-04-18 10:52:03

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Ranger, a textbased filemanager

when i use ranger inside tmux it's window title is set to 'python' rather than 'ranger', is this something that could be overriden? smile


ᶘ ᵒᴥᵒᶅ

Offline

#240 2010-04-18 10:55:10

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Ranger, a textbased filemanager

cmlr wrote:

I started a ArchWiki entry for Ranger at
http://wiki.archlinux.org/index.php/Ranger
Needless to say, other people who know more than I do should modify it as they see fit.

nice work cmlr, i'm not sure about the comparison to vifm though; most people don't know vifm and after all it's a page about ranger.. wink


ᶘ ᵒᴥᵒᶅ

Offline

#241 2010-04-18 11:05:32

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

litemotiv wrote:

when i use ranger inside tmux it's window title is set to 'python' rather than 'ranger', is this something that could be overriden? smile

I can't think of a clean way... the dirty way would be:

ln -s /usr/bin/python /some_hidden_dir/ranger
echo 'alias ranger="/some_hidden_dir/ranger /usr/bin/ranger"' >> ~/.zshrc

Last edited by hut (2010-04-18 11:08:13)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#242 2010-04-18 13:45:23

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

litemotiv wrote:
cmlr wrote:

I started a ArchWiki entry for Ranger at
http://wiki.archlinux.org/index.php/Ranger
Needless to say, other people who know more than I do should modify it as they see fit.

nice work cmlr, i'm not sure about the comparison to vifm though; most people don't know vifm and after all it's a page about ranger.. wink

OK, de-emphasized Vifm. wink

Offline

#243 2010-04-18 14:27:55

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Ranger, a textbased filemanager

Two requests:

1. Change default sort order for sort by size to descending. I don't think I've ever wanted to see the smallest files in a directory first. I know, I can just do oS instead of os, but it's annoying all the same.

2. About tabs: would it be possible to replace the plain numbers with the directory name or (a shortened version of) the path?

Offline

#244 2010-04-18 14:36:10

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

eyolf wrote:

1. Change default sort order for sort by size to descending. I don't think I've ever wanted to see the smallest files in a directory first. I know, I can just do oS instead of os, but it's annoying all the same.

Good idea.

eyolf wrote:

2. About tabs: would it be possible to replace the plain numbers with the directory name or (a shortened version of) the path?

The last time I tried that, something got messed up. But I'll look into that again.


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#245 2010-04-18 16:46:45

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: Ranger, a textbased filemanager

litemotiv wrote:

when i use ranger inside tmux it's window title is set to 'python' rather than 'ranger', is this something that could be overriden? smile

tmux window name, not window title smile tmux (with the default automatic window renaming behavior) shows the name of the running process as the window name. Ranger is a python script, so tmux will set the window name to python. "window title" is a separate concept.

Offline

#246 2010-04-18 16:48:08

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

I'll merge "devel" into the "master" branch now. I was using it for a while and noticed no bugs, help me to confirm that! smile

With this update, a couple of things will change:
1. The previous warnings about backwards compatibility are now errors.
2. The keys.py is redesigned and backwards incompatible. (Everything else in ~/.ranger/ is still compatible)
3. The ~/.ranger/commands.py is now used as well
4. Most config files are now "overlayed". You don't have to copy everything, just specify the changes.
This is how the options.py worked all the time, it is now also true for commands.py and keys.py.
To have this feature in apps.py, use subclassing as explained in the documentation.
5. Alt keys work, <A-X>
6. Random internal changes, check git if you're interested


If you don't like the changes, there is still the "stable" branch for you to fall back on

Last edited by hut (2010-04-18 17:26:16)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#247 2010-04-18 17:19:53

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

Here are a couple of bugs:

1.  When entering a command with ":", <Control>-C should cancel, but it doesn't.
2.  To launch a file, "l" works but <Enter> doesn't.

Update:  Ah, fixed.  Thanks for the quick work.  smile

Last edited by cmlr (2010-04-18 18:05:33)

Offline

#248 2010-04-18 19:00:39

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: Ranger, a textbased filemanager

Wohoo ranger works in hurd.

Maybe we make ranger the default file manager X)

Offline

#249 2010-04-18 19:45:44

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Ranger, a textbased filemanager

I have a problem with the local customization files. ~/.ranger/options.py is not read. I've tried both methods -- overlay of only changed options and a full copy of /usr/share/ranger/ranger/defaults/options.py -- but none of them work. I've moved my old ~/.ranger folder out of the way, and I am working from a fresh install from git.
bookmarks are read, though.

Offline

#250 2010-04-18 19:59:19

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

eyolf wrote:

I have a problem with the local customization files. ~/.ranger/options.py is not read. I've tried both methods -- overlay of only changed options and a full copy of /usr/share/ranger/ranger/defaults/options.py -- but none of them work. I've moved my old ~/.ranger folder out of the way, and I am working from a fresh install from git.
bookmarks are read, though.

Fixed

Giselher wrote:

Wohoo ranger works in hurd.

Maybe we make ranger the default file manager X)

For the freedom!


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

Board footer

Powered by FluxBB