'lina-lite - version 005

For talk and support relating specifically to Puppy derivatives
Message
Author
sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: 'lina-lite - version 004

#151 Post by sheldonisaac »

elroy wrote:nano isn't a part of lina-lite. mp is from the terminal, as is leafpad (in 004). However, the mime-handling isn't correct. You'd have to edit the /usr/loca/bin/defaulttexteditor to something like the following for leafpad to correctly open text files:

Code: Select all

#!/bin/sh
exec leafpad "$@"
Thanks much.

Please see here:

Code: Select all

~> which defaulttexteditor 
/usr/local/bin/defaulttexteditor

~> more /usr/local/bin/defaulttexteditor 
#!/bin/sh
exec /usr/bin/nano "$@"

~> ls -l /usr/bin/nano
-rwxr-xr-x 1 root root 158660 2011-11-29 13:10 /usr/bin/nano
 
You probably don't want to remove any menu entry to "Open with other application...".
Being that lina-lite doesn't include default applications (other than leafpad) you may need this option to correctly handle the mime-types of your installed apps.
Sorry, I didn't phrase it correctly; I certainly don't want to remove that option.
EDIT: if you wish for more automation concerning this subject, I'd highly suggest that you use Carolina instead of lina-lite.
Not sure what you mean: I like your idea of lina-lite , and I like it and how it works.
I realize you intended it for those who like to tinker. If someone will just point me to info on a few of the tinkering techniques, I will be very grateful.

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#152 Post by rg66 »

Added elementary desktop icon theme amongst other things and did a custom rebuild. Booted into my new lite and it was showing the default Nuovo icons. Played around a bit and nothing.

Did another custom build and noticed it wasn't putting the /usr/local/lib/pixmaps folder in the adrive although the theme was there. Added it manually and rebuilt. Booted into my new new lite and the desktop was using the icons but the menu was using the default Nuovo icons. Played around a bit and nothing.

I manually removed the pixmap folder from the main sfs and the desktop was showing the proper icons again but the menu was showing grey square icons. After pulling out what was left of my hair, I manually removed the pixmaps folder and the Nuovo theme from the main sfs and replaced them with elementary. This finally fixed the problem.

For some unknown reason the menu was only using the pixmaps folder from the main sfs. Is this because the pixmaps and theme folders were on the adrive previously? Could this be a custom builder issue? Or is there some config file somewhere that I can't find?

Sorry for the long post.

Edit: After looking at the pictures again, shutdown, find etc....are using the proper icons, only the categories aren't.
Attachments
icons1.jpg
(15.3 KiB) Downloaded 3068 times
icons.jpg
(15.39 KiB) Downloaded 3019 times
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

panel-plugin-mount custom command

#153 Post by Marv »

Attached is a pet for further testing. It eliminates the need for a custom mount command in the xfce4 panel mounter plugin. All the custom command did was make mount points for fixed disks in the system. The rules in udev handled the removable storage. It puts a tiny executable script in /root/Startup that makes mount points for all disks listed in fstab at boot. No conflict with the custom command or the pup-volume-monitor as they all check for existing mount points. It should simplify the maintenance of the panel mounter.
Attachments
mnt_creator.pet
Replaces custom command in xfce4 panel mounter plugin
(435 Bytes) Downloaded 721 times
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

elroy

Re: 'lina-lite - version 004

#154 Post by elroy »

sheldonisaac wrote:I realize you intended it for those who like to tinker. If someone will just point me to info on a few of the tinkering techniques, I will be very grateful.
Sorry, not trying to damper your curiosity. I should have hooked up the leafpad mime-handling in the 1st place. Essentially, if you add an application to lite you'll need to manually add the mime-handling. Once you've added the main applications that you wish to include (pets, sfs files) go into the Control Panel --> Software --> Default Programs Chooser. Some of the fields are pre-filled, but not accurate, because most (if not all) are not included in lite. You'll need to put the ones you wish to use in the appropriate fields. If you choose not to include an app for a particular field, you can erase what's in the edit box for that particular entry.

You can also use the right-click menus' Open With Other Application command to navigate to an app for a particular file type, and make that app the default app for handling that file type.

elroy

