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

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1521 Post by fredx181 »

@William, Thanks for suggesting pman, very nice!

Toni, all
I thought it would be nice to have some sort of welcome message with colors and below that, some useful info that the user can see at boot and when exiting X.
Copy the below and paste in a file named for example "welcome" and of course edit as you like.

Code: Select all

  [1;33m-----------------------------------------------------------[0;39m 

  [1;31m        . ''.    [1;33m====================                 [0;39m 
  [1;31m       : :'  :   [1;32mWelcome to DebianDog   [0;39m 
  [1;31m       .  '-'    [1;33m====================   [0;39m 
  [1;31m        '-                         [0;39m 


   [1;29mThe system is up and running now.[0;29m 

   Login as [1;29mroot[0;29m with password [1;29mmarina[0;29m or [1;29mpuppy[0;29m with password [1;29mpuppy[0;29m.

   Press [1;29mCtrl+Alt+F1[0;29m to go to login prompt after exiting X. 
   If X won't start automatically after login type [1;29mstartx[0;29m. 

  [1;33m-----------------------------------------------------------[0;39m
 
When pasted in geany it should show lots of "ESC" characters (before every color code).
Then put in /etc/rc.local a line like:

Code: Select all

cat <path/to>/welcome
Reboot and it should show on tty6 or tty5 (not sure which one when exiting X)

EDIT: To make the fonts thicker in console it could help to edit the file: /etc/defaults/console-setup
Then change:

Code: Select all

FONTFACE="Fixed"
to:

Code: Select all

FONTFACE="TerminusBoldVGA"
Fred

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

#1522 Post by saintless »

Thank you, Fred!
I will include the welcome message.

Thank you for the pager tip, William!
I will test it tonight. I see form quick check /etc/jwm/system.jwmrc has pager label=true Setting to false might be enough.

Toni

tony
Posts: 334
Joined: Sat 14 Jan 2006, 10:52
Location: Montreal.ca

#1523 Post by tony »

Hi,

We need more than a welcoming message.

We need to be able to set up a firewall, our keyboards and our timezones.

Regards Tony.

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

#1524 Post by saintless »

Hi, Tony

if you or someone else can share simple way - script or small program as Firewall it will be included. As long as it doesn't take much space. You can always use apt-get to install firewall application like firestarter for example.
Timezone setup:

Code: Select all

tzselect
Enter and follow the instructions.

Keyboard setup:

Code: Select all

dpkg-reconfigure keyboard-configuration
Enter and follow the instructions.

Regards, Toni

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

#1525 Post by saintless »

Thank you, William.
Removing the pagers line did the trick :)

Fred, thank you.
Is it OK if I copy the welcome code in /etc/motd ?
It does the same job I think.

Toni

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

#1526 Post by saintless »

tony wrote:We need to be able to set up a firewall
Hi, Tony.
Can you please test one of these:
1. dtc-xen-firewall
2. apf-firewall
3. ipkungfu
4. arno-iptables-firewall
5. fiaif

Just apt get them one by one and test.
I prefer 1, 2 and 3 regarding the small size they add. If you are happy with one of them we will include it in DebianDog.

Toni
Last edited by saintless on Wed 26 Feb 2014, 19:39, edited 1 time in total.

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

#1527 Post by fredx181 »

Hi Toni
Is it OK if I copy the welcome code in /etc/motd ?
It does the same job I think.
Well, my idea was apart from welcome message that the user gets info of what to do to start X again after logging out from menu.
When copying to /etc/motd that isn't the case because it shows then only on tty1 and logging out goes to tty5/6 AFAIK.
Maybe do both /etc/motd and my suggestion (in rc.local)?

Fred

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

#1528 Post by saintless »

OK, Fred, I understand.
I will include it only in rc.local.
Should I uncomment tty5 and tty6 then?
In /etc/inittab only tty1 and tty2 are uncommented at the moment.

Toni

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

#1529 Post by fredx181 »

Hi Toni
Should I uncomment tty5 and tty6 then?
In /etc/inittab only tty1 and tty2 are uncommented at the moment.
No, just leave it like that, I have the same as you in inittab and still logging out from menu goes to tty5/6
I think best to put the welcome line as last in rc.local.

Fred

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

#1530 Post by fredx181 »

Hi Toni
Here's another one, with much bigger debian logo.
Choose which one you like :)

Code: Select all


[1;31m           _,ggg$$$$$gg.  [0;39m
[1;31m        ,g$$$$$$$$$$$$$$$P.  [0;39m
[1;31m      ,g$$P""       """Y$$.".  [0;39m
[1;31m     ,$$P'              `$$$.         [1;33m====================      [0;39m
[1;31m   ',$$P       ,ggs.     `$$b:        [1;32mWelcome to DebianDog    [0;39m
[1;31m   `d$$'     ,$P"'   .    $$$         [1;33m====================    [0;39m
[1;31m    $$P      d$'     ,    $$P       [0;39m
[1;31m    $$:      $$.   -    ,d$$     [0;29m[1;29mThe system is up and running now.[0;29m [0;39m
[1;31m    $$;      Y$b._   _,d$P'         [0;39m
[1;31m    Y$$.    `.`"Y$$$$P"'           [0;39m
[1;31m    `$$b      "-.__                 [0;39m
[1;31m     `Y$$b                                [0;39m
[1;31m      `Y$$.        [0;29mLogin as [1;29mroot[0;29m with password [1;29mmarina[0;29m or [1;29mpuppy[0;29m with password [1;29mpuppy[0;29m. [0;39m
[1;31m        `$$b.                             [0;39m
[1;31m         `Y$$b.         [0;29mPress [1;29mCtrl+Alt+F1[0;29m to go to login prompt after exiting X.[0;39m
[1;31m            `"Y$b._     [0;29mIf X won't start automatically after login type [1;29mstartx[0;29m.                     [0;39m
[1;31m                `""""               [0;39m
Fred

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

#1531 Post by saintless »

Thank you, Fred :)
I choose the second one.

Toni

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

#1532 Post by mcewanw »

Toni, it might be worth theming jwm if you haven't already done so. It is something I know nothing about really, but there are various themes from Puppy and others in the links below:

Puppy page on Theme Management
http://puppylinux.com/technical/themes.htm

JWM Themes Exchange
http://murga-linux.com/puppy/viewtopic.php?t=23260

http://antix.freeforums.org/jwm-theme-f ... t3336.html

http://crunchbang.org/forums/viewtopic.php?id=12751
Last edited by mcewanw on Thu 27 Feb 2014, 03:18, edited 1 time in total.
github mcewanw

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

#1533 Post by sunburnt »

# I`ve tried to get JWM to do multi. wallpapers, but it`s never worked for me.
# If someone can make it work and show us how... Then I`ll make wallpapers.gui work with it.

# Jim Wing is a Puppy forum member... Perhaps we can get some help from him.


# Puppy has a menu builder script. Sadly it looks more complex than needed.
I suggest writing custom scripts ".desktop > JWM" & ".desktop > IceMW".
This seems simpler than Puppy`s "template files" and Debian`s "menu files".
Sadly there may be DesktopStandards conversion scripts for these WM menus.
# Ideally a Menu would read the .desktop files directly so no converter is needed.
So when a new app is installed, the menu needs no refreshing as it`s .desktop file is there.
# I`ve made menus like this in BaCon, but they are not like the normal TaskBar menus.
# A universal TaskBar would solve this problem for all WMs. No more "proprietary" crap.


# Puppy uses a Firewall "script", so it`s small. I don`t know much about it.


# Toni; I`ve spent more time on Rox`s file associations then I care to think about.
Most of what I`ve read says Rox has poor support for mime. What a surprise...
I`ll post a short list of files for you to manually add and we will call it done.
.

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

#1534 Post by saintless »

Hi, all.

William, themes is new area for me as well. I will check out the links you gave but I think puppy has different jwm structure. It uses separate taskbar file for example and jwm and jwmrc files.
All files we have in DebianDog are /etc/jwm/system.jwmrc, /etc/jwm/debian-menu and /etc/menu-methods/jwm
I will check out what we can use from puppy themes or look for standard debian jwm themes.

Terry,
# I`ve tried to get JWM to do multi. wallpapers, but it`s never worked for me.
# If someone can make it work and show us how... Then I`ll make wallpapers.gui work with it.
I have your wallpapers.gui working the same way with jwm and icewm. Do not waste time for this. Better wait for the next testing module and then you can check for problems or improovements.
I suggest writing custom scripts ".desktop > JWM" & ".desktop > IceMW".
This seems simpler than Puppy`s "template files" and Debian`s "menu files".
I agree. It will be best to generate menu this way. Then we can simply uninstall debian menu package or leave it as optional menu method.
# Puppy uses a Firewall "script", so it`s small. I don`t know much about it.
Debian has at least 10 small (less than 0,3 Mb) firewall packages I posted below. I never use firewall and I prefer someone who need firewall to test them and write if they are good or no good. It is not possible debian not to have small and useful firewall package I think.
I`ll post a short list of files for you to manually add and we will call it done.
I agree, Terry. Do not waste time on this anymore.

Toni
Last edited by saintless on Thu 27 Feb 2014, 08:15, edited 1 time in total.

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

#1535 Post by saintless »

Suggestions to be tested from enyone interested of firewall program in DebianDog:
Use apt-get to install and test one by one.

1. dtc-xen-firewall
2. apf-firewall
3. ipkungfu
4. ferm
5. firehol
6. mason
7. shorewall
8. shorewall6-lite
9. uruk
10. uif
11. pyroman
12. arno-iptables-firewall
13. fiaif

First 10 are very small size and no problem to be included in DebianDog.

Toni

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

#1536 Post by saintless »

Hi, William.
Best I can do for Jwm theme. Looks similar to default Icewm theme. I will leave it this way for now.
Much more to fix in the menu.
Toni

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

#1537 Post by mcewanw »

I've heard of shorewall, but none of the others. Not that hearing of it is a recommendation.

Despite its popularity, it seems to be complicated to set up and is recommended for Power Users.

Firehol, looks pretty easy to set up, but quite flexible. It is being actively developed and now has support for IPv6 too. That's the one I'd go for.

Toni: Your jwm theme looks good. I've looking forward to playing with your next release and with jwm configs. I also agree with yourself and Terry, that in the future a scripting solution that interprets .desktop files would be the best way to produce menus.
github mcewanw

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

#1538 Post by saintless »

mcewanw wrote:Firehol, looks pretty easy to set up, but quite flexible. It is being actively developed and now has support for IPv6 too. That's the one I'd go for.
Thanks, William.
I will include it if there no other suggestion today and tomorrow.

BTW I got pman working with h3v and cpuutils you suggested are also included. I get boot message they are disabled but I think it is because of my old CPU.
Mtpaint-help menu item is working with the script you suggested.

In one or two days I will upload the next testing module no matter how much work I have more. It will be easier to ask for help if you use the same module as I do.

Toni

tony
Posts: 334
Joined: Sat 14 Jan 2006, 10:52
Location: Montreal.ca

#1539 Post by tony »

1. dtc-xen-firewall
2. apf-firewall
3. ipkungfu

I tried the first three and decided on ipkungfu.

It was easy to set up and produced a complex set of ip tables. I don't know enough to comment on the tables.

Drawback is no icon to check if it is running and needs to be set up to run at boot. If you are on a local network you will have to edit the tables to suit.

Regards Tony

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

#1540 Post by sunburnt »

Toni; Did you find a way to remove JWM`s desktop buttons.?
As said, JWM is supposed to do multi desktop wallpapers all by itself, but it didn`t work for me.

I`ll write a desktop files parser and then we can get it to output IceWM and JWM menu code.
Generating JWM`s XML code is cumbersome, but I`ve done it before.
IceWM`s code should be easy to generate, but I still have a lack of IceWm`s menu setup.


# A firewall with some form of setup/config. gui would be nice of course.
.

Post Reply