You are not logged in.

#2076 2017-01-15 23:13:30

WishCow
Member
Registered: 2011-01-31
Posts: 57

Re: Ranger, a textbased filemanager

Hey,

Thanks for writing ranger, it's the best thing I've ever used.

I started digging into writing my own commands, and currently my cycle looks like this:

1. edit commands.py
2. launch ranger in a different window
3. navigate to my file I want to test my file on
4. :mycommand

But I only get 1 line of error messages from the python interpreter, when something goes wrong. I looked into mocking the FM and Command classes (my command depends on self.fm.thisfile, and a bunch of other self.fm.* methods/properties), but there is too much stuff to fill out.

What's the correct way to debug your own commands you are writing?

Offline

#2077 2017-01-19 06:21:43

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

Re: Ranger, a textbased filemanager

The search function is still not working for me in 1.8.1, is it working for everyone else.

Cheers
Paul-S

Offline

#2078 2017-01-20 06:05:53

Miblo
Member
From: Manchester, UK
Registered: 2010-07-05
Posts: 160
Website

Re: Ranger, a textbased filemanager

Paul-S wrote:

The search function is still not working for me in 1.8.1, is it working for everyone else.

Cheers
Paul-S

It is working for me, and without requiring any changes to my config. Could possibly be worth trying it with the default config, though.


@archun: Intel® Core™ i5-4210M • [GPU] Intel® HD Graphics 4600 • [Kernel] linux-ck-haswell
Handmade.NetworkGitLab
The Life and Times of Miblo del Carpio

Offline

#2079 2017-01-21 12:58:40

ryzion
Member
Registered: 2012-03-20
Posts: 95

Re: Ranger, a textbased filemanager

I've noticed a different behavior when copying files on my systems but didn't find where to configure it. On one system copying a file with the same name saves the old one with an appendix and copies the new one. On my other system the old one is kept with it's name and the new file is saved with an appendix. Anyone happens to know where to set this? I'm using rangers copy on both without mode settings

Last edited by ryzion (2017-01-21 12:59:39)

Offline

#2080 2017-01-22 09:00:43

fukin_jim
Member
Registered: 2013-02-27
Posts: 20

Re: Ranger, a textbased filemanager

Paul-S wrote:

The search function is still not working for me in 1.8.1, is it working for everyone else.

Cheers
Paul-S

Was having this problem too, seems some of my config files were executable and
shouldn't have been.  Fixed that and everything was good again.

Offline

#2081 2017-01-26 04:32:16

monodromy
Member
Registered: 2014-02-08
Posts: 62

Re: Ranger, a textbased filemanager

I'm having a problem where ranger takes several seconds to start up because I have an nfs mount in my bookmarks. If I'm away from home, the nfs mount is unavailable, and ranger hangs. The nfs is set to automount in my fstab. If I remove the bookmark, there is no lag. Is there a setting I can change to prevent this behavior? I don't want to mount the share unless I navigate to the mount point (this was the old behavior). I have automatically_count_files set to false, in case it matters. The relevant line in /etc/fstab is

192.168.0.2:/nfs/share     /mnt/point        nfs     nfsvers=3,rw,rsize=8192,wsize=8192,users,nofail,noauto,x-systemd.automount,x-systemd.device-timeout=10  0 0

Offline

#2082 2017-03-15 08:51:18

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: Ranger, a textbased filemanager

Ranger keeps getting installed as my default desktop opener for directories. I hand edited /use/share/applications/mimeinfo.cache to get rid of ranger but it gets installed back, presumably after any update where the desktop cache is rebuilt. What's the way to stop this? I am on GNOME and want to use the normal default nautilus. Couldn't find anything on the default applications wiki page to help with this.

Last edited by bulletmark (2017-03-15 08:52:20)

Online

#2083 2017-03-16 00:08:31

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 652

Re: Ranger, a textbased filemanager

bulletmark wrote:

Ranger keeps getting installed as my default desktop opener for directories. I hand edited /use/share/applications/mimeinfo.cache to get rid of ranger but it gets installed back, presumably after any update where the desktop cache is rebuilt. What's the way to stop this? I am on GNOME and want to use the normal default nautilus. Couldn't find anything on the default applications wiki page to help with this.

Ok, researched a bit then stuffed around a while to find a solution to my problem. It is:

ln -sf ~/.local/share/applications/mimeapps.list ~/.config/mimeapps.list
xdg-mime default org.gnome.Nautilus.desktop inode/directory

Online

#2084 2017-04-01 20:56:51

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

Re: Ranger, a textbased filemanager

You should be aware of the upcoming switch to GPL 3.1 [NSFW], as explained in this issue:

ranger is 8 years old now, and it's time to fix some mistakes that stuck with us since the early days. One of those is the fact that we have no "GPL 3 or later" clause in the license text, just plain "GPL 3". But the world of free software moves ahead and we need to stay on top of our game. Civil liberties are taken from us every day and we have to fight with every weapon that we have.

So I initiated the cumbersome procedure of upgrading the license to GPL 3.1, by mailing every contributor of ranger and asking for their permission to change GPL 3 to GPL 3.1.

Currently I have 22 confirmations of the 85 contributors, and I could not reach 5 of them (their code may need to be removed from ranger).

If over 50% of the contributors agree and the major parts of ranger are covered (git-integration, image/video previews, M-x butterfly), I will proceed with the upgrade to 3.1.

Last edited by hut (2017-04-11 20:16:17)


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

