Puppy Stardust 005

For talk and support relating specifically to Puppy derivatives
Message
Author
mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

Re: Initial tests on 005-lameSMBexplorer

#61 Post by mawebb88 »

I see elsewhere in the forum

http://www.murga-linux.com/puppy/viewto ... 73&t=50901

(+comments from ttuuxxx) that other are having problems with lameSMBexplorer.

Hope therefore you will revert in 006 to the stable Pnethood which works perfectly.

Rgds Mike

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#62 Post by nooby »

zigbert I am not good at reading your text in first post.

You kind of say that this Stardust Puppy behave very differently.
It install itself from scratch. No Live session at all. The only way
to try it is to let it install itself first.

that is not what i am used to. All Puppy I have tested let one use it as "live" for as long as one like.

Is it just me failing to read the obvious or should I trust this puppy to be an install only version?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#63 Post by DaveS »

Zigbert, a question............ here is the code from ptray that adds the tasklist:

Code: Select all

               ##################################################
               ##                                              ##
               ##               T A S K L I S T                ##
               ##                                              ##
               ##################################################

   <hbox tooltip-text="Show windows in tray. The tasklist makes the tray to stretch horizontally.">
    <button>
     <input file icon="gtk-add"></input>
     <action>[ ! "`grep -x "Tasklist" $HOME/.ptray/tmp/list`" ] && echo Tasklist >> $HOME/.ptray/tmp/list</action>
     <action>refresh:TRAY</action>
    </button>
    <text width-request="150" use-markup="true"><label>"<b>Tasklist</b>"</label></text>
    <text width-request="150"><label>""</label></text>
What do I need to do to make it specify a maxwidth, say, 200?
I set my tasklist to 200 manually, but every time I use ptray, it overwrites my custom change? I use this tag:

Code: Select all

  <TaskList maxwidth="200"/>
Spup Frugal HD and USB
Root forever!

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#64 Post by aragon »

nooby wrote:Is it just me failing to read the obvious or should I trust this puppy to be an install only version?
the stardust-desktop is packed on the iso and build on first clean boot from iso or whatever... it's still a live cd.

aragon

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#65 Post by zigbert »

DaveS wrote:Zigbert, a question............ here is the code from ptray that adds the tasklist:

Code: Select all

               ##################################################
               ##                                              ##
               ##               T A S K L I S T                ##
               ##                                              ##
               ##################################################

   <hbox tooltip-text="Show windows in tray. The tasklist makes the tray to stretch horizontally.">
    <button>
     <input file icon="gtk-add"></input>
     <action>[ ! "`grep -x "Tasklist" $HOME/.ptray/tmp/list`" ] && echo Tasklist >> $HOME/.ptray/tmp/list</action>
     <action>refresh:TRAY</action>
    </button>
    <text width-request="150" use-markup="true"><label>"<b>Tasklist</b>"</label></text>
    <text width-request="150"><label>""</label></text>
What do I need to do to make it specify a maxwidth, say, 200?
I set my tasklist to 200 manually, but every time I use ptray, it overwrites my custom change? I use this tag:

Code: Select all

  <TaskList maxwidth="200"/>
You're looking at the wrong place :)
line 81 in /usr/local/ptray/ptray

Code: Select all

		Tasklist)
			echo '  <TaskList/>' >> $HOME/.ptray/tmp/tray
			;;
Here is the correct place to include your maxwidth setting.


Sigmund

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#66 Post by tasmod »

Hi Zigbert,

I used Theme Maker from menu and saved the theme, all OK but when clicked apply from the gui it closed OK but the bottom tray had vanished.

No amount of re-filing would bring it back. It had deleted the jwmrc-tray and placed a symlink which won't delete. It is an error link and stalls with input/output error.

In the tray maker the main-tray says 'nothing' as select. If I select it then it still doesn't load.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#67 Post by nooby »

