Akita Linux, Beta 16 ISO

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#521 Post by technosaurus »

I kinda like having super-simple one-click mount and browse as 1 icon == 1 drive, but one could make the case for a mounts menu which would solve the jwm -reload issue ...
but should it go (could even group the device types)
[device type ->] device -> action
or
action -> [device type ->] device

... could be separate or in the main menu (probably between utilities and setup if so)

Edit the device types could be optical, hard disk, floppy, usb, mmc, [todo ?= iso, sfs, {2,3,4}fs, ???]
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

#522 Post by sc0ttman »

technosaurus wrote:I kinda like having super-simple one-click mount and browse as 1 icon == 1 drive, but one could make the case for a mounts menu which would solve the jwm -reload issue ...
but should it go (could even group the device types)
[device type ->] device -> action
or
action -> [device type ->] device

... could be separate or in the main menu (probably between utilities and setup if so)

Edit the device types could be optical, hard disk, floppy, usb, mmc, [todo ?= iso, sfs, {2,3,4}fs, ???]
I think it would be best in the main menu, under 'Setup', as you say...
Then jwm -reload will be very useful indeed...

I think device-type>device>action is better than starting with 'action'..

But I would prefer to have as few categories as possible.. PUI2 style, rather than PUI..
Maybe just 'internal' vs 'removable' or something really easy...
Not sure on that though..
________________

In general though, I think JWM would be better if it also updated the <include> stuff ...
JWM would be more flexible - my little apps menu and other stuff would benefit...

I wonder if this is something we could do ourselves in Puppy,
or would we have to nag Joe to do that?

I did have a look, but know no C, and was stumped.. :oops: :roll:
[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
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#523 Post by technosaurus »

just a template for now but here is an image ... perhaps I can add a
"set as underdog" option now too
http://bkhome.org/blog/?viewDetailed=02668
Attachments
drivemenu.png
(8.73 KiB) Downloaded 633 times
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].

charbaby66
Posts: 75
Joined: Sat 10 May 2008, 09:40

Akita 6 feedback

#524 Post by charbaby66 »

hey scOttman

to recap and add comments further to our last chat..

the project: toshiba satellite 4060xcdt -oldie w/64mb ram and 6gb hd (divided as hda1 3.5g xp on ntfs/ hda2 frugal install 2g fat32/
hda3 64mb ext3 (grub/ boot)/ and 512m linux swap) 2mb trident
video and es1968 sound.

can boot usb w/plOp ... add code: nocopy to your config

QTWeb browser is most successful - java/SSL/flash enabled sites all
work eg: Hotmail (and yes YT but it is slowwwww) (flash is reported in
the QTWeb thread as not working in Akita, but I find that QT and Midori
need the browser libs pet installed first then Flash. I also stick w/Flash
10 which works everywhere I go.. PS> Flash 12 not supported in QT per that thread.

Can you add browser libs to browser install? not sure if i needed it for
flash in the others but do for those 2.

I still get those annoying script errors in QT, but they load in seconds, die
quickly when i cancel it, then QT loads well overall - a small lag once in a
while loading new pages but the best of the bunch. FF FP IC SM OP can take hours! to load the error..20 mins to kill the error and move on only
to choke on another one.. ad nauseum.. You can't beat Dillo for speed,
Midori is almost as fast but can do Flash, its either Java or SSL that they
lack,, I am too CLI impaired to handle elinks but it will do in a pinch but can't do Hotmail... I link to my cache outside savefile. QT's is in
/usr/share for those looking

When I have the patience I may try Chrome -any plans for Iron-akita?
I would use it on other boxes if not good on here.

Gparted not seeing usb hard drive that Rox/icon manager can and do.
No issue in 5.28 or LHP same drive.

Universal Installer does not install full. only frugal on 20g IBM usb hard drive, (was as sba1 -12g Fat32/sba2 7g ext3 /1g linux swap) (does
anyone install full anymore anyway? LOL) Had no dialog re: full vs frugal
as in all other puppies tried.. Fiddled with other ways to get akita to full install.. hoping for a speed gain.

(Sadly while re-trying ways to work around this I used BootFlash in 5.28 to format this drive- forgetting that unlike PUI it formats the whole thing not just the partition you may want to install to (I lost 4 years of notes, Puppy wisdom, files, utils and backups.. do NOT try to be a brainiac when you
are tired!) I am afraid to go further with TestDisk than just look but
oh well I have a new project after I get my OldPup going on Akita...

as I mentioned to you, to install my sound card - not auto detected on
this box (but no probs on other newer systems) I dropped out of x and ran
alsaconf. I was able to install everything needed before creating the
savefile, incl. oldest mesa pkg6.x? for GL/DRI. figured 7 series may be
pushing it for this box, but may test later.

I can get my desktop onto my ext. monitor as well as LCD but need to change resolution to 24 bit from 16 bit. To show videos w/VLC on both i
had to change video output to X11, otherwise VLC will blank in 2nd
screen but all else viewable

Network mostly but then not persistent?! .. not sure why..I just re-load it -linksys usb 54g otherwise ok using dougal's- barry's not persistent at all, but much faster to get running

hard to grab copy of downloaded pet from .packages before it is deleted
but like the fact it does remove after install.. a save this pet? option would be nice? any suggestions are just that... :)

can test suggested fixes if needed.. overall akita lives very nicely on here..amazing work on such a low spec box eh? thank you for this :)

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