Offline

#2085 2017-04-03 02:27:58

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Ranger, a textbased filemanager

hut wrote:

You should be aware of the upcoming switch to GPL 3.1, as explained in this issue:

ranger is 8 years old now, and it's time to fix some mistakes that stuck with us since the early days. One of those is the fact that we have no "GPL 3 or later" clause in the license text, just plain "GPL 3". But the world of free software moves ahead and we need to stay on top of our game. Civil liberties are taken from us every day and we have to fight with every weapon that we have.

So I initiated the cumbersome procedure of upgrading the license to GPL 3.1, by mailing every contributor of ranger and asking for their permission to change GPL 3 to GPL 3.1.

Currently I have 22 confirmations of the 85 contributors, and I could not reach 5 of them (their code may need to be removed from ranger).

If over 50% of the contributors agree and the major parts of ranger are covered (git-integration, image/video previews, M-x butterfly), I will proceed with the upgrade to 3.1.

Honestly didn't even remember contributing any patches to ranger... was surprised to get the notification.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2086 2017-04-03 03:48:09

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Ranger, a textbased filemanager

Offline

#2087 2017-04-03 04:00:11

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Ranger, a textbased filemanager

No wonder I don't remember it... such a minor thing (yay open source?). Thanks x33a.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2088 2017-04-03 17:15:45

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

Re: Ranger, a textbased filemanager

To my surprise, few actually clicked on the link to the GPL 3.1 to see what they agree to

Last edited by hut (2017-04-03 17:16:06)


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

Offline

#2089 2017-04-04 01:28:46

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Ranger, a textbased filemanager

hut wrote:

To my surprise, few actually clicked on the link to the GPL 3.1 to see what they agree to

Well, my own reasoning is that if you think it's best, it's 'your' project. Why would I object, especially with such minimal contribution?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2090 2017-04-05 03:01:26

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Ranger, a textbased filemanager

ngoonee wrote:

No wonder I don't remember it... such a minor thing (yay open source?). Thanks x33a.

Indeed that's the beauty of Open Source, anyone can contribute in whatever capacity they can smile

Offline

#2091 2017-04-11 12:37:50

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: Ranger, a textbased filemanager

Would someone mind censoring that "GPL" link, pretty annoying to see goatse in the work environment.

Last edited by Alad (2017-04-11 12:39:41)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#2092 2017-04-11 20:17:19

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

Re: Ranger, a textbased filemanager

Done, sorry.


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

Offline

#2093 2017-05-02 08:16:10

pstree
Member
From: Paris, France
Registered: 2013-02-24
Posts: 37

Re: Ranger, a textbased filemanager

Hi,

first I want to say thanks for creating ranger, it's an awesome piece of software that I've using since I've switched to Arch, and I can't imagine my desktop without it.

Recently I discovered the 'bulkrename' function, alas it does not work with gVim. It just opens up an empty temp file.
But it works fine when I switch my $EDITOR to vim or nano.

Is there any way to make it work with gVim, or at least to force it to use vim or nano ?

Thanks for your help.


: (){ : |:& };:

Offline

#2094 2017-07-16 19:49:40

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

Re: Ranger, a textbased filemanager

Hi there!

There is some discussion about which python versions ranger should support.  ranger has no usage tracking mechanism like firefox or other software, so I would like to ask you to participate in this poll:

http://www.strawpoll.me/13451034

If you do not like strawpoll for whatever reason, you can also just send me an email or write a post with a list of python versions that you use with ranger. smile

Thanks! smile


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

Offline

#2095 2017-07-17 01:40:53

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Ranger, a textbased filemanager

hut wrote:

Hi there!

There is some discussion about which python versions ranger should support.  ranger has no usage tracking mechanism like firefox or other software, so I would like to ask you to participate in this poll:

http://www.strawpoll.me/13451034

If you do not like strawpoll for whatever reason, you can also just send me an email or write a post with a list of python versions that you use with ranger. smile

Thanks! smile

Maybe some context would be useful? Unsurprisingly the results are heavily skewed towards the two current versions of python in the Arch repos.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2096 2017-08-04 06:57:45

Stencon281
Member
Registered: 2016-09-21
Posts: 40

Re: Ranger, a textbased filemanager

Thanks for all the effort you've put into this! This is an extremely well made and useful file manager.

Offline

#2097 2017-08-14 04:48:33

NoSuck
Member
Registered: 2015-03-04
Posts: 157
Website

Re: Ranger, a textbased filemanager

People often report problems with NFS directories taking longer than expected to load under certain circumstances.  Symptoms have been likened to ranger unnecessarily statting every file.  I wonder:  Does mounting said NFS with "nordirplus" make any difference?

Offline

#2098 2018-01-28 19:26:55

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

Re: Ranger, a textbased filemanager

Hey people, I just wanted to let you know that v1.9.0 finally out: https://github.com/ranger/ranger/releases/tag/v1.9.0

Changelog: https://github.com/ranger/ranger/blob/m … ANGELOG.md


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

Offline

#2099 2018-01-31 10:03:29

sekret
Member
Registered: 2013-07-22
Posts: 284

Re: Ranger, a textbased filemanager

I never ran into one of the problems you fixed, and I didn't miss any of the features you added. But still, thanks a lot for ranger and especially for still actively developing it. This is no given!

Offline

#2100 2018-01-31 10:16:21

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: Ranger, a textbased filemanager

Fixed memory leak in w3m image preview

Finally! smile


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB