Akita Linux, Beta 16 ISO

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#321 Post by sc0ttman »

don570 wrote:Billtoo has compiled latest links browser
Won't work in Akita, missing deps - and is very large compared to elinks, plus elinks has more features.. Although this links does have fb support built in, so maybe that's why... I have yet to enable the framebuffer successfully in Akita (or Puppy in general) but Xfbdev is installed in Akita... Just needs directfb installed, then setting up, I think... I would love to get it working..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

sfs_load-1.1.1

#322 Post by shinobar »

Updated: sfs_load-1.1.1, confirmed working on Akita Linux beta3.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#323 Post by technosaurus »

I just wanted something to load and run the GUI app(s), then go away, and work on vanilla kernels without unionfs or aufs support so I put together a fast mounter/linker/autoexecutor
It could probably use a jwm-tools free GUI to choose which apps to run from a single menu, but I always use jwm and usually package 1 binary per file, so it stays on the todo list for now. Thought it might be useful (except for the jwm_notify part ... its a hack I grokked for my x+jwm+rxvt only dev base) I tried to be smart about whether to copy or symlink (i could do removal a little smarter though ... not delete stuff in $HOME when packagers do crazy crap like including the user config in root rather than modifying the global one in /etc) and it tries to support multiuser by replacing root with $HOME

Code: Select all

#!/bin/ash

linkmount(){
[ ! -d ${1} ] && echo usage $0 /mnt/directory not $1 && exit
for F in ${1}/* ; do
   NF=/${F#/*/*/} #the root of the mount
   case ${NF} in #multiuser support
      /root*)NF=${HOME}/${NF#/*/}
   esac
   if [ -L ${F} ];then #handle symlinks first in case of looping links (ex ., ../)
      cp ${F} ${NF} && echo ${NF} >>${2}
   elif [ -d ${F} ];then #if its a directory, we want to thread and recurse it
      [ ! -e ${NF} ] && mkdir ${NF} && NEWDIR=true
      linkmount ${F} $2 &
      [ $NEWDIR ] && echo ${NF} >>${2}
   elif [ -f ${F} ];then #we can just use symlinks for all but dir & nodes
   case ${NF} in
      ${HOME}*)cp ${F} ${NF} && echo ${NF} >>${2};;
      *)ln -s ${F} ${NF} && echo ${NF} >>${2};;
   esac
else #for /dev/* mostly ... we need write access to block/char devices
   cp ${F} ${NF} && echo ${NF} >>${2}
fi
done
}

