Urxvtset
Urxvtset
Updated to urxvtset-0.5
new for 0.5
Transparency shading
Borderless window
issues:
very large windows size for some people.
requires:
Yad needs to be installed for urxvtset to work.
latest Yad 0.12.2.pet is available on this link.
http://murga-linux.com/puppy/viewtopic. ... 533#536533
Im not sure how you can move a borderless window? So this option is probably best used with a custom script, menu item or desktop file.
Screen position could be added to the geometry but it would take up another two spaces on the GUI so i'm not sure about that
urxvt -geometry "42x12+0+0"
some thing like above would open terminal in upper left corner of the screen.
full res:
http://i.imgur.com/LlAZk.png
-------------------------------------------------------------------
Old Urxvtset-0.4
Attention: if you have downloaded 0.4 already i made an error whilst making the .pet - please see below for the fixed version. cheers.
New for Urxvtset-0.4
thanks again to L18L
Better colour selections
Numeric values for font and geometry.
-----------------------------------------------------------------
Old Urxvtset-0.3
Unless some one still wants rxvtset i will change this thread focus to Urxvtset .
New for Urxvtset-0.3
better way to select text ( thanks L18L )
Pseudo-transparency
full res:
http://i.imgur.com/fSU9S.jpg
-------------------------------------------------------------------
Old rxvtset-0.1
This is a little Yad setup GUI for puppy rxvt terminal.
Only tested on Lucid Puppy but will probably work on other puppies to if Yad works on them.
Image:
http://i.imgur.com/Hmr07.png
What you can do with it:
change -
Text colour.
Background colour.
Cursor underline colour.
window geometry.
Font.
Font style.
Font size.
Things to know - make sure to fill in all input fields, font names and font style are case sensitive - for a list of usable font type the command fc-list in a terminal
Before installing - move/backup your /root/.Xdefaults file if you uninstall rxvtset move/restore this file back to /root to get the default rxvt settings back.
Dependencies - requires Yad for the GUI
download is available on this thread:
http://murga-linux.com/puppy/viewtopic.php?t=58306
Or Yad-0.11.0.pet (38KB) direct download Link here:
http://murga-linux.com/puppy/viewtopic. ... h&id=40921
new for 0.5
Transparency shading
Borderless window
issues:
very large windows size for some people.
requires:
Yad needs to be installed for urxvtset to work.
latest Yad 0.12.2.pet is available on this link.
http://murga-linux.com/puppy/viewtopic. ... 533#536533
Im not sure how you can move a borderless window? So this option is probably best used with a custom script, menu item or desktop file.
Screen position could be added to the geometry but it would take up another two spaces on the GUI so i'm not sure about that
urxvt -geometry "42x12+0+0"
some thing like above would open terminal in upper left corner of the screen.
full res:
http://i.imgur.com/LlAZk.png
-------------------------------------------------------------------
Old Urxvtset-0.4
Attention: if you have downloaded 0.4 already i made an error whilst making the .pet - please see below for the fixed version. cheers.
New for Urxvtset-0.4
thanks again to L18L
Better colour selections
Numeric values for font and geometry.
-----------------------------------------------------------------
Old Urxvtset-0.3
Unless some one still wants rxvtset i will change this thread focus to Urxvtset .
New for Urxvtset-0.3
better way to select text ( thanks L18L )
Pseudo-transparency
full res:
http://i.imgur.com/fSU9S.jpg
-------------------------------------------------------------------
Old rxvtset-0.1
This is a little Yad setup GUI for puppy rxvt terminal.
Only tested on Lucid Puppy but will probably work on other puppies to if Yad works on them.
Image:
http://i.imgur.com/Hmr07.png
What you can do with it:
change -
Text colour.
Background colour.
Cursor underline colour.
window geometry.
Font.
Font style.
Font size.
Things to know - make sure to fill in all input fields, font names and font style are case sensitive - for a list of usable font type the command fc-list in a terminal
Before installing - move/backup your /root/.Xdefaults file if you uninstall rxvtset move/restore this file back to /root to get the default rxvt settings back.
Dependencies - requires Yad for the GUI
download is available on this thread:
http://murga-linux.com/puppy/viewtopic.php?t=58306
Or Yad-0.11.0.pet (38KB) direct download Link here:
http://murga-linux.com/puppy/viewtopic. ... h&id=40921
- Attachments
-
- urxvtset-0.5.pet
- urxvtset-0.5.pet
- (2.49 KiB) Downloaded 1063 times
-
- urxvtset-0.4.pet
- Fixed - urxvtset-0.4.pet
- (2.18 KiB) Downloaded 963 times
-
- urxvtset-0.3.pet
- urxvtset.pet
- (2.05 KiB) Downloaded 896 times
-
- rxvtset-0.1.pet
- rxvtset-0.1
- (1.81 KiB) Downloaded 940 times
Last edited by stu90 on Tue 21 Jun 2011, 11:17, edited 7 times in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Lucid Puppy - Rxvtset
Using in wary 512 user fido
did show it in action.
bigpup wrote:...
Does not seem to be having any effect on the console.
When you open the console the title is urxvt.
Is this a different rxvt terminal?
Code: Select all
# rxvt
Hello bigpup,bigpup wrote:Using in Lucid Puppy 5.2.5
The settings are being changed in .Xdefaults
Does not seem to be having any effect on the console.
When you open the console the title is urxvt.
Is this a different rxvt terminal?
urxvt and rxvt are the same thing in puppy rxvt being a link to urxvt - however there is a mismatch in the rxvt-unicode package where the default desktop icon will open urxvt while the default urxvt menu item will open rxvt - i guess it is because they have different names the xdefaults for one does not seem to work with the other so a case of six of one and half a dozen of the other.
Here is a .pet for urxvtset
- Attachments
-
- urxvtset-0.1.pet
- (1.81 KiB) Downloaded 859 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
uRxvtset
Hi stu90,
thanks for urxvtsetup.pet
is giving preview of all available fonts/styles/sizes
My regards
Here is version 2
thanks for urxvtsetup.pet
Code: Select all
# yad --font
My regards
Here is version 2
Code: Select all
#!/bin/sh
## urxvt terminal setup -v1 ##
## stu90 ##
## combobox -v2
## L18L
version=v2
xdorig="$HOME/.Xdefaults"
xdtmp="/tmp/.Xdefaults"
xdback="$HOME/.Xdefaults.back"
if [ -f "$xdorig" ]; then
cp $xdorig $xdtmp
else
echo "No $xdorig file found exiting"
fi
echo "Current Urxvt terminal settings"
fcolour="`grep 'foreground' $xdtmp | cut -s -d ":" -f 2`"
echo "$fcolour"
bcolour="`grep 'background' $xdtmp | cut -s -d ":" -f 2`"
echo "$bcolour"
ccolour="`grep 'underlineColor' $xdtmp | cut -s -d ":" -f 2`"
echo "$ccolour"
geom="`grep 'geometry' $xdtmp | cut -s -d ":" -f 2`"
echo "$geom"
fsize="`grep 'pixelsize' $xdtmp | cut -s -d "=" -f 3`"
echo "$fsize"
font="`grep 'xft' $xdtmp | cut -s -d ":" -f 3`"
echo "$font"
style="`grep 'style' $xdtmp | awk -F '[=:]' '{print $5}'`"
echo "$style"
font_style="$font:$style"
echo $font_style
setup=$(yad --title="Urxvt Setup - $version" --form \
--text=" To obtain a list of usable fonts open a terminal \n window and enter the command fc-list. \n \n --:Make sure to fill in ALL fields:-- " \
--field="Foreground" "$fcolour" \
--field="Background" "$bcolour" \
--field="Cursor" "$ccolour" \
--field="Geometry" "$geom" \
--field="Fontsize" "$fsize" \
--field="Font:CB" " $font_style! `fc-list | sort -f -u | tr '\n' '!' | sed s/style=//g `"\
--icons --button="Restore:2" --button="gtk-cancel:1" --button="gtk-ok:0")
button1=$?
case $button1 in
1)
echo "Exiting" && exit 0
;;
0)
### gert setup GUI user input ###
ectext="One or more entries has not been filled in please make sure to fill in All entries. Exiting with out saving settings"
guitext=" One or more entries has not been filled in. please make sure \n to fill in ALL entries. Exiting with out saving settings. "
setfcolour=`echo $setup | cut -d "|" -f1`
[[ ! "$setfcolour" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
setbcolour=`echo $setup | cut -d "|" -f2`
[[ ! "$setbcolour" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
setccolour=`echo $setup | cut -d "|" -f3`
[[ ! "$setccolour" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
setgeom=`echo $setup | cut -d "|" -f4`
[[ ! "$setgeom" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
setfsize=`echo $setup | cut -d "|" -f5`
[[ ! "$setfsize" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
#setfont=`echo $setup | cut -d "|" -f6`
setfont=`echo $setup | cut -d "|" -f6 | cut -d ":" -f1`
[[ ! "$setfont" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
#setstyle=`echo $setup | cut -d "|" -f7`
setstyle=`echo $setup | cut -d "|" -f6 | cut -d ":" -f2`
[[ ! "$setstyle" ]] && yad --title="Urxvt Setup Info" --text="$guitext" && echo "$ectext" && exit
## set fourground colour ##
sed -i "s:$fcolour:$setfcolour:g" $xdtmp 2>/dev/null
## set back ground colour ##
sed -i "s:$bcolour:$setbcolour:g" $xdtmp 2>/dev/null
## set back ground colour ##
sed -i "s:$ccolour:$setccolour:g" $xdtmp 2>/dev/null
## set geometry ##
sed -i "s:$geom:$setgeom:g" $xdtmp 2>/dev/null
## set font size ##
sed -i "s:$fsize:$setfsize:g" $xdtmp 2>/dev/null
## set font ##
sed -i "s:$font:$setfont:g" $xdtmp 2>/dev/null
## set font style ##
sed -i "s:$style:$setstyle:g" $xdtmp 2>/dev/null
yad --title="Rxvt Setup Info" --text=" Urxvt terminal settings saved " && echo "Urxvt terminal settings saved" && cp "$xdtmp" "$xdorig"
exit
;;
2)
if [ -f "$xdback" ]; then
yad --title="Urxvt Setup Info" --text=" Restored default settings "
cp "$xdback" "$xdorig" && echo "Restored default settings"
else
echo "Can not find file to restore exiting" && exit
fi
;;
esac
- Attachments
-
- urxvtsetup.png
- combobox
- (12.34 KiB) Downloaded 4087 times
stu90,bigpup wrote:Using in Lucid Puppy 5.2.5
The settings are being changed in .Xdefaults
Does not seem to be having any effect on the console.
When you open the console the title is urxvt.
Is this a different rxvt terminal?
urxvtsetup.pet did it.
Thanks for the quick fix!
Any info on what background number sets do what?
Like #424242 is what color? etc...
Good idea to keep your first post updated with new versions. Most people will not look to far into a topic for newer versions of the pet.
No big deal, but when installing pet, it says entry will be made in menu, under setup. Entry shows up in utility.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
color
red=green=blue is alway greybigpup wrote: Any info on what background number sets do what?
Like #424242 is what color? etc...
Menu > graphic > gcolor2 color chooser
Re: color
Thanks!L18L wrote:red=green=blue is alway greybigpup wrote: Any info on what background number sets do what?
Like #424242 is what color? etc...
Menu > graphic > gcolor2 color chooser
Did not think about going to gcolor2 color chooser to see what code is for what color.
For background entry:
Found I could just put a color name like white, blue, green, orange, etc..
But not much control that way.
Getting the code set, for a specific color variation, gives more control.
color selection
Dear L18L,
Following in your footsteps (yad --font), why not simply use
for color selection?
I am getting to like yad....
With kind regards,
vovchik
Following in your footsteps (yad --font), why not simply use
Code: Select all
yad --color
I am getting to like yad....
With kind regards,
vovchik
Hi Bigpup that is a colour code - i used the colour from my openbox window decoration - as you have found out you can just enter some colours by name.bigpup wrote:stu90,bigpup wrote:Using in Lucid Puppy 5.2.5
The settings are being changed in .Xdefaults
Does not seem to be having any effect on the console.
When you open the console the title is urxvt.
Is this a different rxvt terminal?
urxvtsetup.pet did it.
Thanks for the quick fix!
Any info on what background number sets do what?
Like #424242 is what color? etc...
Good idea to keep your first post updated with new versions. Most people will not look to far into a topic for newer versions of the pet.
No big deal, but when installing pet, it says entry will be made in menu, under setup. Entry shows up in utility.
Thanks for the heads up - .pet should give the correct category information when installing now.
Re: uRxvtset
Hi L18L,L18L wrote:Hi stu90,
thanks for urxvtsetup.pet
is giving preview of all available fonts/styles/sizesCode: Select all
# yad --font
My regards
Here is version 2
Thank you for the update - this makes selecting text much easier now, i have included in new 0.3 .pet
cheers.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Lucid Puppy - Urxvtset
Hi stu90,
- forces numeric values for geometry and font size
- color chooser and font chooser for preview
- main window opens at cursor position
Transparence, why just on/off ? Colour chooser enables values from 0 to 255.
Restore, reload default values, stored with OK
Thanks to all for feedback
cheers
Edited:
Attachment deleted
and please note it not just for Lucid, I am with wary, sometimes as user fido.you wrote:Unless some one still wants rxvtset i will change this thread focus to Urxvtset
I am getting to like yad too and one idea has lead to another so I can present version 03a now.vovchik wrote:why not simply use yad --color
- forces numeric values for geometry and font size
- color chooser and font chooser for preview
- main window opens at cursor position
Transparence, why just on/off ? Colour chooser enables values from 0 to 255.
Restore, reload default values, stored with OK
Thanks to all for feedback
cheers
Edited:
Attachment deleted
- Attachments
-
- urxvtset.png
- no comment
- (31.12 KiB) Downloaded 3871 times
Last edited by L18L on Thu 16 Jun 2011, 07:36, edited 1 time in total.
Hmm, would that explain the problems with getting all the applications that use rxvt to show the same text and background when they call rxvt?stu90 wrote:... urxvt and rxvt are the same thing in puppy rxvt being a link to urxvt - however there is a mismatch in the rxvt-unicode package where the default desktop icon will open urxvt while the default urxvt menu item will open rxvt ...
For example see this thread.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Lucid Puppy - Urxvtset
Forget 0.3a completly please.L18L wrote: present version 03a now.
It is faulty and too complicated, just an example howto NOT use yad.
Correct and simple version coming soon
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Urxvtset (Lucid and wary)
Here it is, v 0.3bL18L wrote:Correct and simple version coming soon
If there was a way to reject values of zero then the text "Make sure..." could be omitted.
Load default or change values and press OK
When the texts will be finished I would like to internationalize this tool.
cheers
- Attachments
-
- urxvtset_3b.png
- much simpler now
- (16.12 KiB) Downloaded 3758 times
-
- urxvtset.0.3b.gz
- forget 0.3a please
- (1.58 KiB) Downloaded 837 times
Hi Flash,Flash wrote:Hmm, would that explain the problems with getting all the applications that use rxvt to show the same text and background when they call rxvt?stu90 wrote:... urxvt and rxvt are the same thing in puppy rxvt being a link to urxvt - however there is a mismatch in the rxvt-unicode package where the default desktop icon will open urxvt while the default urxvt menu item will open rxvt ...
For example see this thread.
Im not sure - it seems a few of the puppy scripts/apps have colours for rxvt set in the script which will over ride .xdefaults - i guess you would need to edit out any -fg -bg colours and change the terminal rxvt/urxvt to match which ever you have .xdefaults set up for.
Re: Urxvtset (Lucid and wary)
Hi L18L,L18L wrote:Here it is, v 0.3bL18L wrote:Correct and simple version coming soon
If there was a way to reject values of zero then the text "Make sure..." could be omitted.
Load default or change values and press OK
When the texts will be finished I would like to internationalize this tool.
cheers
Nice find on the colour chooser - i have looked at the yad --help-all numerous times yet completely missed that.
To be honest im not to sure about the drag and drop separate font preview option - some of my fonts do not display at all / and others incorrectly - i also have no desktop icons other than drives to drag there.
stu90,
urxvtset-0.4.pet
When installed does not put an entry for it in the menu.
Does not seem to install.
I tried L18L's 0.3b version.
When choosing color for foreground or cursor.
After saving settings. They both will have the same color. Based on the one you changed last.
But overall, a very nice program!
urxvtset-0.4.pet
When installed does not put an entry for it in the menu.
Does not seem to install.
I tried L18L's 0.3b version.
When choosing color for foreground or cursor.
After saving settings. They both will have the same color. Based on the one you changed last.
But overall, a very nice program!
Oops sorry about that bigpupbigpup wrote:stu90,
urxvtset-0.4.pet
When installed does not put an entry for it in the menu.
Does not seem to install.
I tried L18L's 0.3b version.
When choosing color for foreground or cursor.
After saving settings. They both will have the same color. Based on the one you changed last.
But overall, a very nice program!
I have removed the old one and re uploaded 0.4 now to then first post with fixed in the comment.
Do you still have the colour problem in 0.4 ?
cheers.
The new upload of 0.4 works great. no problems now.stu90 wrote:Oops sorry about that bigpup
I have removed the old one and re uploaded 0.4 now to then first post with fixed in the comment.
Do you still have the colour problem in 0.4 ?
cheers.
Color works good.
Very, very, nice program now. Very easy to use.
Thanks to you both for very needed addition to Puppy.
- Attachments
-
- urxvtset4.jpg
- (41.9 KiB) Downloaded 974 times