Tiny Core Linux

General TC => General TC Talk => Topic started by: gordonselfish on September 12, 2013, 10:33:10 PM

Title: [CLOSED] 5.x RC1 chat due to 5x now final
Post by: gordonselfish on September 12, 2013, 10:33:10 PM
Hi
I have started this thread for anyone to waffle on about matters relating to 5.x RC1 which does not involve any allegation of bug report for a TCZ---which would go to the TCE bug forum
AND
does not relate to TCB matters for RC1

CLOSED now that 5.x is final
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 12, 2013, 10:36:03 PM
As I use either flwm_topside or openbox I thought I would import idesk from the 4.x series

It works with changing the idesk dependency to mention it is
Quote
expat2.tcz
fontconfig.tcz
Xorg-7.7-lib.tcz
instead of 7.6
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 12, 2013, 10:47:02 PM
I am not an expert on idesk but I needed to use it to confirm if TCZs gave me
the correct desktop icons

here is proof of idesk in action.....but could be tweaked better I am sure
---caption tip fails....no great loss ATM

(http://oi44.tinypic.com/a40xv9.jpg)

click on image to zoom if interested

2) I am RH mouse user, double clicking with L mouse opens the app as expected

a rough guide cheating off the readme follows

mnt/sdb1/home/tc/.idesktop/wolf.lnk
contents of
Quote
table Icon
  Caption: wolf
  CaptionTip: its the wooliff
  Command: firefox/firefox
  Icon: firefox/browser/icons/mozicon128.png
  Width: 60
  Height: 65
  X: 50
  Y: 200
end

mnt/sdb1/home/tc/.ideskrc
contents of
Quote
table Config
  FontName: gothic
  FontSize: 11
  FontColor: #37CFA6
  ToolTip.FontSize: 11
  ToolTip.FontName: gothic
  ToolTip.ForeColor: #0000FF
  ToolTip.BackColor: #FFFFFF
  ToolTip.CaptionOnHover: true
  ToolTip.CaptionPlacement: Right
  Locked: false
  Transparency: 100
  Shadow: true
  ShadowColor: #000000
  ShadowX: 1
  ShadowY: 1
  Bold: true
  ClickDelay: 300
  IconSnap: true
  SnapWidth: 10
  SnapHeight: 10
  SnapOrigin: BottomRight
  SnapShadow: false
  SnapShadowTrans: 200
  CaptionOnHover: false
  CaptionPlacement: bottom
  FillStyle: fillinvert
  Background.Delay: 0
  Background.Source: None
  Background.File: None
  Background.Mode: Center
  Background.Color: #C2CCFF
end

table Actions
  Lock: control right doubleClk
  Reload: middle doubleClk
  Drag: left hold
  EndDrag: left singleClk
  Execute[0]: left doubleClk
  Execute[1]: right doubleClk
end

(C) Backup and move .xsession out of the way and supply a new one with contents suitable maybe for openbox users
Quote
/usr/local/bin/Xvesa -br -screen 1024x768x24 -shadow -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &
(sleep 2; idesk &) &

export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done

# start openbox
exec openbox
exit $?

Naturally as I do not know what I am doing  TRY AT OWN RISK

EDIT image has been updated to show wbar

onboot list was amended to remove flwm_topside and have openbox only
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 12, 2013, 10:49:15 PM
In case you can't spot it, that config points to a certain font name gothic
I don't have it loaded at the moment but the icon still gave me a font.

How about that! ;D

fluxbox users could mod my exec line to fluxbox with luck


AAAH I have just deleted my image folder for RC1 instead of a previous image I had above
Title: Re: 5.x RC1 general chat
Post by: coreplayer2 on September 13, 2013, 12:31:23 AM
I am curious why your windows manager needs to be started from .xsession?   

iDesk looks interesting,  honestly have never seen how to configure it before, thanks
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 12:38:18 AM
Quote
I am curious why your windows manager needs to be started from .xsession?   

You are probably correct as I said I am not an expert and followed the readme.
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 07:57:34 PM
just built and limited test of xarchiver but not yet tested import of xdg-utils
pms sent