Re: panel-plugin-mount custom command

#155 Post by elroy »

Marv wrote:Attached is a pet for further testing. It eliminates the need for a custom mount command in the xfce4 panel mounter plugin. All the custom command did was make mount points for fixed disks in the system. The rules in udev handled the removable storage. It puts a tiny executable script in /root/Startup that makes mount points for all disks listed in fstab at boot. No conflict with the custom command or the pup-volume-monitor as they all check for existing mount points. It should simplify the maintenance of the panel mounter.
This is working great for me. I created a new file in /root/.config/xfce4/panel to replace the old xfce4-mount-plugin-9.rc file to make use of Marv's script. It also displays a message box when a device is mounted.
Attachments
xfce4-mount-plugin-9.rc.gz
replacement for file located in /root/.config/xfce4/panel
(306 Bytes) Downloaded 705 times

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

uninstall pets

#156 Post by rg66 »

If you're like me and are always adding and removing pets, it can be a bit of a pain to wait for the package manager to update and then have to open the uninstall window.

To relieve my impatience I have created a pet that will open an uninstall window for fast and easy removal of user installed .pet packages. I've also added a few handy buttons. There will be a menu entry in system but creating a desktop shortcut or panel launcher is even better. Made for lina/lite but should work in Saluki (not tested). It even uninstalls itself!

Edit: I've changed the name and added a different icon so not to confuse it with a .pet package.
Attachments
UnPet-0.6.pet
changed name and added new icon
(6.51 KiB) Downloaded 1482 times
Screenshot.png
(41.38 KiB) Downloaded 13685 times
uninstall-packages-05.pet
quickly uninstall user added packages
(1.12 KiB) Downloaded 912 times
Last edited by rg66 on Thu 27 Dec 2012, 06:50, edited 2 times in total.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

elroy

'lina-lite - version 005 released

#157 Post by elroy »

'lina-lite-005 is now available. Please see the first post on this thread for the download link.

This version of lite contains bug fixes and a few script enhancements to work better with a wider variety of hardware.
It's also smaller than previous versions of lite.

The short range plan for lite is to continue to make it smaller. The long range plan is up in the air, but I've been considering the possibility of making an alternative version of lite down the road that consists of an adrive populated with very small versions of the basic packages found on most distros (browser, text editor, media player, etc.). I've been considering this in order to create a more newbie-friendly light weight puppy that makes use of the xfce window manager. However, I intend to keep lite (sans-packages) separate for those that wish to have a stripped-down base to build upon. But that's putting the cart before the horse. For now I'll be concentrating on making lite smaller while maintaining stability.

As always, suggestions are welcome.

Happy Holidays everyone!

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#158 Post by Sage »

smaller than previous versions of lite.

... continue to make it smaller
Steady on old chap! You're beginning to think like a rational person!
Good luck and thanks a $bn; will try to do as much as my limited It ability allows.

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: 'lina-lite - version 005 released

#159 Post by sheldonisaac »

elroy wrote:'lina-lite-005 is now available. Please see the first post on this thread for the download link.
Happy Holidays everyone!
Got it, works fine.

Thanks much, and best wishes.

Sheldon

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: 'lina-lite - version 005 released

#160 Post by mavrothal »

elroy wrote:The long range plan is up in the air, but I've been considering the possibility of making an alternative version of lite down the road that consists of an adrive populated with very small versions of the basic packages found on most distros (browser, text editor, media player, etc.). I've been considering this in order to create a more newbie-friendly light weight puppy that makes use of the xfce window manager.
That sounds a lot like saluki-024 :wink:
I'm sure jemimah will be happy to see that project going on too.
It might also help consolidating the repos.

Season greetings
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

Re: 'lina-lite - version 005 released

#161 Post by Marv »

elroy wrote:'lina-lite-005 is now available. Please see the first post on this thread for the download link.
Hi elroy,

Got it ok and posting from it with my std office+ sfs. Opened it up and walked around inside a bit. It looks tight and sound. Runs that way too! Only changes I made are purely personal preference things. Having launchers for the pkg manager and the cpanel on the desktop fits 'lina well I think. My turn to be buried in snow :shock:

