Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#1761 Post by sunburnt »

Toni; You thoughts are the same as mine.
Different head and tail files for root and users in $HOME. Easy to do.

# I suggest all icons go in: /usr/share/pixmaps

# Move spacefm-find.png from /usr/share/icons to /usr/share/pixmaps
# And copy /usr/share/icons/isomaster/isomaster.png to /pixmaps
# And also /usr/local/pburn/pburn20.png
# And also /usr/share/pixmaps/searchmonkey/searchmonkey-32x32.png

# And remove the icon paths in those app`s desktop files, like this:

Code: Select all

Icon=spacefm-find.png
# You should obviously delete the existing IconPath as it does not exist.
# So all that`s needed to add to .jwmrc is:
$HOME/.icons is user over-ride for icons in /usr/share/pixmaps

Code: Select all

<IconPath>$HOME/.icons</IconPath>
<IconPath>/usr/share/pixmaps</IconPath>
### Q: FreeDesktop says desktop file icons should have no extension.
Do we want to follow this.? I say yes...
This does not mean we have to edit all the desktop files.
I`ll write mk-menu to search for icons with extensions: png, xpm, jpg, jpeg.

### CORRECTION: IconPath IS working...

### Odd thing with jwm-2.2.1-1
Running jwm -reload does not reload the menu. Only jwm -restart does.
Last edited by sunburnt on Wed 12 Mar 2014, 03:26, edited 3 times in total.
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#1762 Post by sunburnt »

Guys; Here`s the first test of mk-jwm.
The main file is a script: mk-jwm.menu, look at it, it`s very simple.
The script sets paths to all the files and how the menu parts are joined ( easy to change ).
It runs the BaCon exec. mk-jwm.main that makes the main ( middle ) menu file $HOME/.jwm/jwm.main.
The script then joins jwm.head, jwm.main, jwm.tail into .jwmrc and restarts JWM.

# We could just use JWM`s <Include> in the jwm.head file to add the jwm.main and jwm.tail parts.
Then the "cat" command in the mk-jwm.menu file would not be needed.

# Currently the jwm.head and jwm.tail files are manually edited. This is okay for us I think.

# Make a new dir. $HOME/.jwm and put the user template files in it.
Copy the dir. $HOME/.jwm and it`s files to /etc/skel
Now the jwm.head and jwm.tail files can be individual for each user.
And individual user main root menu categories, and also the category translations if needed.

# Toni can make a jwm.main file to go in /etc/skel for a default user menu.
# And edit the jwm.head and jwm.tail files for the user menu also.
### If users can install apps, I`ll need to add a desktop file "black-list file" for the user menus.

The file menu-root.lst sets the main menu item categories and their icons.
The file categories.lst translates desktop file "Categories=" into main menu categories.
Both files can be edited for different main menu items, and to fix desktop file categories.
# Any Qs about any of this, please ask... But both files are very simple to understand.

# Icon /path/file validation ( exists ) is done like this:
If no icon then default icon.
If file exists /usr/share/pixmaps/icon.ext then use it.
Try changing the path to /usr/share/pixmaps to see if it exists.
Then try adding the path /usr/share/pixmaps and the ext. to the icon.

There`s 2 Zip files, one with template files that go in $HOME/.jwm.
The other one is the script and the BaCon exec. that both go into /opt/bin.
Attachments
HOME_.jwm.zip
3 template files and the categories translation file.
(3.58 KiB) Downloaded 119 times
opt_bin.zip
Script and Bacon exec. files.
(19.53 KiB) Downloaded 147 times
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1763 Post by saintless »

Hi, Terry.
# I suggest all icons go in: /usr/share/pixmaps
No problem to move or simlink all icons we need in /usr/share/pixmaps but new installed programs sometimes add icon in different folder. I need to test what paths are common for debian apps icons.
### Q: FreeDesktop says desktop file icons should have no extension.
Do we want to follow this.? I say yes...
Yes, but it means only we can do it for new converted deb packages. I also agree it is no good to edit .desktop icon ext all the time.
### Odd thing with jwm-2.2.1-1
Running jwm -reload does not reload the menu. Only jwm -restart does.
It is odd. I'm sure it works for me and I use jwm -reload in change menu methods scripts.
# Currently the jwm.head and jwm.tail files are manually edited. This is okay for us I think.
I also think it is OK.
### If users can install apps, I`ll need to add a desktop file "black-list file" for the user menus.
No need from black list. User can install apps only using sudo. The debian apps are designed not to allow user to run them without sudo or su-to-root.
I need separate jwm.head for user for apps we add like XDM-start/stop scripts. We can't leave the user to stop login display manager even using sudo or su-to-root. I think we will have only few apps like that.
# Any Qs about any of this, please ask...
I'm sure I will have some questions later, Terry.

