Page 8 of 12

Re: 'lina-lite - version 004

Posted: Wed 12 Dec 2012, 14:04
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.

Posted: Wed 12 Dec 2012, 19:23
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.

panel-plugin-mount custom command

Posted: Thu 13 Dec 2012, 17:21
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.

Re: 'lina-lite - version 004

Posted: Fri 14 Dec 2012, 04:30
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.

Re: panel-plugin-mount custom command

Posted: Fri 14 Dec 2012, 04:40
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.

uninstall pets

Posted: Thu 20 Dec 2012, 06:40
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.

'lina-lite - version 005 released

Posted: Thu 20 Dec 2012, 07:11
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!

Posted: Thu 20 Dec 2012, 08:44
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.

Re: 'lina-lite - version 005 released

Posted: Thu 20 Dec 2012, 14:26
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

Re: 'lina-lite - version 005 released

Posted: Thu 20 Dec 2012, 17:26
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

Re: 'lina-lite - version 005 released

Posted: Thu 20 Dec 2012, 17:49
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

Posted: Thu 20 Dec 2012, 19:40
by Sage
Works just fine, thanks. Subjective, but every time you reduce the resource requirement it seems faster.

'lina-lite - version 005

Posted: Fri 21 Dec 2012, 01:28
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.

Posted: Fri 21 Dec 2012, 05:52
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.

custom-builder-10

Posted: Fri 21 Dec 2012, 06:09
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.

Posted: Fri 21 Dec 2012, 08:00
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.

Posted: Fri 21 Dec 2012, 08:57
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.

long range plans & xfce question

Posted: Fri 21 Dec 2012, 18:33
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

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

Posted: Fri 21 Dec 2012, 19:57
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

Re: long range plans & xfce question

Posted: Fri 21 Dec 2012, 20:03
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.