#525 Post by sc0ttman »

technosaurus wrote:just a template for now but here is an image ... perhaps I can add a
"set as underdog" option now too
http://bkhome.org/blog/?viewDetailed=02668
That looks awesome, exactly as I had imagined... :D Good work!

Actually, I'd never heard of underdog - until following the link above - I started using Puppy soon after 4.2.1 was released... I went with 4.2 instead of 4.2.1, don't know why, but I have stuck with it ever since..

But yeah, I would be interested in making that work, I'm sure goingnuts and yourself could find some really interesting uses... A really barebones distro, with nice package manager and huge repo would be a good 'underdog', no?
[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

Re: Akita 6 feedback

#526 Post by sc0ttman »

charbaby66 wrote:hey scOttman
Gla to hear QtWeb works for you... Flash and all... That's good..
I will have a think about the best way to add browserlibs.pet to browser installer.
_________

EDIT: It may be better if browserlibs.pet is installed by flash installer...
but only if certain browsers are detected as installed... I'll have a think..

Conversely if a certain browser is being installed, and Flash 11 is detected (how?),
then I guess browserlibs.pet can be instaled then as well...
_________

I still plan to get a JS enabled elinks in the browser installer,
which would replace the default if installed..
...as well as links-g, ideall with SSL wherever possible..

I want midori to have SSL enabled, too, but I am a crap compiler!
For the same reason, Iron may not be in Akita repo...

Maybe libparted in Akita is too old.. It does not support ext4..
I tried newer libparted versions, inc the Wary511 version,
but it would not work at all right..

I will have a really good go at fixing the PUI, and adding PUI2 as well..
REALLY sorry to hear about your data loss!! I feel kinda responsible now!!
So I will get on that, hopefully full installs will be working in next BETA..

I would be very interested to know which MESA you used, I will add to repo and PPM!

Not sure about network stuff, maybe kernel/hardware probs..

I will definitely have a go at making .pet available to keep when installing through PPM..
I have wanted that feature a lot myself...

Glad you like Akita, I will try to fix the problems you highlighted...
Maybe getting your audo going at 1st boot as well...
Last edited by sc0ttman on Mon 30 Jan 2012, 16:34, edited 2 times in total.
[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
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Re: Akita 6 feedback

#527 Post by technosaurus »

sc0ttman wrote:I still plan to get a JS enabled elinks in the browser installer,
which would replace the default if installed..
...as well as links-g, ideall with SSL wherever possible..
I have preserved these sources.
http://dl.dropbox.com/u/57466078/elinks-libsee.tar.gz
http://dl.dropbox.com/u/57466078/libsee ... 4-6.tar.xz

libsee is _much_ smaller than spidermonkey and is in C only (no C++)

this elinks was taken before this commit:
http://repo.or.cz/w/elinks.git/commit/8 ... 542fac57de

so in theory, one should be able to apply _most_ subsequent commits as patches (maybe with a little fuzz or manual cut/paste)
Last edited by technosaurus on Mon 30 Jan 2012, 15:24, edited 2 times in total.
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: Akita 6 feedback

#528 Post by sc0ttman »

technosaurus wrote:
sc0ttman wrote:I still plan to get a JS enabled elinks in the browser installer,
which would replace the default if installed..
...as well as links-g, ideall with SSL wherever possible..
I have preserved these.
http://dl.dropbox.com/u/57466078/elinks-libsee.tar.gz
http://dl.dropbox.com/u/57466078/libsee ... 4-6.tar.xz

libsee is _much_ smaller than spidermonkey and is in C only (no C++)
Excellent, thank you very much!!

Out of interest, more than anything, could the latest elinks be compiled with libsee?
Cos I went to the trouble of compiling with spidermonkey a few months back...
So I could give libsee a go too, if it is possible...
[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
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Re: Akita 6 feedback

#529 Post by technosaurus »

sc0ttman wrote:Out of interest, more than anything, could the latest elinks be compiled with libsee?
Cos I went to the trouble of compiling with spidermonkey a few months back...
So I could give libsee a go too, if it is possible...
I was just editing my post to explain that -sortof - they actually removed all of the code, but if you are good with git, you could probably fork it and revert that commit, otherwise you can apply all relevant patches since that commit
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].

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#530 Post by Puppyt »

sc0ttman, charbaby66's excellent feedback on his old clunker reminded me to ask you to consider Qupzilla as an optional browser. For me it seems to work best in my XP setup but crashes only very infrequently in the Puppy5 Puplets I've tried it with. Ideal for patchy 3G wireless broadband like we have - super fast and now even the wife prefers it over her IEeeee :)
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#531 Post by Aitch »

QupZilla is webkit based QT app and reportedly fast, but still being developed by Czech David Rosca as sole dev

https://github.com/nowrep/QupZilla/wiki

Aitch :)

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