Toni
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1764 Post by saintless »

fredx181 wrote:Hi Here's gui script for mounting FTP host using curlftpfs (attached, remove dummy .tar)
Thank you, Fred!
I like it a lot. It works also well for user puppy.
I just need to allow-others in /etc/fuse.conf and add puppy to group fuse:

Code: Select all

sudo adduser puppy fuse
DebianDog has PureFtp, Gftp, and CurlFtpFs but they are so small now so I think to leave them all included.

Toni
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#1765 Post by mcewanw »

Hi guys, Just letting you know I'm keeping track of recent developments but will be a few days before I can help out much again. I am installing some server apps for a colleague and the servers need to be securely online as soon as possible so I'm busy setting that up - barring unforeseen hiccups I'm not far from finishing that now though.
github mcewanw
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1766 Post by saintless »

Hi, Terry.

The new menu method has nothing to do with the one included in 01-v6.squashfs. I will remove all files from the previous setup and start new one with the new bacon setup.
Here is the first problem:

Code: Select all

root@debian:~# mk-jwm.menu
Runtime error: statement 'CHANGEDIR' at line 21 in 'menu.jwm.bac': Unable to change to directory: No such file or directory
I have /root/.jwm folder with the files from your archive.
I think the error is from the bacon executable. Any ideas what to try? Is this new bacon script work for you in DebianDog producing working start menu?

Toni
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#1767 Post by sunburnt »

Toni; Yes it did, I`ll look at your error, I had it earlier but thought I fixed it.

Q: Awhile back I posted some Puppy`s icons to be added to /usr/share/pixmaps
I don`t think I see any of them, they`re needed for many the common apps.
The icons are about 250 KB with the 24x24 ones removed.
Being as JWM auto. sizes the icons, we should use at least 48x48 size icons.
I can`t remember if IceWM sizes the icons also, this would matter a lot.
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1768 Post by saintless »

Hi, Terry.

I think all icons from you are added. You have attached two archives with icons on pages 106 and 107. Also many files for rox openwith on page 72 (no icons inside). On page 88 you have 8 button icons for desktop.ctrl icons on taskbar for IceWM but they do not have numbers and are not added. The icons are only black color without numbers.
Checked all your archives from p.70 to this post. I doubt you have earlier posts with icon archives but I will check them from p.70 back in the next days.

I do not know what troubles we will have if the icons are not at least 48x48 but from what I see in my remastered module all icons in the menu and inside Rox look OK.

Toni
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1769 Post by fredx181 »

Hi Toni
DebianDog has PureFtp, Gftp, and CurlFtpFs but they are so small now so I think to leave them all included.
Yeah, full FTP support!

I totally forgot about multi-user support when making PureFTP script.
Found a way to change path from /etc/pureftpd.passwd to $HOME but still then pure-ftpd needs to be run as root.
So added the gsu line on top and changed default shared folder to /home/ftpuser
Changed also path for ftp.conf to /etc/ftp.conf (ftp.conf is only for yad to remember previous setting)
New AppRun attached (for in /opt/apps/pureFTP) (remove dummy .tar extension)

Also forgot to add gsu line in frisbee_wheezy.deb.
Corrected one here:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Fred
Attachments
AppRun.tar
pureFTP AppRun replacement
(6.2 KiB) Downloaded 137 times
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1770 Post by saintless »

fredx181 wrote: New AppRun attached (for in /opt/apps/pureFTP) (remove dummy .tar extension)
Thank you, Fred!
Also forgot to add gsu line in frisbee_wheezy.deb.
Corrected one here:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
I did that after reinstalling frisbee. I can upload this one and remove the previous one if you want, but I think it is better to keep the deb package on the site without gsu line. It can give error on standard debian or debian based linux if this line is included. It is good to have your packages available and working for standard debian also.

Toni
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#1771 Post by sunburnt »

Toni; I`ve discovered a few items.
Very strange... xarchiver has an XPM icon in /pixmaps.
But mk-jwm.main finds a PNG icon.!
There is xarchiver.png in /icons/hicolor, but mk-jwm.main does not look there.!
This is really odd.. So I`ll look at it some more.

# The Debian menu has tons of stuff that has no desktop files.
# I don`t know how to deal with this in my menu setup...

