Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 04:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
MC Midnight Commander
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Author Message
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 20 Sep 2010, 03:23    Post subject:  

uploaded actual stable version. see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4253
Location: Gatineau (Qc), Canada

PostPosted: Wed 03 Nov 2010, 22:14    Post subject:  

Here's my script to run mc as transparent.

Code:
#!/bin/bash
# mccolor-tr.sh
# mccolor transparent

urxvt -bg sienna4 -fg cornsilk -sr +st -bc -T Midnight_Commander -tr -tint white -sh 67 -bd firebrick4 -g 140x48+150+150 -cr white -b 4 -e mc --colors normal=blue,default:selected=brightblue,gray:marked=yellow,default:markselect=yellow,gray:directory=brightblue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default


Works in Squeeze 0.09 and probably many other Puppies.

Please note the actual colour coding is not from me (the part starting at --colors, until the end). Trying to retrace the author... There is a dead link on this page, but the illustration is still there.

http://www.xxzz.de/index.php?serendipity%5Baction%5D=search&serendipity%5BsearchTerm%5D=mccolor&serendipity%5BsearchButton%5D.x=0&serendipity%5BsearchButton%5D.y=0

I do not understand German, but it seems that the colour settings in the script above were written by a "Stefan Krauth am Sonntag, 23. November 2008". If a German-speaking person could confirm that? (aragon, maybe?) Smile Thanks in advance.

So that's my bit towards more honesty everywhere today. Cool

Also, mc 4.7 now supports skins, and there are so many sites about those skins that you'll get lost!

Enjoy!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 05 Nov 2010, 12:59    Post subject:  

Hi Christian,

yes the name of the kraut is 'Stefan Krauth'.

Thanks for posting the script.

Aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4253
Location: Gatineau (Qc), Canada

PostPosted: Fri 05 Nov 2010, 13:18    Post subject:  

Thanks, aragon, for checking the validity of that information.

Here is another script, but this time for the gotar skin (included in aragon's package).

I'll post the "rem's" below. They are a bit long, but they may help newbies understand how "make the bed" for mc. The attached pet file runs "out of the box". Also, see the picture.

@van78: It's got a " gotar.desktop " file, too! Very Happy So it can be run from the menu.

/////////////////

Code:
#!/bin/sh
# mc-gotar.sh
# Script for mc using the included "gotar" skin, by musher0.
# Save in : /root/my-applications/bin
# and give it permission to be run.

# urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=17" -g 100x35+67+113 -fg DarkSeaGreen1 -bg "#5D2E33" -T Midnight_Commander -e mc -S gotar

# Notes by musher0, Nov. 3, 2010
#################################
# geometry
##########
# Suggested geometries:
# -g 84x30+67+113
# -g 132x48+67+113  # Anything else too big, I'd say. Limited by screen itself.
# -g 120x40+67+113
# -g 110x45+67+113
# -g 100x35+67+113  # Happy medium, I think.

# Backgrounds
#############
# Also possible, of course : -bg black. Gives better contrast than the
# following: # -bg IndianRed4 # -bg "#133659" # coral4 # "#693B1C" # darkred
# However, I find that " -bg "#5D2E33" " gives a kind of "red wine" colour
# against which all elements of the gotar skin are well contrasted.

# Fonts
#######
# Always possible, of course: no font parameter.
# mc will use whatever (u-), (m-) or rxvt proper hands over.
#
# -fn "x:9x15" # Provided by the Linux system. Hm...
#
# -fn "xft:Bitstream Vera Sans Mono:pixelsize=17"
# provides a better alternative. This font usually comes with Puppy.
# If, somehow, it's not included, it can be found here:
# http://www.fontsquirrel.com/fonts/download/Bitstream-Vera-Sans-Mono
#
# The font will play accordeon with the geometry parameter and make mc
# take the screen space it needs automatically. (My understanding of it!)
#
# The "mono" variants of fonts such as Liberation and Toga can be tried, but
# find an afternoon with nothing better to do (:-(, expect variable success,
# and lots of fiddling with the fontsize.
#
# Reminder for installing new fonts
###################################
# Place in /usr/share/fonts/default/TTF # and then do,
# in console : " fc-cache " (without the quotes) to activate it.
#
# Fontsize
##########
# If your focusing capacity rivals that of a microscope, then go right ahead
# and specify a smaller fontsize than what's indicated in the line!

# Once you've read it, make a copy of this script under
# ~/my-documents/DOCS-Linux/mc-gotar.txt # (suggested location),
# and erase the comments from the script itself to gain a few bytes
# in RAM at runtime.
############## end ################


Enjoy!
mc-gotar-0.01.pet
Description  "gotar" script for Midnight Commander
pet

 Download 
Filename  mc-gotar-0.01.pet 
Filesize  2.23 KB 
Downloaded  648 Time(s) 
gotar1.jpg
 Description   
 Filesize   85.67 KB
 Viewed   1374 Time(s)

gotar1.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Fri 10 Dec 2010, 00:18    Post subject:  

This is a great application - wasn't sure if i would like it at first but after a day find i am using it just as much as rox. Smile

Are you guys using puppyfied /etc/mc/mc.ext file? i had to change mine to get images to open with viewnior and mp3's with mplayer.

thanks.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4253
Location: Gatineau (Qc), Canada

PostPosted: Fri 10 Dec 2010, 00:34    Post subject:  

Hi, stu90.

Actually, I stopped using mc when I started using the mywolfe 0.21 derivative.,

I can't pin-point why, under that Puppy derivative, an utf-8 bug breaks mc when
you scroll down any one of file panels. The bug is documented, actually, but I won't
conjecture anything as to why it's happening now.

Instead, I'm trying to figure out IBM's F: file manager (also known as xflinux)
at this time.

But under Puppy Squeeze, mc works great.

As to configuring mc to open any file type, I know it can be done, but I didn't
get that far. Better ask someone else !

Have a great day!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Fri 10 Dec 2010, 09:53; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 10 Dec 2010, 08:12    Post subject:  

stu90 wrote:
This is a great application - wasn't sure if i would like it at first but after a day find i am using it just as much as rox. Smile

Are you guys using puppyfied /etc/mc/mc.ext file? i had to change mine to get images to open with viewnior and mp3's with mplayer.

thanks.


only thing i've added to the regular is

Code:
# .pet
regex/\.pet$
   Open=%cd %p#utar
   View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -


which adds the abilty to 'browse' into pets seemlessly.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Sat 05 Feb 2011, 06:42    Post subject:  

uploaded actual stable version. see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sun 27 Feb 2011, 21:32    Post subject:  

thanks for MC update aragon Cool
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 12 Sep 2011, 15:27    Post subject:  

uploaded new version. see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 31 Oct 2011, 16:03    Post subject:  

uploaded actual version to first post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0720s ][ Queries: 13 (0.0054s) ][ GZIP on ]