Thanks and Merry Christmas
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#162 Post by Sage »

Works just fine, thanks. Subjective, but every time you reduce the resource requirement it seems faster.

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

'lina-lite - version 005

#163 Post by Billtoo »

I did a manual frugal install of linalite 005 to my emachines D620
laptop.
I added firefox and several other pets from ppm, and added vlc 2.0.5
and some other stuff.
It's working well.
Attachments
screenshot.jpg
(90.01 KiB) Downloaded 2436 times

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#164 Post by James C »

Since smaller is good in an operating system for older hardware.......manual frugal install on my old Athlon XP box.Everything was working ootb, added a few pets and no problems yet.Looking good.

elroy

custom-builder-10

#165 Post by elroy »

I've added a new version of the custom-builder to the Carolina repository. It now gives you the option of whether or not you'd like to save your xfce settings, and also fixes a couple bugs.

In previous versions, when asked if you'd like to save your desktop icons, whether or not you chose yes or no it would save them. Also in previous versions, when asked if you'd like to save your personal settings, whether or not you chose yes or no the save personal settings dialog would appear. Both of these should now work as expected.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#166 Post by Sage »

Billtoo : no need of humour transplants amongst our Commonwealth friends! They've just been repeating FT again on TV; one of the most popular series ever. I know they've introduced a subscription service to iPlayer for foreigners, but some stuff may now be available without charge in N America? Not sure about 4OD, demand5 and ITVPlayer? Appreciate your advice on these, please, Bill.

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#167 Post by Billtoo »

Sage wrote:Billtoo : no need of humour transplants amongst our Commonwealth friends! They've just been repeating FT again on TV; one of the most popular series ever. I know they've introduced a subscription service to iPlayer for foreigners, but some stuff may now be available without charge in N America? Not sure about 4OD, demand5 and ITVPlayer? Appreciate your advice on these, please, Bill.
I bought a 3 dvd set named "Fawlty Towers the complete collection" about 10 years ago, it has interviews with the main characters as an extra feature + all 12 of the episodes.
I watch them again every now and then :)
I think some BBC radio is available free here, I don't know if subscriptions are available for TV yet.

EDIT:I can listen to the radio stations but TV is a no go.
Attachments
bbcradio.jpg
(48.19 KiB) Downloaded 1044 times
bbciplayertv.jpg
(28.28 KiB) Downloaded 1066 times
Last edited by Billtoo on Fri 21 Dec 2012, 18:36, edited 1 time in total.

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

long range plans & xfce question

#168 Post by mikeslr »

[quote="elroy"]
The long range plan is up in the air, but I've been considering the possibility of making an alternative version of lite down the road that consists of an adrive populated with very small versions of the basic packages found on most distros (browser, text editor, media player, etc.). I've been considering this in order to create a more newbie-friendly light weight puppy that makes use of the xfce window manager. However, I intend to keep lite (sans-packages) separate for those that wish to have a stripped-down base to build upon.

2 lite versions? How about a "bdrive" instead? with the ISO containing both. Noobs would have lite apps on bootup. Intermediate users could either --when installing to a 'lina-lite folder-- not include it, or delete it after bootup.With perhaps some modification of Custom Builder to designate whether the "drive" being built is to be adrive or bdrive?
Or alternative to the latter, what's the current statuses of Pet2SFS & SFS-combiner, or such? as each of us have our favorite applications that we'll want regardless of which Pup we boot into.
And a second version would pose a naming problem as there isn't any neat word for "in between" lite and populated. Perhaps if you renamed 'lina-lite to "Florida" you could could call an in-between version "Georgia".

I really do like the "bare-bones" functionality of 'lina-lite. It's a great foundation for building just what you want, especially if you have multiple computers for multiple purposes, such as a desktop for general purposes at home and a laptop for "lite" use while away.

Edit: A break for lunch had two effects. I could concentrate on the issue rather than typing. And an adequate supply of sugar was returned to my cerebral cortex. If lina-lite can boot to desktop without adrive, and geany (perhaps a basic version --who would complain?) were included in the "core," the default adrive could consist of small applications. Would an intermediate version of lina be needed?