mntdir=/mnt/${1##*/}

if [ -d ${mntdir} ];then
   while read LINE; do
      [ -d ${LINE} ] && rmdir ${LINE} || rm ${LINE} &
   done <${HOME}/.packages/${1##*/}.files
   rm ${HOME}/.packages/${1##*/}.files &
   umount ${mntdir} &&   rmdir ${mntdir} &
else
   mkdir -p ${mntdir} 2>/dev/null
   busybox mount ${1} ${mntdir} 2>/dev/null
   linkmount ${mntdir} ${HOME}/.packages/${1##*/}.files 2>/dev/null
   sleep .2
   if [ -d ${mntdir}/usr/share/applications ];then
      for PROG in ${mntdir}/usr/share/applications/*.desktop; do
         while read LINE; do
            case $LINE in
               Name=*)NAME=${LINE#*=};;
               Exec=*)EXEC=${LINE#*=};;
               Comment=*)COMM=${LINE#*=};;
               Icon=*)ICON=${LINE#*=};;
            esac
         done <${PROG}
         #one prog
         jwm_notify "${NAME}" "${COMM}" "${ICON}" "${EXEC}" close "click here to continue without running $NAME" mini-stop.xpm exit
      done
   fi
fi

Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: sfs_load-1.1.1

#324 Post by sc0ttman »

shinobar wrote:Updated: sfs_load-1.1.1, confirmed working on Akita Linux beta3.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
You da man!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#325 Post by sc0ttman »

technosaurus wrote:I just wanted something to load and run the GUI app(s), then go away, and work on vanilla kernels without unionfs or aufs support so I put together a fast mounter/linker/autoexecutor
Gonna have a play with this, and see how it goes, I already got otf_sfs (goingnuts) and sfs_load (shinobar) both installed in Akita, now I'm spoiled for choice!! :D

I'm not entirely sure I got jwm-notify working fully, yet to test it in any meaningful situation, but as I say, I'm gonna run my standard OTF SFS test - load a browser, and a devx, then compile some stuff with it!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#326 Post by sc0ttman »

technosaurus wrote:...when packagers do crazy crap like including the user config in root rather than modifying the global one in /etc)
I am sooooooo guilty of that! vlc-gtk, browser-installer, toggle-rox-desktop, feh, conky, elinks, desksetup - I wondered where to put their config files and always ended up in /root :roll: :oops:
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#327 Post by sc0ttman »

SFS-Load Report: If the path to an SFS file contains the '[' or the ']' characters, then the SFS is not found or loaded. This is a problem in Akita, as mounted drives are automatically symlinked to '/media/$LABEL [$DRIVE]', for easy GTK shortcuts to mounted drives..

So for now, when loading SFS files, you need to go through /mnt/

I will try to fix the paths thing if I can.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

unrtf

#328 Post by don570 »

You seem to want to replace Abiword with text only utilities.

unrtf is a popular one in UNIX world

The problem with these free utilities is how well
they handle foreign accented characters.

http://www.archlinux.org/packages/community/i686/unrtf/

________________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

ghasher

#329 Post by don570 »

I noticed that ghasher had a strange icon
when used with the right click menu.

This should fix it, but I noticed that
when I tried to use ghasher with pet packages
a different icon was used.

_____________________________________
Attachments
akita-upgrade-ghasher.pet
fix for ghasher icon
(1.19 KiB) Downloaded 435 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#330 Post by don570 »

I'm still having a problem with 3 icons not aligned to
the right side of screen. I tried the fix you suggested
but it did nothing.

I noticed that if I manually drag the icons to the right
side of screen that they will stay there permanently,
so the problem probably lies with Barry Kauler's script.


By the way FixPuppyPin.bak and FixPuppyPin are the same
file as best I can tell!!

If you are stumped as to how to fix this, I would
suggest placing all icons on left side of screen,
which some puppy variants do.

Just so you can check, here are two files so you can check
what happens when I move the three icons manually.

___________________________________________
Attachments
PuppyPin_don570.tar.gz
PuppyPin at startup and after a manual change
(760 Bytes) Downloaded 430 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Beta 3 flaws

#331 Post by don570 »

Beta 3 flaws



1) Right hand click of folder says 'add to archive'
but it didn't work correctly for me. First I get an error
message window and then I get a bz archive that combines
the text files into one file!!

2) One click on .html file opens the file correctly with
elinks but one click on .htm file opens a blank screen.

3) Why did you choose control alt q for launch keystroke
combination for Quick Launch. The help file says ctrl-shift-L
... and make sure you use version 1.4 since it
has an improvement to buttons.

...and there is now a nice Spanish translation by autogestion



_____________________________________________

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#332 Post by technosaurus »

sc0ttman wrote:
technosaurus wrote:...when packagers do crazy crap like including the user config in root rather than modifying the global one in /etc)
I am sooooooo guilty of that! vlc-gtk, browser-installer, toggle-rox-desktop, feh, conky, elinks, desksetup - I wondered where to put their config files and always ended up in /root :roll: :oops:
its not really anything for you to worry about if you are packaging for only Puppy, just if you are making portable packages for use in other distros

normally there is a system default in /etc
the way it works is "program" looks in default location for user config
if it exists, then it is used
if parameters are changed, it copies to home with the change (if the program can modify its defaults)

for example jwm will look for /etc/system.jwmrc if it doesn't exist in $HOME but since jwm doesn't have a builtin tool to modify its own config file, it is not copied

rox on the other hand can modify options and will look in /etc/xdg/rox.sourceforge.net/
(actually its $XDG_CONFIG_DIRS/rox.sourceforge.net/*/*)
before saving changes to
$HOME/.config/rox.sourceforge.net/*/*
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
wuwei
Posts: 800
Joined: Sat 15 Sep 2007, 11:59
Location: formerly de; now in tranquility

#333 Post by wuwei »

Hi sc0ttman:

In reference to this
- es, de, fr translations for JWMConfig, wizardwizard, input-wizard, xserverwizard, xkbdmanager
Just send me a few files in regular text format and I shall see what I can do to translate them to Deutsch.
PM me or post it here in the thread, whatever is best for you

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Translations

#334 Post by shinobar »

@wuwei
most of the translations are using gettext system.
.pot file --> .po file --> .mo file
.pot to .po, you can use a text editor, but I usually use poedit.
Take it easy. You can easily catch the how to.
poedit-1.4.2-3-i686.pet or poedit-1.4.2-4.sfs from http://shino.pos.to/party/bridge.cgi?puppy/wary/opt/

The .pot files can be found at /usr/share/doc/nls in akita linux.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
wuwei
Posts: 800
Joined: Sat 15 Sep 2007, 11:59
Location: formerly de; now in tranquility

Re: Translations

#335 Post by wuwei »

shinobar wrote:@wuwei
most of the translations are using gettext system.
.pot file --> .po file --> .mo file
.pot to .po, you can use a text editor, but I usually use poedit.
Take it easy. You can easily catch the how to.
poedit-1.4.2-3-i686.pet or poedit-1.4.2-4.sfs from http://shino.pos.to/party/bridge.cgi?puppy/wary/opt/

The .pot files can be found at /usr/share/doc/nls in akita linux.
Call me stupid shinobar,
but I'd rather not fiddle with all these steps, just to get to a text.
I gladly offer some translation work, but would appreciate a Geany readable textfile to start from, if it is not too much asked.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Translations

#336 Post by shinobar »

wuwei wrote:'d rather not fiddle with all these steps, just to get to a text.
I gladly offer some translation work, but would appreciate a Geany readable textfile to start from, if it is not too much asked.
For example, look up the file /usr/share/doc/nls/jwmconfig.pot by geany.
The .pot file is a template and .po is for a specific language.

Copy jwmconfig.pot to jwmconfig_de.po.
You can edit the .po file by geany, but remark you must use UTF-8 encoding.
Keep the english at each line of msgid.
Write the german at each line of msgstr.

EXAMPLE:
msgid "Shortcut Details"
msgstr "Shortcut Einzelheiten"

Post the .po file here then another guy can convert .po to .mo.
(poedit does it automatically.)
Last edited by shinobar on Fri 23 Sep 2011, 15:25, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Language support for all languages

#337 Post by shinobar »

Available translations more than 100 languages around the world, including fonts and input mehod:
lang_pack_all-0.9-sfs3.sfs confirmed on Akita Linux Beta3
at http://shino.pos.to/party/bridge.cgi?pu ... /opt/sfs3/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

modify Quick Launch

#338 Post by don570 »

When installing Quick Launch on Akita
there are several folders that won't
open.

Note to Scottman: It's easy to modify the script. Just delete
the lines that refer to non-existant folders.

______________________________________________

User avatar
wuwei
Posts: 800
Joined: Sat 15 Sep 2007, 11:59
Location: formerly de; now in tranquility

Re: Translations

#339 Post by wuwei »

shinobar wrote:
Copy jwmconfig.pot to jwmconfig_de.po.
You can edit the .po file by geany, but remark you must use UTF-8 encoding.
Keep the english at each line of msgid.
Write the german at each line of msgstr.

Post the .po file here then another guy can convert .po to .mo.
(poedit does it automatically.)
Thanks for the instructions shinobar.

It seems I was - somewhat - successful.
So please find the first file in de translation here:
Attachments
jwmconfig_de.zip
(4.52 KiB) Downloaded 382 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Translations

#340 Post by L18L »

wuwei wrote:
shinobar wrote:
Copy jwmconfig.pot to jwmconfig_de.po.
You can edit the .po file by geany, but remark you must use UTF-8 encoding.
Keep the english at each line of msgid.
Write the german at each line of msgstr.

Post the .po file here then another guy can convert .po to .mo.
(poedit does it automatically.)
Thanks for the instructions shinobar.

It seems I was - somewhat - successful.
So please find the first file in de translation here:
Hi wuwei,
are you ready to climb another step on the learning curve :?:

Code: Select all

msgfmt jwmconfig_de.po
if no devx installed: command not found
Here is a pet which allowes msgfmt without devx:
http://www.murga-linux.com/puppy/viewto ... 42&start=5

I have been msgfmt'ing your jwmconfig_de.po (no other po file indirectory)

Code: Select all

# msgfmt *.po
jwmconfig_de.po: warning: Charset "CHARSET" is not a portable encoding name.
                          Message conversion to user's charset might not work.
jwmconfig_de.po:93: end-of-line within string
jwmconfig_de.po:379: end-of-line within string
msgfmt: found 2 fatal errors
# msgfmt *.po
jwmconfig_de.po:93: end-of-line within string
jwmconfig_de.po:379: end-of-line within string
msgfmt: found 2 fatal errors
# msgfmt *.po
jwmconfig_de.po:379: end-of-line within string
msgfmt: found 1 fatal error
# msgfmt *.po
# 
Changed CHARSET to UTF-8
corrected the missing double quotes and no error.

msgfmt *.po -o - > /usr/share/locale/de/LC_MESSAGES/jwmconfig.mo

And you can immediately see your translations :)

L

Edited: Your translation of tray as Leiste is brilliant ( I have used elsewhere Tablett, no so good :oops: )

Post Reply