Here`s a Zip with 48x48 icons. Check for duplicates...
Attachments
icons48.zip
Check for duplicates...
(154.58 KiB) Downloaded 177 times
sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

slightly modified DebianDog-PorteusDog-test.iso

#1772 Post by sklimkin »

Hi All!

For users who are interested in the development of Light-Linux, placed on a free resource slightly modified DebianDog-PorteusDog-test.iso

The modification consists in the following:
1. installed xxkb + minimal localize for ru_RU + kbd-switcher as flags (En--Ru) in tray
2. installed Midnight-Commander, SSH-host - to communicate with the outside world from the virtual machine environment
3. make by Remaster-Dog new one 01-remaster.squashfs & make by Remaster-porteus-wheezy new one 01-remaster.xzm
4. bootloader changed from isolinux to grub4dos (for more reliable compatibility between the two systems into a single ISO-image)
5. recreate ISO as LightDebian-PortDebian.iso
6. localization does not affect the menu and everything else in the system - just switch the keyboard layout and flag-indicator in tray.

I called the title (named the header) of my message as
"Debian-Dog - Debian GNU/Linux OS in two modes:
Light-Debian + Porteus-Debian = 2 in 1 ISO image Debian OS".

It is available at:
Shared folder - porteus-to-debian-live
http://yadi.sk/d/vmBBXwmYGEsTp

LightDebian-PortDebian.iso - 219.0 MB
http://yadi.sk/d/trKfqOVmKQGis
about_LightDebian-PortDebian.txt (russian comments)
http://yadi.sk/d/0TeNhucRKQGVL

In that same screenshots of these two operating systems running:
LightDebian-VMware Player-1.jpg
http://yadi.sk/d/Lbyn7LiwKQH22
LightDebian-VMware Player-2.jpg
http://yadi.sk/d/w_K8IfXOKQHM9
LightDebian-VMware Player-3.jpg
http://yadi.sk/d/7VCThHgJKQHRq
PortDebian-VMware Player-1.jpg
http://yadi.sk/d/DYaEVqkrKQHWr
PortDebian-VMware Player-2.jpg
http://yadi.sk/d/wRVl5tWBKQHai
PortDebian-VMware Player-3.jpg
http://yadi.sk/d/M66EKfF9KQHe2
PortDebian-VMware Player-4.jpg
http://yadi.sk/d/TTOgDEZyKQHhw

If such a placement for any reason do not like developers Debian-Dog (especially Toni and Fred), then report it - I am ready to cancel it.

Sergey.
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1773 Post by saintless »

Hi, Terry.
Here`s a Zip with 48x48 icons. Check for duplicates...
I will add them in /usr/share/pixmaps
# The Debian menu has tons of stuff that has no desktop files.
# I don`t know how to deal with this in my menu setup...
I know. Debian uses /usr/share/menu for menu files and some debian packages do not have at all .desktop files.
Leave this to me. I will create .desktop files for all missing + I have to remove System and Utility menus from the top and to place the items in other folders by making .desktop files.

Toni
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: slightly modified DebianDog-PorteusDog-test.iso

#1774 Post by saintless »