Separate issue regarding what to include when building an adrive: My apologies for not having followed developments closely, or failing memory. as the following may be well known to those who did or don't have that condition. As I understand it, the window-manager, Xfce, is included in the "core." Is that now xfce-4.8 or already 4.10? And which, if any of the Xfce pets --such as xfce-notify-- are NOT included in the core so that if their functions were desired they'd have to be included in adrive or installed? Lastly, are there any Xfce pets available from the repo which SHOULD NOT be used if the "core" includes 4.8, or 4.10?

mikesLr

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Alternate structures for 'lina --e.g. jwm + rox

#169 Post by mikeslr »

Hi again,

Don't get me wrong. Xfce is great. Perhaps the most customizable window-manager I've used, yet not really a resource hog. And getting used to Thunar by a windows emigrant would take less of a learning curve than rox. But i noticed the repo has pets for rox, jwm and icewm. I would think a really "lean and mean" lina could utilize rox and jwm rendering the inclusion of xfce & Thunar superfluous.
How would someone remove Xfce?
I also noticed that absent from the repo were fbpanel and tint2. The former, if added to a jwm+rox combo could provide some degree of customizability without requiring the learning curve Xfce involves and, perhaps, the overhead it uses. Perhaps tint2 as well, but I'm not that familiar with it.
But, of course, the result would not be much different from how I customize non-xfce Pups except, of course, 'lina would start out minimal and have Custom Builder.

Perhaps lunch has resulted in a "sugar-high."

mikesLr

elroy

Re: long range plans & xfce question

#170 Post by elroy »

mikeslr wrote:2 lite versions? How about a "bdrive" instead? with the ISO containing both. Noobs would have lite apps on bootup. Intermediate users could either --when installing to a 'lina-lite folder-- not include it, or delete it after bootup.With perhaps some modification of Custom Builder to designate whether the "drive" being built is to be adrive or bdrive?
Or alternative to the latter, what's the current statuses of Pet2SFS & SFS-combiner, or such? as each of us have our favorite applications that we'll want regardless of which Pup we boot into.
And a second version would pose a naming problem as there isn't any neat word for "in between" lite and populated. Perhaps if you renamed 'lina-lite to "Florida" you could could call an in-between version "Georgia".
Not quite two versions of lite, more like a separate distro based on lite that has pre-installed, small applications. Like I said, that's getting the cart before the horse at present.
mikeslr wrote:If lina-lite can boot to desktop without adrive, and geany (perhaps a basic version --who would complain?) were included in the "core," the default adrive could consist of small applications. Would an intermediate version of lina be needed?
I've added leafpad to the current lite adrive because some had expressed interest in a text editor that wasn't console based. The reason I put it on the adrive is so that a user can easily get rid of it entirely or replace it with their favorite text editor, for example, geany, or perhaps even vim.

Yes, it'd be easy for a user of lite to create what I was describing for themselves. My interest in doing the build for newer users would be to make a distro based on lite that would be user friendly from the get-go. Essentially Carolina, but on a much smaller scale. For some, lite may not be accessible as-is; while Carolina would be a great choice for them in that case, some users may not have the space or resources to enjoy it. Also, a lite-based distro would have a non-pae kernel standard. That would appeal to some, also. But I would keep the original lite going for those that have the desire to fully customize their default apps, and have the know-how to do so.
mikeslr wrote:Separate issue regarding what to include when building an adrive: My apologies for not having followed developments closely, or failing memory. as the following may be well known to those who did or don't have that condition. As I understand it, the window-manager, Xfce, is included in the "core." Is that now xfce-4.8 or already 4.10? And which, if any of the Xfce pets --such as xfce-notify-- are NOT included in the core so that if their functions were desired they'd have to be included in adrive or installed? Lastly, are there any Xfce pets available from the repo which SHOULD NOT be used if the "core" includes 4.8, or 4.10?
Both lina-lite (and Carolina) use only xfce-4.10. You need not included any xfce packages for either, as everything relating to xfce-4.10 is on the core sfs. The xfce pets will remain in the repo for backward compatibility with earlier versions.
Last edited by elroy on Fri 21 Dec 2012, 20:24, edited 1 time in total.

Post Reply