#532 Post by don570 »

Note to Scottman:

Will you continue to use /media/ rather than /mnt/
to attach a hard disk's file system?? ( if it's a frugal installation)

The reason I ask is because Bacon recorder checks the
path of the recording before going ahead with the recording.
So I have to know information like that. I can make
some changes to the code to allow baconrecorder to
record to /media/. Should I do that??
I'm nearly ready to release a new version of baconrecorder
that fixes a couple of bugs and is easier to use.

_____________________________________

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

#533 Post by sc0ttman »

don570 wrote:Note to Scottman:

Will you continue to use /media/ rather than /mnt/
to attach a hard disk's file system?? ( if it's a frugal installation)
/mnt/ is still used in the say way as other puppies,
but in akita /media also contains symlinks to the drives currently mounted...

You can just use /mnt/ - although I should note that newer pups seem to use /mnt/home/ even if they is no save file, whereas older pups use the horrible /initrd/mnt/dev_ro2/ until a save file is created ... You may come across this problem or not, it depends what you are trying to do.. Shinobars sfs_load had to deal with this, I believe..
________________

and I'll have a look at QupZilla... Puppyt, do you have a package I can test?

Edit: Tested a few packages from the site, can't get any to work with Barrys Qt .pets in the Wary5OLD repo, because they don't contain libQtDBus, which is annoying...

So, I stole libQtDBus from pemasus QT libs pet, but only got symbolic lookup errors..
So, I removed the Wary5 Qt libs, and installed pemasus version,
which can be found here: http://www.smokey01.com/pemasu/QT-4.8.0 ... t-dpup.pet..

Now Qupzilla works fine, it seems... I also tested some other Qt
apps from the Wary5OLD repo, they worked fine with pemasus Qt..

I plan to have a fully working Qt in the Akita repo, that supports the Qt
programs of 214x, wary51x and the latest dpup.. Nearly there..

Then there will be a load of Qt apps in the Akita repo after that..

I will PM pemasu about what else can be removed from the basic and full dpup Qt packages...
I might rip up pemasus packages and make some of my own for akita...
Hopefully I will end up with a smallish Qt with dbus,webkit and other essentials only.
[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]

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#534 Post by Puppyt »

Heya sc0ttman -

sorry that I didn't see your post earlier. pemasu mentioned Qupzilla in scsijon's "qtpuppy" thread, and the link to his pet I used is here http://www.murga-linux.com/puppy/viewto ... 380#593380. Apologies - could have saved you the extra compile time.