there a quite a few more dependencies to import and test but first test on bz2 was good
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 09:53:56 PM
Juanito

its safe IMHO to import idesk with modified dep as per reply 1

2) test of unrar import also good
http://www.philipp-winterberg.com/download/example.rar
downloaded and
Code: [Select]
unrar e example.rar
UNRAR 3.90 beta 1 freeware      Copyright (c) 1993-2009 Alexander Roshal
Extracting from example.rar
Extracting  Fifteen_Feet_of_Time.pdf                                  OK
All OK

pdf viewed in firefox OK
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 10:02:18 PM
Juanito

test of import zip-unzip is good

http://www.edrawingsviewer.com/ed/docs/analysis.zip
Code: [Select]
unzip analysis.zip
Archive:  analysis.zip
  inflating: Analysis[1].exe
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 10:12:47 PM
Juanito

could not see an easy sample but import of cpio should be ok based on
http://www.thegeekstuff.com/2010/08/cpio-utility/

Code: [Select]
cd test
tc@box:/tmp/test$ touch a b
tc@box:/tmp/test$ ls
a  b
ls | cpio -ov > /tmp/test1.cpio
a
b
1 block
###################
cd /tmp
tc@box:/tmp$ cpio -idv < /tmp/test1.cpio
a
b
1 block

EDIT
my build of xarchiver not opening it.....damn
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 10:30:52 PM
Juanito

also import of p7zip looks ok as well as per
http://www.thegeekstuff.com/2010/04/7z-7zip-7za-file-compression/
Code: [Select]
tmp$ 7z a myfiles.7z test/
7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)
Scanning
Creating archive myfiles.7z
Everything is Ok
tc@box:/tmp$ ls
a      appserr k5_skip  menu.tmp    tags.db  tcloop/  test1.cpio
aberr  b mc-tc/ myfiles.7z  tce/     test/    wm_errors
####################################
tc@box:/tmp$ cp myfiles.7z ~
tc@box:/tmp$ cd ~
tc@box:~$ 7z e myfiles.7z
7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)
Processing archive: myfiles.7z
Extracting  test/a
Extracting  test/b
Extracting  test
Everything is Ok
Folders: 1
Files: 2
Size:       0
Compressed: 129

I know there are other compressions but simple tests only from me YMMV

EDIT
my xarchiver does not open it

I might need to rebuild-----that I have imported some dependencies later
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 13, 2013, 10:42:13 PM
ahh found it, open xarchiver and choose folder to create a new compression
--pull down compression type and cpio and p7zip are not listed

will need to reboot to check if its the same for 4.x series and edit later

EDIT
in 4.x its the same deal....so I have not made a mistake, there are too many dependencies in current xarchiver as per
(http://oi44.tinypic.com/2jea2xe.jpg)

click on image to zoom if interested
Title: Re: 5.x RC1 general chat
Post by: Juanito on September 14, 2013, 12:18:50 AM
idesk, cpio, zip-inzip and p7zip uploaded to 5.x repo - thanks
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 14, 2013, 01:39:05 AM
unless someone can give a better explanation,
I don't think I can test xdg-utils until we have a true Desktop environment
---it appears to have main use of mime type registration?

Quote
xdg-utils is a a set of command line tools that assist applications with a variety of desktop integration tasks.

so in xarchiver, it says install it for extra features but not sure what they might be,
as in 4.x I was only using it as my pcmanfm/spacefm archive manager.
---and normally only unpack gz/bz2/tar files
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 14, 2013, 01:41:46 AM
Juanito

thanks for uploading, did you know unrar is also possible?
reply 7
Title: Re: 5.x RC1 general chat
Post by: Juanito on September 14, 2013, 01:46:36 AM
You mean unrar works with tc-5.x and can be uploaded to the tc-5.x repo?
Title: Re: 5.x RC1 general chat
Post by: gordonselfish on September 14, 2013, 02:36:26 AM
yes

evidence is reply 7 part (2)
Title: Re: 5.x RC1 general chat
Post by: Juanito on September 14, 2013, 02:48:43 AM
unrar copied over