You are not logged in.

#1651 2013-03-08 02:55:33

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

Re: Ranger, a textbased filemanager

shuuichi_nitori wrote:

@hut @archman-cro Thank you very much, now sxiv is working flawlessly!

sxiv works flawlessly out of the box now btw, thanks to the option "open_all_images" (enabled by default). See this post.


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

Offline

#1652 2013-03-10 18:15:06

loop
Member
Registered: 2011-05-06
Posts: 58

Re: Ranger, a textbased filemanager

Hello!
Is it possible to highlight inactive tabs numbers with different color like this:
kHitnRs.jpg

Offline

#1653 2013-03-11 10:46:11

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 279

Re: Ranger, a textbased filemanager

Cant get images to display
I have ranger-stable 1.6.0
I have w3m installed
I have set preview_images true   in rc.conf  and also
I have set use_preview_script true
and
set preview_script ~/.config/ranger/scope.sh

I have tried using ranger in 3 different terminals
xterm
uxterm
urxvt


You can like linux without becoming a fanatic!

Offline

#1654 2013-03-11 10:59:04

loop
Member
Registered: 2011-05-06
Posts: 58

Re: Ranger, a textbased filemanager

@chickenPie4tea, in my case it was necessary to have w3m-img package installed too (i'm on debian).

Offline

#1655 2013-03-11 11:04:22

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 279

Re: Ranger, a textbased filemanager

@Loop  thanks for a quick response!
yes all I needed was w3m-img  - i'm also on Debian (crunchbang)


You can like linux without becoming a fanatic!

Offline

#1656 2013-03-11 11:26:36

loop
Member
Registered: 2011-05-06
Posts: 58

Re: Ranger, a textbased filemanager

@chickenPie4tea, you are welcome smile

Offline

#1657 2013-03-11 21:09:33

ryzion
Member
From: Germany
Registered: 2012-03-20
Posts: 78

Re: Ranger, a textbased filemanager

First of all, thanks for your help so far, hut.

Is there some kind of threshold for the preview script? I.e. rendering the preview after 100 ms? I think this would improve the user experience while scrolling tremendously.

Offline

#1658 2013-03-15 01:12:09

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

Re: Ranger, a textbased filemanager

@loop and ryzion:
sorry for the late reply. The answer is no to both your questions, but feel free to patch it. If you don't have time, add it to the bug tracker; otherwise it will probably be forgotten


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

Offline

#1659 2013-03-18 20:55:51

psli
Member
From: Santa Clara, CA
Registered: 2012-10-18
Posts: 8

Re: Ranger, a textbased filemanager

Hi,
I was wondering if any has managed to get true transparency working with the framebuffer image preview?
I understand that w3m doesn't play well with 32bit color depth, and that 32bit depth is necessary for true transparency (at least on urxvt).
Has anyone found a way to get both?

______
awesome wm
ranger
urxvt

Offline

#1660 2013-03-19 10:52:34

markoer
Member
Registered: 2010-12-15
Posts: 55

Re: Ranger, a textbased filemanager

maping as copy and paste methods (save_copy_buffer and load_copy buffer) works as it intended to be, but
if I mapped save_copy_buffer with cut method and try to paste it in the same way, then file which is cut-ed ramin intact, infact it only copy file location to copy_buffer as it was only copied.

Offline

#1661 2013-03-19 11:51:26

kleskjr
Member
Registered: 2011-12-31
Posts: 33

Re: Ranger, a textbased filemanager

not sure whether it's already reported: often after extensive usage, ranger would start consuming 100% cpu and wouldn't stop..
Any ideas how to track down the problem?

Offline

#1662 2013-03-19 19:37:58

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

Re: Ranger, a textbased filemanager

kleskjr wrote:

not sure whether it's already reported: often after extensive usage, ranger would start consuming 100% cpu and wouldn't stop..
Any ideas how to track down the problem?

Could your ranger perhaps be working on some big tasks, kleskjr? Pressing "w" shows the Task View, then "d" or "Del" deletes any tasks you wouldn't mind stopping. Apologies if this is no help.


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

Offline

#1663 2013-03-19 19:46:33

dag
Member
From: US
Registered: 2013-01-20
Posts: 216

Re: Ranger, a textbased filemanager

this happend once to me a while back and using htop to shut it down worked(only one instance running); it had python and ranger in the command field so ether could have be the culprit. I have had multiple rangers open and compressing with no big jumps in load.


--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.

Offline

#1664 2013-03-19 20:30:30

ObliviousGmn
Member
Registered: 2011-09-14
Posts: 49
Website

Re: Ranger, a textbased filemanager

kleskjr wrote:

not sure whether it's already reported: often after extensive usage, ranger would start consuming 100% cpu and wouldn't stop..
Any ideas how to track down the problem?

I get CPU spikes as well. Not sure if this happens to you, But I mostly/barely get them when ranger is trying to gather an image preview with scope.sh.. I usually just abort the process by pressing Ctrl + c. Maybe we're just experiencing two different problems.

Offline

#1665 2013-03-19 21:49:17

kleskjr
Member
Registered: 2011-12-31
Posts: 33

Re: Ranger, a textbased filemanager

Miblo wrote:
kleskjr wrote:

not sure whether it's already reported: often after extensive usage, ranger would start consuming 100% cpu and wouldn't stop..
Any ideas how to track down the problem?

Could your ranger perhaps be working on some big tasks, kleskjr? Pressing "w" shows the Task View, then "d" or "Del" deletes any tasks you wouldn't mind stopping. Apologies if this is no help.

Nice, didn't know about 'w' before. Seems the problem happens while generating preview for pdf files, and occasionally gets stuck on some file. ctrl-c kills the task without quitting ranger. Thanks.

Miblo wrote:

I get CPU spikes as well. Not sure if this happens to you, But I mostly/barely get them when ranger is trying to gather an image preview with scope.sh.. I usually just abort the process by pressing Ctrl + c. Maybe we're just experiencing two different problems.

If I recall correctly, I got the same issue while browsing some photo folders as well. The first time I experience this behavior was after the 1.6 upgrade.

Offline

#1666 2013-03-20 14:19:23

andmars
Member
Registered: 2012-03-13
Posts: 153

Re: Ranger, a textbased filemanager

I'm using ranger in combination with feh and I think in previous versions ranger behaved differently. Let's say I have a folder with 10 pictures. A while ago I could open up ranger, go to the folder and hit enter an the first picture to have it opened with feh in a new window. Then I could hit "v" to make it fullscreen. Then I could use the arrow keys to skip to the next picture in that folder. With the current version of ranger this doesn't seem to work as I have to mark all pictures in a filder in ranger first, hitting "v" button and then have it opened with feh. Is there a way I can get this behaviour of ranger back so I don't have to mark all pictures in a folder first if I want to see all of them?

Offline

#1667 2013-03-20 14:24:31

theGunslinger
Member
Registered: 2011-05-20
Posts: 299

Re: Ranger, a textbased filemanager

Are there any news for those of us who get black lines across pictures previews? I really like this option but I can't seem to get it to work properly, black lines block a big part of all images.

Edit: I'm not sure why, but setting borders to true made image previews display like they should...

Last edited by theGunslinger (2013-03-20 15:31:50)

Offline

#1668 2013-03-20 16:07:04

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Ranger, a textbased filemanager

andmars wrote:

I'm using ranger in combination with feh and I think in previous versions ranger behaved differently. Let's say I have a folder with 10 pictures. A while ago I could open up ranger, go to the folder and hit enter an the first picture to have it opened with feh in a new window. Then I could hit "v" to make it fullscreen. Then I could use the arrow keys to skip to the next picture in that folder. With the current version of ranger this doesn't seem to work as I have to mark all pictures in a filder in ranger first, hitting "v" button and then have it opened with feh. Is there a way I can get this behaviour of ranger back so I don't have to mark all pictures in a folder first if I want to see all of them?

Do you use stable ranger from the repos or ranger-git?

In ranger-git it's supposed to be the opposite of what you describe. I use sxiv and just a few days/weeks ago hut implemented, that if you open a picture with either sxiv or feh, it'll actually load all pics in the current directory.

Did you make a custom configuration to make ranger behave like this? Maybe it's best if you run ranger without custom configs to see how it behaves.

Offline

#1669 2013-03-20 18:36:43

andmars
Member
Registered: 2012-03-13
Posts: 153

Re: Ranger, a textbased filemanager

Army wrote:

Do you use stable ranger from the repos or ranger-git?

Thanks for pointing this out to me, and right you are. I was using ranger-git before and only recently switched to ranger from [community]. Now with ranger-git I have this functionality back.

Last edited by andmars (2013-03-20 18:37:02)

Offline

#1670 2013-03-20 21:35:48

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,437
Website

Re: Ranger, a textbased filemanager

Speaking of image viewing, I have a couple of directories with 8000+ images and regardless of using current ranger (select all) or ranger-git, I always get:
'[Errno 7] Argument list too long'
I seem to remember this worked fine with older versions of ranger (although TBH, I haven't browsed these directories for awhile, so I can't be sure when it stopped working).

Any ideas how to overcome this?

Thanks!
Scott

Offline

#1671 2013-03-24 10:42:45

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 435

Re: Ranger, a textbased filemanager

Hi, after upgrading i can't find ~/.config/ranger/apps.py ... where is it? How can i set default applications? Thanks!

Last edited by TheImmortalPhoenix (2013-03-24 10:43:08)

Offline

#1672 2013-03-24 12:16:54

loop
Member
Registered: 2011-05-06
Posts: 58

Re: Ranger, a textbased filemanager

Hi, @TheImmortalPhoenix, this functionality is now on rifle.conf.

Offline

#1673 2013-03-24 12:33:56

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 435

Re: Ranger, a textbased filemanager

I see, thanks! I have a problem with feh: how could i set the option "--start-at" in rifle.conf? If i append it to feh, it won't start

Offline

#1674 2013-03-24 15:55:56

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

Re: Ranger, a textbased filemanager

@markoer:
To use :load_copy_buffer for moving instead of copying, you could type this: "!mv -t . %c" after :load_copy_buffer.  There will be no progress bar, but it works.

@people with 100% CPU problems:
Yeah, just press ^C to abort the current task. I will investigate the reason for this eventually.

@theGunslinger:
Sorry, the preview_images feature is still somewhat experimental. It's just a matter of time.

@firecat53:
ranger opens all images at once, passing the file names of the images as arguments. Too many images cause the argument list to blow up. You could disable opening all images by setting "set open_all_images false" in rc.conf to avoid this error. If you only want to disable this feature in your super-huge directory, use: "setlocal path=/home/firecat/cat_pics open_all_images false" in rc.conf. :3 (note that the path is a regex in the newest ranger versions. Use "\s" instead of spaces.)

@TheImmortalPhoenix:
Do you want to open all image files with feh? Changing the configs is unnecessary for that, ranger does it automatically now, as long as the option "open_all_images" is set to true. (which is the default).


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

Offline

#1675 2013-03-24 19:32:47

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 435

Re: Ranger, a textbased filemanager

hut wrote:

@TheImmortalPhoenix:
Do you want to open all image files with feh? Changing the configs is unnecessary for that, ranger does it automatically now, as long as the option "open_all_images" is set to true. (which is the default).

When i open an image placed in a directory with other images, feh displays me just that image and i can't go back or next with arrows...i should select all images with "v" if i want to do that...i didn't have this issue with the old version of ranger and i think that it was because of that argument (--start-at) specified in the apps.py

Last edited by TheImmortalPhoenix (2013-03-24 19:34:27)

Offline

Board footer

Powered by FluxBB