Just to update - it performs much better than Firefox (ummm 3.6 as that version apparently works best with accursed 'Blackboard' that my university insists on wasting money on) and IE8 on XP. So much so, that it rapidly became my wife's favourite browser. Seems ideally configured for her FB activities, and she has repeatedly commented about its speed and reliability - even with you-tube and flash-dense sites. (Could've typed 'flash-rich', but I think that is an oxymoron.)
Importing bookmarks from her IE8 was a little problematic (and this will be useful to anyone NOT importing from FF, Chrome, or Opera) as bookmark HTML import lost all the subdirectory structure. However, making a new bookmark of the "file:///C:/...bookmark.htm" is a good stop-gap measure.
In Puppy (mostly in kros54's Hungarian XP_puppy, a Lupu 528 Wine-focused build), I get the occasional non-fatal error about security certificates or whatnot. Just cosmetics really - rarely has it needed a restart from a crash.
My only concern really is that I can't locate any plug-ins for it, as some FF plug-ins I find particularly useful when Puppy apps don't work properly (e.g., Flashvideodownloader instead of You2pup pet). Not a biggie. But certainly this little fish has some great features, and I think that I much prefer it to Midori,
Cheers!

UPDATE: Well I tried to see how Qupzilla ran in Akita, from a non-compiling, end-user's perspective. I first installed pemasu's pet I linked earlier, and of course copped all the missing QT library/dependencies. This was nearly fixed with pemasu's qt+webkit pet you mentioned in your previous post, and bar a missing link to navigation icons on Qupzilla's toolbar it was up and running. (Would those graphic links also affect text positioning in the address/search bars?) It even installed itself to "Internet>WWW>Start Private Browsing" and starts with the Private Browsing mode (Ctrl+Shift+P). How did that happen - strange sc0ttman majick?:)
Still running into difficulties with non-retained wifi configurations with Frisbee, and perhaps not surprisingly I have found Jemimah's Pwireless2 is the best bet for finding and connecting to the wifi. Frisbee tray still behaving independently of any other network service. That missing GTK feature with automatic Frisbee connection on bootup - if that is included in future, could that aid in module order loading/setting permanence?
And news to hand - images in FB aren't showing up in Qupzilla- looks like I need a Flash update and some Preference changes cause a spontaneous crash.
Well, pemasu's dpup-based pets seem to integrate better here in Akita6 than in iguleder's GuyDog5.01, strangely!
Cheers :)
Last edited by Puppyt on Thu 02 Feb 2012, 10:39, edited 1 time in total.
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#535 Post by nooby »

I downloaded the latest iso from your links.
akita-linux-beta6.iso and set it up like this
grub4dos menu.lst

title Akita Linux 6
rootnoverify (hd0,2)
kernel /akita/vmlinuz pmedia=scsihd pdev1=sda3 psubdir=akita puppy i915.modeset=1 nosmp pfix=ram
initrd /akita/initrd.gz

It booted okay but failed to get internet. I have Acer D250
a 10" Netbook with N270 CPU and Atheros LAN and did not test wifi.

None of the three network things did work. Sad indeed
I use Google Search on Puppy Forum
not an ideal solution though

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#536 Post by Puppyt »

nooby, sometimes I notice strange behaviour with the Frisbee-tray, and lately I just ignore it (perhaps I have to go back to config settings to remove it at bootup. Would it remove bootup network conflicts, I wonder?). Try PWireless2 from the Network Wizard menu, and give it a little time to identify available ports. I've noticed incomplete scan details on occasion that sometimes resolve with closing the network dialogue and going back through the procedure again. Sorry that I can't be more definite with my solutions, but I can send more specifics if required.