Tested to do a USB live mem stick using UNetbootin but it fails to connect to the wired LAN. It says it is successful and if I want to save that connection to next time. But it doesn't work.

Wireless show up though which is a bonus. It even light the LED for Wifi.

Only Jolicloud did that up to now so that was cool.

I like the look of your Startdust. How do I go about to get the wired LAN going. It is fiber optics in the Cellar and copper to every flat and we have a Switch that take care of assigning us IP individually. A Broadband thing. 50MB even if it says 100MB.

What can I do to get wired going?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#68 Post by `f00 »

@DaveS (re p4,a14 - jwm corner) yep, no corners since the 'rounded' look came into fashion 8)

@01micko muchas gratz for the xdeltas :D (while you're sweltering in the shed, I keep having to add logs to the fire .. tanj)

firstlook (pfix=ram,nosave) is fine, a bit of confusion to habit of rclick for rootmenu, but the 'favorites'menu is a good idea. If I can get s1 sorted, likeliest I'll try a liveCD-switch-upgrade and hope it takes without too much mucking about (s1's fairly awful in some things since I manually redid 'most all the menus yet the official full-boat keeps rising thru the layers :( as well as all that stuff in /root/my-applications/bin). leafpad in a console gives .. not even nicoedit. Fonts don't display well for me on a CRT - kerning (spacing of characters) is usual almost-hurts-to-look-at .. abi' still points to nico' as an alternate? ah, ptray setup looks much more functional but may I suggest renaming all of them to natural position rather than supposed function? Bottom, left, right and top? Main, second, third and fourth is hardly clear even if the user recalls which is set up where. nevermind, I just recalled that there's an option to do something similar..

will get back to this one (got sidetracked with q003 ;) )

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#69 Post by zigbert »

tasmod wrote:Hi Zigbert,

I used Theme Maker from menu and saved the theme, all OK but when clicked apply from the gui it closed OK but the bottom tray had vanished.

No amount of re-filing would bring it back. It had deleted the jwmrc-tray and placed a symlink which won't delete. It is an error link and stalls with input/output error.

In the tray maker the main-tray says 'nothing' as select. If I select it then it still doesn't load.
Hopefully Trio will look at this. It sounds like the theme-maker should check whether ./jwmrc-tray(2-4) is a file or a symlink. If link, point the changes to the actual file (readlink $HOME/.jwmrc-tray). In Stardust all the tray configs are symlinks pointing to whatever defined preset in Ptray.


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#70 Post by zigbert »

nooby wrote:Tested to do a USB live mem stick using UNetbootin but it fails to connect to the wired LAN. It says it is successful and if I want to save that connection to next time. But it doesn't work.

Wireless show up though which is a bonus. It even light the LED for Wifi.

Only Jolicloud did that up to now so that was cool.

I like the look of your Startdust. How do I go about to get the wired LAN going. It is fiber optics in the Cellar and copper to every flat and we have a Switch that take care of assigning us IP individually. A Broadband thing. 50MB even if it says 100MB.

What can I do to get wired going?
Does your wired LAN work in Puppy 4.3.1?


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#71 Post by zigbert »

DaveS wrote:jwm -p currently throwing up these errors:

Code: Select all

# jwm -p
grep: this: No such file or directory
grep: menu,: No such file or directory
find: /root/.jwm/menuitems/Edit: No such file or directory
find: this: No such file or directory
find: menu: No such file or directory
JWM: warning: /root/.jwmrc[246]: could not open included file exec:fixmenus_favorites
JWM: warning: /root/.jwmrc[269]: invalid tag in Active: Corner
JWM: warning: /root/.jwmrc[275]: invalid tag in Inactive: Corner
I think I am right in saying the 'Corner' tag is no longer supported in the current jwm?
I am aware of errors from 'jwm -p'. At the moment none of them is harming jwm. It seems that 'jwm -p' is not working correct for a exec command in a menuitem pointing to file with spaces in filename. - But it works just fine.


