You are not logged in.

#51 2010-03-16 21:07:57

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

Re: Ranger, a textbased filemanager

paldepind wrote:

This is awesome!! I like how the horizontal scrolling works and the preview of text files is nice too.

For some time I've been thinking about setting up a complete CLI environment on my netbook (just for fun). This program is sure going to be usefull.

Thanks!

Thats exactly what I did tongue Though it turned out that I can't live without firefox and mplayer


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

Offline

#52 2010-03-16 21:18:12

paldepind
Member
From: Århus, Denmark
Registered: 2010-02-17
Posts: 141

Re: Ranger, a textbased filemanager

hut wrote:

Thats exactly what I did tongue Though it turned out that I can't live without firefox and mplayer

Cool big_smile I guess you're right that browsing the web in a terminal is pretty hard. Especially if you want to watch YouTube videos..

Offline

#53 2010-03-16 21:22:34

erno
Member
Registered: 2009-08-24
Posts: 69

Re: Ranger, a textbased filemanager

I absolutely love your work! Just what I needed and well documented too.

However I have experienced a few freezes that might be related to suspend-to-ram cycles. I end up with a process that I'm unable to kill. How to troubleshoot further?

Offline

#54 2010-03-16 21:24:51

Loke
Member
From: Denmark
Registered: 2005-10-21
Posts: 139

Re: Ranger, a textbased filemanager

love it, great job.

Offline

#55 2010-03-16 21:25:46

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

Re: Ranger, a textbased filemanager

erno wrote:

However I have experienced a few freezes that might be related to suspend-to-ram cycles. I end up with a process that I'm unable to kill. How to troubleshoot further?

pkill -9 ranger doesn't work?

Anyway, more details would be helpful

Last edited by hut (2010-03-16 21:28:12)


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

Offline

#56 2010-03-16 21:37:53

erno
Member
Registered: 2009-08-24
Posts: 69

Re: Ranger, a textbased filemanager

Nope, still there.

user    17996  0.0  0.8  15120 10944 ?        D    10:56   0:16 /usr/bin/python /usr/bin/ranger

Not sure what info I can give that's helpful...I launch ranger on an urxvtc window, s2ram, wake up and find it frozen.

Offline

#57 2010-03-16 21:48:58

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

Re: Ranger, a textbased filemanager

Did you possibly use sshfs to mount a remote device which got unavailable after waking up from s2ram? And ranger was inside (or previewed) that directory? In that case, try to properly unmount it

edit:
Nevermind, in that scenario, ranger freezes as well (as do all other programs, like "ls") but you can kill it without any trouble.

Well, dunno really.

Last edited by hut (2010-03-16 21:57:05)


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

Offline

#58 2010-03-16 22:08:00

erno
Member
Registered: 2009-08-24
Posts: 69

Re: Ranger, a textbased filemanager

Yup, that's it. Thanks and sorry for the trouble.

Offline

#59 2010-03-16 23:19:38

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Ranger, a textbased filemanager

great work!!!
continue in the good way wink

Offline

#60 2010-03-16 23:34:45

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

Re: Ranger, a textbased filemanager

erno wrote:

However I have experienced a few freezes that might be related to suspend-to-ram cycles. I end up with a process that I'm unable to kill. How to troubleshoot further?

A fix for this would be appreciated.

https://savannah.nongnu.org/bugs/index.php?29238

Last edited by hut (2010-03-16 23:35:31)


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

Offline

#61 2010-03-16 23:36:38

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

Re: Ranger, a textbased filemanager

GGLucas wrote:

I expected the texas colorscheme to change the colors, but they didn't, probably an 88 color thing.

the colorschemes under $home/.ranger don't seem to get read yet , the schemes in /usr/share are used

hut? smile


ᶘ ᵒᴥᵒᶅ

Offline

#62 2010-03-16 23:40:02

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

Re: Ranger, a textbased filemanager

Colorschemes can be placed in ~/.ranger/colorschemes.


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

Offline

#63 2010-03-17 00:39:18

ntness
Member
From: The World
Registered: 2009-12-29
Posts: 97

Re: Ranger, a textbased filemanager

I've set apps.py to use zathura instead of apvlv to no avail. Instead, I just get an 'open with' dialogue when trying to open pdf files and after inputting 'zathura' nothing happens. What am I doing wrong?


transcend to the fifth abode

Offline