Hi, Sergey!
Nice to see you again here :)
All you do is fine, thank you!
I will check out the new iso and the links you posted.
DebianDog and Porteus-Wheezy changed a lot the last few weeks.

We have now very small and well working XDM display manager (only 200-300K). SLIM is 2 Mb. If you like to use this small xdm I will upload the package.

Toni
sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

#1775 Post by sklimkin »

Hi Toni !

I will not disappear and closely followed all the news in our topic, but I have nothing to say so far. Do not understand something, do not accept anything but that's no reason to say in a serious and professional in fact topic.
At the same time, I use version DebianDog-PorteusDog-test.iso as fairly stable and comprehensible.
That's why it has chosen for its users to Russian proposals.
It was 09 Feb. 2014

XDM for me is very interesting.

Sergey.
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1776 Post by fredx181 »

Hi Toni
Quote:
Also forgot to add gsu line in frisbee_wheezy.deb.
Corrected one here:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

I did that after reinstalling frisbee. I can upload this one and remove the previous one if you want, but I think it is better to keep the deb package on the site without gsu line. It can give error on standard debian or debian based linux if this line is included. It is good to have your packages available and working for standard debian also.
Not that I personally want something but I'm in doubt if I agree.
Isn't it the most important that the packages work on DebianDog?
What if a user uninstalls a "not-official" package like frisbee, tries another network-manager, doesn't like it and decides to install frisbee again.
Then the result will be different than before uninstalling (cannot be used as unprivileged user).

Fred
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1777 Post by saintless »

sklimkin wrote:XDM for me is very interesting.
Here is XDM debian package. It works without any dependencies on DebianDog.
http://www.smokey01.com/saintless/Fredx ... 1_i386.deb
Maybe it will work OK on any other debian based linux.

Toni
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1778 Post by saintless »

fredx181 wrote:What if a user uninstalls a "not-official" package like frisbee, tries another network-manager, doesn't like it and decides to install frisbee again.
I agree, Fred. But I feel we can contribute working packages to the Debian community without much troubles. Why don't we do it this way then?
Uploaded here:
http://www.smokey01.com/saintless/Light ... wheezy.deb
Here I will start upload and move special reinstall DebianDog - Porteus-Wheezy packages;
http://www.smokey01.com/saintless/Light ... -Packages/
I will create another folder for universal debian packages and Fredx181 folder will stay for working mixed and testing packages and files.

Do you agree or suggest something else?

Toni
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#1779 Post by sunburnt »

Toni; Debian`s menu files could be parsed for info.
But like you, I`m inclined to want to convert them into desktop files.
# I`ll look at making a converter script, it doesn`t need to be fast.

### Q: What is gsu.? I noticed it in gparted.desktop Exec=gsu /(path)/gparted

# I post again the "registered" Freedesktop categories.
The file categories.lst has a complete list of the categories.
# I can post the files for the Freedesktop "registered" and "additional" categories.
Main Category Description Notes

Development An application for development
Education Educational software
Game A game
Graphics Application for viewing, creating, or processing graphics
Network Network application such as a web browser
Office An office type application
Science Scientific software
Utility Small utility application, "Accessories"
System System application, "System Tools" such as say a log viewer or network monitor
Settings Settings applications

AudioVideo Application for presenting, creating, or processing multimedia (audio/video)
..... Entries may appear in a separate menu or as part of a "Control Center"
Audio An audio application ... Desktop entry must include AudioVideo as well
Video A video application ... Desktop entry must include AudioVideo as well
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#1780 Post by saintless »

Hi, Terry.
# I`ll look at making a converter script, it doesn`t need to be fast.
It will be nice to have such tool and it will save us much troubles later.
### Q: What is gsu.? I noticed it in gparted.desktop Exec=gsu /(path)/gparted
It is (Graphical su-to-root) executable Fred made for user account. It is used for programs that need root password like Gparted, Frisbee, mk-save etc. Typing sudo and user password is not enough for such programs to be executed. They need root password.
gsu opens new window to type and confirm the root password before executing such program.

Toni
Post Reply