Sigmund

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#72 Post by DaveS »

zigbert wrote: You're looking at the wrong place :)
line 81 in /usr/local/ptray/ptray

Code: Select all

		Tasklist)
			echo '  <TaskList/>' >> $HOME/.ptray/tmp/tray
			;;
Here is the correct place to include your maxwidth setting.


Sigmund
Brilliant thanks......
Spup Frugal HD and USB
Root forever!

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#73 Post by 01micko »

Hi ziggy

Rob and I have upgraded Startmount to ver 0.2.0. The gui is much improved and many little bugs have been fixed.

DaveS.

I notice you had a problem with Startmount. Try the latest version, and if you still have a problem post over in the Startmount thread. Rob or myself will get the problem sorted.

Cheers
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#74 Post by trio »

zigbert wrote:
tasmod wrote:Hi Zigbert,

I used Theme Maker from menu and saved the theme, all OK but when clicked apply from the gui it closed OK but the bottom tray had vanished.

No amount of re-filing would bring it back. It had deleted the jwmrc-tray and placed a symlink which won't delete. It is an error link and stalls with input/output error.

I will, see what you mean

In the tray maker the main-tray says 'nothing' as select. If I select it then it still doesn't load.
Hopefully Trio will look at this. It sounds like the theme-maker should check whether ./jwmrc-tray(2-4) is a file or a symlink. If link, point the changes to the actual file (readlink $HOME/.jwmrc-tray). In Stardust all the tray configs are symlinks pointing to whatever defined preset in Ptray.


Sigmund

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

JWM Theme Maker 1.4 Stardust

#75 Post by trio »

:lol:

Ok, Will fix the instant apply button and jwm config button, here're what you have to change:

/usr/local/jwmthememaker/func:

Code: Select all

#!/bin/bash
#jwmthememaker
#Copyright 2009 GPL
#Trio Tjandradjaja

case "$1" in

-rgb2hex)
	rgb2hex `cat /tmp/color.tmp` > /tmp/color.tmp
	HEX=`cat /tmp/color.tmp` 
	echo "#$HEX" > /tmp/color.tmp
	;;