#64 2010-03-17 00:45:04

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

Re: Ranger, a textbased filemanager

apps are slightly complicated. There is the line
return self.either(c, 'evince', 'apvlv')
did you just change the string 'apvlv' to 'zathura'? That won't do it, you additionally have to define zathura. Scroll down a bit, there's a function called app_vim. just copy that, and change vim to zathura so it looks like this:

@depends_on('zathura')
def app_zathura(self, c):
    return tup('zathura', *c)

Now you can use zathura as an application, in the "open with" dialog and in the self.either() method


Edit: Or just upgrade ranger, I have done that for you.

Though, please can you tell me what you tried to do? If I know more about what a user thinks, I can make the configuration more simple for everyone.

Last edited by hut (2010-03-17 00:58:20)


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

Offline

#65 2010-03-17 01:07:57

ntness
Member
From: The World
Registered: 2009-12-29
Posts: 97

Re: Ranger, a textbased filemanager

Thanks much for the clarification. I love you, er, I mean, I love this app, and, ah, screw it, you.


transcend to the fifth abode

Offline

#66 2010-03-17 01:10:02

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

Re: Ranger, a textbased filemanager

Then read what I write! tongue

Though, please can you tell me what you tried to do? If I know more about what a user thinks, I can make the configuration more simple for everyone.

Or did you do what I was thinking?

did you just change the string 'apvlv' to 'zathura'?


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

Offline

#67 2010-03-17 01:16:09

ntness
Member
From: The World
Registered: 2009-12-29
Posts: 97

Re: Ranger, a textbased filemanager

All is well. At first I had just changed the string 'apvlv' to 'zathura'. But, as per your suggestion, I added the three lines of code you provided and it now works fine. Thanks again.


transcend to the fifth abode

Offline

#68 2010-03-17 02:01:00

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

Re: Ranger, a textbased filemanager

In fact I made the same error xD Somewhere else in the app_default function, I use "nano" even though I define it nowhere.

Anyway, since this basic three-line definitions are so common, I made it optional. (So the thing you tried at first would have worked right away)


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

Offline

#69 2010-03-17 09:21:18

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

Re: Ranger, a textbased filemanager

hut wrote:

Colorschemes can be placed in ~/.ranger/colorschemes.

yes i have them placed there, but i can only make visible changes by changing the schemes in /usr/share/ranger/ranger/colorschemes


ᶘ ᵒᴥᵒᶅ

Offline

#70 2010-03-17 09:27:03

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

Re: Ranger, a textbased filemanager

Thats weird. A __init__.py should be autogenerated inside ~/.ranger/colorschemes. Does that happen?


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

Offline

#71 2010-03-17 09:47:41

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

Re: Ranger, a textbased filemanager

hut wrote:

Thats weird. A __init__.py should be autogenerated inside ~/.ranger/colorschemes. Does that happen?

yes, this is it's contents:

--snip--

fixed, i copied the entire colorschemes dir from /usr/share, but it seems i should have let out the __init file

Last edited by litemotiv (2010-03-17 09:50:02)


ᶘ ᵒᴥᵒᶅ

Offline

#72 2010-03-17 10:12:20

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

Re: Ranger, a textbased filemanager

Well, a few days after my first touch with ranger, I really have to say, this thing is amazing! Never before I felt like "WOW!" that much when using a new discovered application. But your ranger is over the tops a really amazing piece of software. I mean it!

Hut ab, Respekt, weiter so! Lass dieses Projekt bitte nie sterben, das Teil ist einfach geil

Last edited by Army (2010-03-17 11:11:14)

Offline

#73 2010-03-17 10:20:15

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

Re: Ranger, a textbased filemanager

This is so beautiful that it can make grown men cry. The documentation is outstanding too. I can only say what most people here have already said: amazing, classic, bye-bye mc (and all other attempts to find something similar).
Thank you!

Offline

#74 2010-03-17 12:20:22

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: Ranger, a textbased filemanager

I very much like it. I have edited apps.py to open all files using exo-open which i use for opening files in dmenufm.

Thank you.


Tamil is my mother tongue.

Offline

#75 2010-03-17 13:35:43

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

Re: Ranger, a textbased filemanager

Thank you for the thank yous!

bharani wrote:

I very much like it. I have edited apps.py to open all files using exo-open which i use for opening files in dmenufm.

Can you share the changes? (via pastebin or email or...)


"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