(Reckon we'd better pass the hat around and get sc0ttman a lappie with wi-fi, or get him a wi-fi router :) )
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

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

#537 Post by sc0ttman »

I compiled and upgraded to libjpeg-0.8d and re-compiled JWM, cos pemasus Qt 4.8 needs libjpeg 0.8...

But the rebuilt SFS, with the new JWM and libjpeg would not work!!!
JWM errors out, saying libjpeg 0.7 not found... Must be a compile mistake!

I removed the old libjpeg and symlinked it to the new one, so JWM
should have worked fine, as this was how the system was, when compiled..

I will try again, and try to get Akita to contain libjpeg0.8 only, by default..
If I cannot do this, I will add +libjpeg-0.8 to the deps of the Qt package in PPM.

I think the qupzilla image errors were cos of the old libjpeg in Akita...
________

And I do have a netbook, and have tried to get k.26.25.16 working with wifi,
but wireless is not my expertise, but I might have another go at some point!

I know its possible to get my netbooks wifi working with Akitas kernel,
using Patriots driver pets, but I never managed to do it myself!!
Last edited by sc0ttman on Thu 02 Feb 2012, 14:17, edited 1 time in total.
[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]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#538 Post by nooby »

Thanks for caring. I guess I should have waited
to test until I am more motivated to give it more time.

If you are helped by me doing something then I can test again. I guess the kernel does not have the driver for
the rather modern? card built into the mobo. ?

What you suggest may work. I am not used to the tricks
so it never occured to me that one could do them.
I am not even sure the exact steps you talk about sorry!

I did test only the three about LAN and not those only
mentioning wifi. The three I tested reported they found
no such thing they expected so my wild guess is that
the kernel does not have the driver? I tested the at1k or
whatever name it have that one does work in other
puppies unless my poor memory mess them up

I am in Lupu 528 004 now how can I test exactly what I have?
I use Google Search on Puppy Forum
not an ideal solution though

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

#539 Post by sc0ttman »

Hmmm.. I had a nother go at updating libjpeg, and JWM.. The trouble is, a lot of the old pup4 stuff left in Akita, like epdfview, and even new stuff compiled on Akita/Wary51x need libjpeg0.7, and updating to 0.8 breaks them... This includes things like poppler, and libtiff - which in turn breaks poppler utils (pdfto* utils), as well as epdfview, zathura, mtpaint, gphoto2, gpicview, maybe others..

So I've been trying to compile epdfview, but the akita_devx gives errors about poppler being too old, and to use pkg_config to bypass the errors, if its installed in a non-standard location...

I am sure this poppler problem comes from the fact I upgraded libpoppler in the main SFS, but not in the devx - because the new2dir script did not make a _DEV pkg for poppler when I compiled it..

So what should I do to fix poppler in the devx?? Does anyone know?
________________

EDIT: I found installed my poppler_DEV .pet, didn't fix it.. It seems to be a problem with poppler glib... I did find a way past that error, but then I got exactly the same kind of error about cairo, and so I updated cairo in main SFS and devx sfs to that of wary51x, then tested it..

The OS seems to work fine with the changes in libpoppler and cairo, but still can't seem to compile epdfview, which I am doing purely to hunt down bugs in the devx anyway...

If anyone using Akita likes to compile stuff, and would like to download the devx and help me test, then please do - I don't usually have problems with it, but when I do, I don't know much about the solutions...
______________________

EDIT2: Also I posted a request on JWM sourceforge, to make trays update without restarting JWM, and Joe said the -reload option would be hard to implement for Trays, but that he would look into another solution, which would do the same thing for trays as -reload does for Menus...
[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

updating locale stuff to be.. better...

#540 Post by sc0ttman »

If it is not dumb, I will rename all fake .mo in /usr/share/locale/
from *.mo to *.locale, leaving the real .mo files as *.mo

This will help users understand and identify proper translation
files, as well as the plain text files..

Here is a (crap and hacky) script I used to:

- identify all fake .mo files in /usr/share/locale/*/LC_MESSAGES/
- rename each fake .mo to *.locale
- try to find the parent scripts (in /usr/bin/,/usr/sbin/ and so on) which use each .locale file
- then update all the parent scripts to look for .locale files, the using `sed`

** of course, .locale could be any extension, like .txt, etc...
** which extension is best?

Code: Select all

#!/bin/sh
cd /usr/share/locale/
DIR=''
for DIR in * # for each dir, en, de, fr, ja, ru, etc
do
	[ ! -d "/usr/share/locale/$DIR/LC_MESSAGES/" ] && continue
	cd /usr/share/locale/$DIR/LC_MESSAGES/
	echo DIR is /usr/share/locale/$DIR/LC_MESSAGES/
	for x in * # for each .mo file
	do 
		SCRIPT=''
		[ "$(echo $x | grep '\.locale$')" != "" ] && continue #  already done, skip
		if [ "$(file "$x" | grep 'text')" != "" ] && [ "$(file "$x" | grep -v 'GNU message catalog')" != "" ];then # if a normal text file
			echo "`cat "$x"`" > "${x/.mo/.locale}" # rename from *.mo to *.locale
			rm "$x" # get the script that needs $x,
			# assume it has same name as $x without .mo or .locale, maybe with .sh instead .. dumb and ugly
			SCRIPT=`which ${x%%.*}` #remove extension, get path
			[ ! -x "$SCRIPT" ] && SCRIPT=`which ${x%%.*}.sh`
			[ ! -x "$SCRIPT" ] && SCRIPT="/usr/local/petget/${x%%.*}"
			[ ! -x "$SCRIPT" ] && SCRIPT="/usr/local/petget/${x%%.*}.sh"
			# now we update the scripts
			if [ -x "$SCRIPT" ];then
				# replace the ".mo" with ".locale", inside $SCRIPT
				sed -i 's#\.mo#\.locale#' "${SCRIPT}"
				echo "Translation $x renamed to ${x/.mo/.locale}, 
$SCRIPT also updated to use ${x/.mo/.locale}
"
			else
				echo $SCRIPT not exec
				continue
			fi
		fi
	done
done
[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]

Post Reply