-makefile)
[ "$NAME" = 'Type in new theme name' ] && gxmessage -bg orange -center "Please type in new theme name" && exit 0
[ "$COLOR1" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR2" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR3" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR4" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR5" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR6" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR7" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR8" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ "$COLOR9" = 'Please choose a color' ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0

[ ! "$NAME" ] && gxmessage -bg orange -center "Please type in new theme name" && exit 0
[ ! "$COLOR1" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR2" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR3" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR4" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR5" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR6" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR7" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR8" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0
[ ! "$COLOR9" ] && gxmessage -bg orange -center "Please fill in all color boxes" && exit 0


Xdialog --title "JWM Maker Splash" --no-close --screen-center -no-buttons --infobox "Saving $NAME theme
Trio Tj - GPL 2009" 10 30
p=$!

	echo "#see /usr/local/jwmconfig2/theme-switcher script.
MENU_BG=$COLOR7
ACTIVE_BG=$COLOR1
FOREGROUND=$COLOR5
PAGER_BG=$COLOR7
FG_SELECTED=$COLOR5 " > $HOME/.jwm/themes/$NAME-colors

	echo "<JWM>

<WindowStyle>
    <Font>$FONT-$FONTSIZE</Font>
    <Width>3</Width>
    <Height>22</Height>     
    <Active>
       <Text>$COLOR5</Text>
       <Title>$COLOR1:$COLOR2</Title>
<!--       <Corner>$COLOR1</Corner> -->
       <Outline>$COLOR10</Outline>
    </Active>
    <Inactive>
       <Text>$COLOR6</Text>
       <Title>$COLOR3:$COLOR4</Title>         
<!--       <Corner>$COLOR3</Corner> -->
       <Outline>$COLOR10</Outline>
    </Inactive>
</WindowStyle> 

<TaskListStyle>
<Font>$FONT-$FONTSIZE</Font>
<ActiveForeground>$COLOR5</ActiveForeground>
<ActiveBackground>$COLOR1:$COLOR2</ActiveBackground>
<Background>$COLOR3:$COLOR4</Background>
</TaskListStyle>

	<!-- TRAY PROPERTIES -->

	<TrayStyle>
		<Font>$FONT-$FONTSIZE</Font>
		<Foreground>$COLOR6</Foreground>
		<Background>$COLOR7</Background>
	</TrayStyle>

	<!-- PAGER PROPERTIES -->

	<PagerStyle>
		<Outline>grey</Outline>
		<Foreground>$COLOR4</Foreground>
		<Background>$COLOR3</Background>
		<ActiveForeground>$COLOR1</ActiveForeground>
		<ActiveBackground>$COLOR2</ActiveBackground>
	</PagerStyle>

	<PopupStyle>
		<Font>$FONT-$FONTSIZE</Font>
		<Outline>$COLOR10</Outline>
		<Foreground>$COLOR9</Foreground>
		<Background>$COLOR8</Background>
	</PopupStyle>

	<MenuStyle>
		<Font>$FONT-$FONTSIZE</Font>
		<Foreground>$COLOR6</Foreground>
		<Background>$COLOR7</Background>
		<ActiveForeground>$COLOR5</ActiveForeground>
		<ActiveBackground>$COLOR1:$COLOR2</ActiveBackground>
	</MenuStyle>

</JWM>" > $HOME/.jwm/themes/$NAME-jwmrc

kill $p
	;;
-instantapply)
[ ! "`ls $HOME/.jwm/themes | grep $NAME`" ] && gxmessage -bg orange -center "$NAME has not been saved" && exit 0
THEME="$NAME"

[ ! -f /root/.jwm/themes/${THEME}-jwmrc ] && exit
#select chosen theme...
cp -f /root/.jwm/themes/${THEME}-jwmrc /root/.jwm/jwmrc-theme
#set correct backgrounds for applets...
cp -f /root/.jwm/themes/${THEME}-colors /root/.jwm/jwm_colors
#...note, /root/.xinitrc reads this file to set background for absvolume.
#...note, jwm_colors is written to by /usr/local/jwmconfig2/gtk2jwm script

. /root/.jwm/jwm_colors #gives MENU_BG, PAGER_BG

#zigbert: in case it points to a Ptray preset (or other)
TrayFile="`readlink /root/.jwmrc-tray`"
[ ! "$TrayFile" ] && TrayFile='/root/.jwmrc-tray'
TrayFileBak="/root/.jwmrc-tray.bak"
cp -f $TrayFile $TrayFileBak

#John Doe created code for the applet backgrounds, old jwmconfig, port here...
BackgroundColor="$MENU_BG" #"#ffc100"
[ "$BackgroundColor" = "" ] && BackgroundColor='#ffc100'
IndentedBackgroundColor="$PAGER_BG"
[ "$IndentedBackgroundColor" = "" ] && IndentedBackgroundColor='#ffa100'

 GetLineIndex "blinkydelayed"
 linenumber=$?
 echo $linenumber

 GetLineIndex "xload -nolabel"
 linenumber2=$?
 echo $linenumber2

 lineNumber=`expr $linenumber`
 lineNumber2=`expr $linenumber2`
 
#Zigbert added this
blinkyline="blinkydelayed -bg \"$BackgroundColor\""
xloadline=" xload -nolabel -fg \"#37483A\" -hl white -bg \"$IndentedBackgroundColor\""

#fixed by hairywill 20-01-09 handle case where linenumber/2 is zero
[ ! "$lineNumber" = 0 ] && sed -ie "$lineNumber"d  $TrayFile && sed -ie "$lineNumber"i"$blinkyline" $TrayFile
[ ! "$lineNumber2" = 0 ] && sed -ie "$lineNumber2"d $TrayFile && sed -ie "$lineNumber2"i"$xloadline" $TrayFile
 
#Trio: this to make absvolume follows theme without reboot
if [ -f /usr/bin/absvolume ]; then
	if [ "$MENU_BG" = "" ]; then
		killall absvolume
		absvolume &
	else
		killall absvolume
		absvolume -bg $MENU_BG &
	fi
fi

jwm -restart
sleep 2 #for trayapps to settle

;;
esac
/usr/local/jwmthememaker/jwmthememaker:

Code: Select all

#!/bin/bash
#jwmthememaker
#Copyright 2009 GPL
#Trio Tjandradjaja

echo 'Please choose a color' > /tmp/color.tmp

echo "`fc-list | cut -d ":" -f 1 | sort | uniq`" > /tmp/fontlist.txt
cat /tmp/fontlist.txt  | awk '{print "<item>"$1" "$2" "$3" "$4"</item>"}' > /tmp/fontlist.txt
FONTS=`cat /tmp/fontlist.txt`

WIDGET_DIR="`dirname $0`"
[ "$WIDGET_DIR" = "." ] && WIDGET_DIR="`pwd`"
export WIDGET_DIR="$WIDGET_DIR"

export jwmtheme="	
<window title=\"JWM Theme Maker 1.4 Stardust\">
 <vbox>
  <frame Make your own JWM theme> 
	<vbox>	
	<pixmap><input file>/usr/local/lib/X11/pixmaps/paint48.png</input></pixmap>
   <frame Window - Taskbar - Menu>
   <hbox>
   <text><label>Active    - fr</label></text>
   <entry tooltip-text=\"Opened window color gradient start\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR1</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR1</action>
    </button>
    <text><label>to</label></text>
   <entry tooltip-text=\"Opened window color gradient end\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR2</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR2</action>
    </button>
   </hbox>
   <hbox>
   <text><label>Inactive - fr</label></text>
   <entry tooltip-text=\"Closed window color gradient start\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR3</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR3</action>
    </button>
    <text><label>to</label></text>
   <entry tooltip-text=\"Closed window color gradient end\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR4</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR4</action>
    </button>
   </hbox>
   <hbox>
   <text><label>Active text</label></text>
   <entry tooltip-text=\"Text for opened windows & cursor passed menu entry\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR5</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR5</action>
    </button>
    <text><label>Inactive text</label></text>
   <entry tooltip-text=\"Text for closed windows & menu entry\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR6</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR6</action>
    </button>
   </hbox>
   <hbox>
   <text><label>Base background</label></text>
   <entry tooltip-text=\"Background of taskbar & menu\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR7</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR7</action>
    </button>
    <text><label>Border Outline</label></text>
   <entry tooltip-text=\"Borders of windows and pop-up\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR10</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR10</action>
    </button>
    </hbox>
   <hbox>
   <text><label>Font Name</label></text>
   <combobox tooltip-text=\"Applied to all windows, taskbar and menu\">
   <variable>FONT</variable>
   $FONTS
   </combobox>
   <text><label>\"                           Font Size \"</label></text>
   <combobox tooltip-text=\"Applied to all windows, taskbar and menu\">
   <variable>FONTSIZE</variable>
   <item>12</item>
   <item>10</item>
   <item>11</item>
   <item>12</item>
   <item>13</item>
   <item>14</item>
   <item>15</item>
   </combobox>
   </hbox>
   </frame>
   <frame Pop-Up Box>
   <hbox>
   <text><label>Background</label></text>
   <entry tooltip-text=\"Applied only for pop-up info when cursor over pager on taskbar\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR8</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR8</action>
    </button>
    <text><label>Text</label></text>
   <entry tooltip-text=\"Applied only for pop-up info when cursor over pager on taskbar\">
   <input>cat /tmp/color.tmp</input>
     <variable>COLOR9</variable>
    </entry>
    <button>
     <input file>/usr/local/lib/X11/mini-icons/colorexplorer.xpm</input>
     <action>Xdialog --stdout --colorsel 'Please choose a color' 22 75 [0 0 0] > /tmp/color.tmp</action>
     <action>. $WIDGET_DIR/func -rgb2hex</action>
     <action type=\"refresh\">COLOR9</action>
    </button>
   </hbox>
   </frame>
   <frame Save & Instant Apply>
   <hbox>
    <text><label>Name</label></text>
    <entry tooltip-text=\"No empty space in name, ex: Blue-Nice\"> 
     <variable>NAME</variable>
	 <input>echo 'Type in new theme name'</input>
   </entry>
   <button tooltip-text=\"Save current theme name typed in Name Box\">
    <input file icon=\"gtk-save\"></input>
    <label>Save Theme</label>
    <action>. $WIDGET_DIR/func -makefile</action>
   </button>
   <button tooltip-text=\"Instant view of current theme name typed in Name Box\">
   <input file icon=\"ppg\"></input>
   <action>. $WIDGET_DIR/func -instantapply</action>
   <label>Instant Apply</label>
   </button>
   </hbox>
   </frame> 
   </vbox>
   <hbox>
   <button>
    <input file icon=\"gtk-quit\"></input>
    <label>Quit</label>
   </button>
   <button>
    <input file>/usr/local/lib/X11/mini-icons/mini-opensshd.xpm</input>
    <label>JWM Config</label>
    <action>exec ptray &</action>
   </button>
   <button>
    <input file icon=\"gtk-delete\"></input>
    <label>Delete a theme</label>
    <action>. $WIDGET_DIR/deltheme &</action>
   </button>	
   </hbox>
   </frame>
 </vbox>
</window>"

#execute gtkdialog
gtkdialog3 --center --program=jwmtheme

unset jwmtheme

#clear
exit 0

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#76 Post by trio »

You2pup updated to version 1.3-2, please don't forget to include the /usr/share/icons/youtube.png

Thx

bernibiel
Posts: 9
Joined: Fri 22 Jan 2010, 19:09

Printing doesn't work for me - any idea?

#77 Post by bernibiel »

Hi everybody

i tried to install my two networked printers in Puppy Stardust 005 and whatever I do, as soon as I try to print the test page I get the status message from CUPS:

"/invalidfont in findfont"

The printers are a Laserjet P2055DN and an OfficeJet 7410. I have downloaded the hpliplite pet-package from the repository so the drivers are not the problem. BTW: doing the same installation in Official Puppy 4.3.1 as well as the latest LHP is no problem - the test pages print o.k.

Any idea what might be missing in Stardust in order to make printing happen
Thanks - Bernhard

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#78 Post by 01micko »

Hmmm..

Could that be to do with removing type 1 fonts? I didn't try printing yet, but may do so...
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#79 Post by zigbert »

Mick
- Startmount updated

Trio
- Updated JwmThemeMaker
- Updated You2Pup
- Kept youtube icon, but changed menuicon to get right alignment. I still think 12 kb is way too much. It might go next time I get a shrinking delirium :twisted:


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

Re: Printing doesn't work for me - any idea?

#80 Post by zigbert »

bernibiel wrote:Hi everybody

i tried to install my two networked printers in Puppy Stardust 005 and whatever I do, as soon as I try to print the test page I get the status message from CUPS:

"/invalidfont in findfont"

The printers are a Laserjet P2055DN and an OfficeJet 7410. I have downloaded the hpliplite pet-package from the repository so the drivers are not the problem. BTW: doing the same installation in Official Puppy 4.3.1 as well as the latest LHP is no problem - the test pages print o.k.

Any idea what might be missing in Stardust in order to make printing happen
Thanks - Bernhard
Welcome to us! :)

Hmmm...... How could we detect which font this is? Probably no terminal output?................ Hmmmmmm


Sigmund

Post Reply