'lina-lite - version 005
Amazing! Until your 004, it was difficult to appreciate just how powerful a statement can be made by a small, snappy clean but comprehensive distro. Apart from your obvious skills, el., your ability to listen and understand is evident. Whilst dog+world has disappeared over the horizon into la-la land with their multiGb .iso s, you have proved that raw talent and hard work always wins out.
It's all there! I am stunned (but never speechless!). There was nothing to switch on, not video, not sound, not connection, nada - it was all there at boot up. Other developers should pay careful heed and follow your fine example. Well done.
It's all there! I am stunned (but never speechless!). There was nothing to switch on, not video, not sound, not connection, nada - it was all there at boot up. Other developers should pay careful heed and follow your fine example. Well done.
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
Re: 'lina-lite - version 004
Sorry to bother you; I am new to Thunar.
When I right-click on a text file, and ask for it to open with defaulttexteditor,
nothing happens if /usr/local/bin/defaulttexteditor is as in the first one, below:
while this one does open the text file.
I've searched online, but no success thus far.
Help, please.
(This
does open the text file with nano when defaulttexteditor is as in example No 1)
Oh. Also, how to get rid of the "open-with-other-application"s that I'd tried and no longer want?
Thanks a lot,
Sheldon
When I right-click on a text file, and ask for it to open with defaulttexteditor,
nothing happens if /usr/local/bin/defaulttexteditor is as in the first one, below:
Code: Select all
#!/bin/sh
## exec geany "$@"
/usr/bin/nano "$@"
Code: Select all
#!/bin/sh
## exec geany "$@"
## /usr/bin/nano "$@"
exec /usr/bin/leafpad "$@"
Help, please.
(This
Code: Select all
/usr/local/bin/defaulttexteditor Startup/README.txt
Oh. Also, how to get rid of the "open-with-other-application"s that I'd tried and no longer want?
Thanks a lot,
Sheldon
Re: 'lina-lite - version 004
You need to install a text editor of your choice, then in Control Panel > Software, select Default Program Chooser and add it to the list if it isn't there.sheldonisaac wrote:When I right-click on a text file, and ask for it to open with defaulttexteditor, nothing happens
To remove the open with apps from the right click menu, edit /root/.local/share/applications/mimeapps.listOh. Also, how to get rid of the "open-with-other-application"s that I'd tried and no longer want?
Cheers
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
Re: 'lina-lite - version 004
Thanks, I put nano in the box for text editor andGeoffrey wrote:You need to install a text editor of your choice, then in Control Panelsheldonisaac wrote:When I right-click on a text
file, and ask for it to open with defaulttexteditor, nothing happens
> Software, select Default Program Chooser and add it to the list if it
isn't there.
clicked update.
It still doesn't work from Thunar.
Can you please explain "install a text editor"? nano is in /usr/bin/
and works fine from command line.
Thank you,To remove the open with apps from the right click menu, edit
/root/.local/share/applications/mimeapps.list
Sheldon
Re: 'lina-lite - version 004
At one point there you say nano is there and next you have leafpad, as far as I know nano isn't installed, leafpad is, in Control Panel > Software, select Default Program Chooser and add leafpad, that should work for you.sheldonisaac wrote: Can you please explain "install a text editor"? nano is in /usr/bin/
and works fine from command line.Thank you,To remove the open with apps from the right click menu, edit
/root/.local/share/applications/mimeapps.list
Sheldon
- Attachments
-
- Screenshot-5.png
- (8.84 KiB) Downloaded 548 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
panel configuration puzzle
Now running from a very mildly remastered 004. Mostly just patches. Put together an adrive with my office progs, printing necessities, some basic music players, opera and its config, and a fuller xfce4 panel. Runs great. Simple to do with the custom builder. Also done it as a loadable sfs, built with sfs-builder. Runs fine also. Here's the puzzle-perhaps it's just late. It's a layering thing. Running without the adrive, the main SFS defines a good simple xfce panel. Which then gets saved to the savefile. If I then run with an adrive (or a sfs with xfce configuration on board, the save file (basic panel) overlayers the adrive panel and or the supplemental SFS configuration. Running pfix=ram, the adrive (haven't tried the office sfs) loads the full panel just fine. Maybe I'm trying for too much flexibility-or just being fuzzy-. Is there a way to force the adrive/SFS panel config and possibly waltz back and forth here without 2 save files? I'd love to have a loadable/unloadable sfs carry the full panel and be able to revert with an X restart on unload.
Fuzzily, jim
Fuzzily, jim
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.
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
Thanks elroy!
I really like the way this is going. A core system with puppy sfs an zdrive and only apps in the adrive. I can rename any sfs adrv and it will load or use sfs builder and have a complete system in no time.
Am still seeing issues with panel mount plugin not mounting drives unless previously mounted by thunar/pmount. I thought that had been resolved.
I really like the way this is going. A core system with puppy sfs an zdrive and only apps in the adrive. I can rename any sfs adrv and it will load or use sfs builder and have a complete system in no time.
Am still seeing issues with panel mount plugin not mounting drives unless previously mounted by thunar/pmount. I thought that had been resolved.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
005 will have the panel mount plugin more inline with what 003 had to offer. The 004 panel mount plugin was botched. But glad you like where this is going.rg66 wrote:Thanks elroy!
I really like the way this is going. A core system with puppy sfs an zdrive and only apps in the adrive. I can rename any sfs adrv and it will load or use sfs builder and have a complete system in no time.
Am still seeing issues with panel mount plugin not mounting drives unless previously mounted by thunar/pmount. I thought that had been resolved.
Wait until 005. It'll be a few kb smaller, and a few bugs will be fixed. As far as talent, don't know if that's the case. Carolina/lina-lite will never win any awards for being an official puppy distro - they're not woof/woof2 builds...they're built by hand. I'm more comfortable doing it that way.Sage wrote:Amazing! Until your 004, it was difficult to appreciate just how powerful a statement can be made by a small, snappy clean but comprehensive distro. Apart from your obvious skills, el., your ability to listen and understand is evident. Whilst dog+world has disappeared over the horizon into la-la land with their multiGb .iso s, you have proved that raw talent and hard work always wins out.
It's all there! I am stunned (but never speechless!). There was nothing to switch on, not video, not sound, not connection, nada - it was all there at boot up. Other developers should pay careful heed and follow your fine example. Well done.
Re: panel configuration puzzle
lol. You've lost me If you can figure it out in layman's terms, pm me, and we'll see what we can do.Marv wrote:Now running from a very mildly remastered 004. Mostly just patches. Put together an adrive with my office progs, printing necessities, some basic music players, opera and its config, and a fuller xfce4 panel. Runs great. Simple to do with the custom builder. Also done it as a loadable sfs, built with sfs-builder. Runs fine also. Here's the puzzle-perhaps it's just late. It's a layering thing. Running without the adrive, the main SFS defines a good simple xfce panel. Which then gets saved to the savefile. If I then run with an adrive (or a sfs with xfce configuration on board, the save file (basic panel) overlayers the adrive panel and or the supplemental SFS configuration. Running pfix=ram, the adrive (haven't tried the office sfs) loads the full panel just fine. Maybe I'm trying for too much flexibility-or just being fuzzy-. Is there a way to force the adrive/SFS panel config and possibly waltz back and forth here without 2 save files? I'd love to have a loadable/unloadable sfs carry the full panel and be able to revert with an X restart on unload.
Fuzzily, jim
Re: 'lina-lite - version 004
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:sheldonisaac wrote:Can you please explain "install a text editor"? nano is in /usr/bin/
and works fine from command line.Thank you,To remove the open with apps from the right click menu, edit
/root/.local/share/applications/mimeapps.list
Sheldon
Code: Select all
#!/bin/sh
exec leafpad "$@"
EDIT: if you wish for more automation concerning this subject, I'd highly suggest that you use Carolina instead of lina-lite.
panel mounter
These are the custom commands for the mounter that got lost in the lurch. You can just right click the mounter to get properties and paste them in. I'll try to write a script to reenter them when xfce shuffles panel item numbers.elroy wrote:005 will have the panel mount plugin more inline with what 003 had to offer. The 004 panel mount plugin was botched. But glad you like where this is going.rg66 wrote:Thanks elroy!
I really like the way this is going. A core system with puppy sfs an zdrive and only apps in the adrive. I can rename any sfs adrv and it will load or use sfs builder and have a complete system in no time.
Am still seeing issues with panel mount plugin not mounting drives unless previously mounted by thunar/pmount. I thought that had been resolved.
put a space before the first /dev in the blacklist. Arrgh!Custom mount line: Code:
sh -c '[ ! -d %m ] && mkdir -p %m ; mount %d'
Device blacklist example: Code:
/dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/fd0
Edited: Got a script and a pet to cure the mounter blues. Sleep now and some more testing.
Last edited by Marv on Wed 12 Dec 2012, 08:49, edited 1 time in total.
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.
There are aspects of philosophy and culture showing through, and entirely inappropriately in my opinion. Some folks are never satisfied. Give them a minimalist distro that works ootb and they want to make it bigger - what sort of sense is that?! Missing the point!
OK add a browser, but if you need a full suite of music playing and editing, ditto video shouldn't one be installing something bigger like Carolina, Precise, Slacko, Fatdog, or for regular desktop, use something much bigger like Mint?
lina-lite is ideal for running 'live' off a CD, SD or USB stick. Maybe a small file added for basic extra functions. After that, at least for Puppies, pull an old HD out of some roadside junk and do a FULL on that - the world is awash with 20/40/80Gb drives in perfect working order. Even a 5G drive is overkill for some regular Puppies. Furthermore, I don't buy the excuse of having to use shared PCs judging by the tons of ageing machine I am offered daily - mostly in perfect working order, or easily put so. One per distro isn't a dream, it's a reality - pile 'em up one on top of the other, only a few leads to swap for deployment. And you can't blame anyone else for poor choices in ladies if there are complaints from that quarter...
OK add a browser, but if you need a full suite of music playing and editing, ditto video shouldn't one be installing something bigger like Carolina, Precise, Slacko, Fatdog, or for regular desktop, use something much bigger like Mint?
lina-lite is ideal for running 'live' off a CD, SD or USB stick. Maybe a small file added for basic extra functions. After that, at least for Puppies, pull an old HD out of some roadside junk and do a FULL on that - the world is awash with 20/40/80Gb drives in perfect working order. Even a 5G drive is overkill for some regular Puppies. Furthermore, I don't buy the excuse of having to use shared PCs judging by the tons of ageing machine I am offered daily - mostly in perfect working order, or easily put so. One per distro isn't a dream, it's a reality - pile 'em up one on top of the other, only a few leads to swap for deployment. And you can't blame anyone else for poor choices in ladies if there are complaints from that quarter...
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
Re: 'lina-lite - version 004
Thanks much.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 "$@"
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
Sorry, I didn't phrase it correctly; I certainly don't want to remove that option.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.
Not sure what you mean: I like your idea of lina-lite , and I like it and how it works.EDIT: if you wish for more automation concerning this subject, I'd highly suggest that you use Carolina instead of lina-lite.
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.
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
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.
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]
[url=http://smokey01.com/rg66/]X-series repo[/url]
panel-plugin-mount custom command
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 724 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.
Re: 'lina-lite - version 004
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.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.
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
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.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.
- Attachments
-
- xfce4-mount-plugin-9.rc.gz
- replacement for file located in /root/.config/xfce4/panel
- (306 Bytes) Downloaded 707 times