hotpup icons are placed on top of each other in 2.17

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
nutts4life
Posts: 263
Joined: Fri 15 Feb 2008, 09:52
Location: UK

hotpup icons are placed on top of each other in 2.17

#1 Post by nutts4life »

OK, i know that Barry solved some of these problems, but i cant' seem to get the right version of hotpup.

I originally installed hotpup on 3.01 and it worked fine. I was able to orientate the icons no problem.

but when i installed hotpup on 2.17, the icons could not be orientated and sat on top of each other.

I looked on the forums and this seemed to be due to a change from xorg 7.0 to 7.3. where the xandr call produced different results.

So i took all the /etc/HotPop/ files from here:http://www.puppylinux.ca/tpp/tronkel/hotpup-1.00/

I beleive this is the old release of hotpup for the older xorg.

went i installed the new files i was able to orientate the icons fine.

BUT they still appear on top of each other.

anyboday had this problem with 2.17?
Am i using the wrong version again?

Has anybody got a .pet that works for 2.17 xorg 7.0.

Thanks,

n4l

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

you can try this:

edit the files in /etc/HotPup

add_icons_for_device1
add_icons_for_device2
add_icons_for_device3
add_icons_for_device4
add_icons_for_device5
add_icons_for_device6
add_icons_for_device7
add_icons_for_device8

Here is my modification:

Code: Select all

## code from fixpuppypin, to get the extreme coordinates (to match screen size)
#if [ "`readlink /usr/X11R7/bin/X`" = "Xorg" ];then
# SCREENX=`xrandr | grep -F '*' | tr -s " " | cut -d' ' -f2,4 | cut -d "x" -f1`
# SCREENY=`xrandr | grep -F '*' | tr -s " " | cut -d' ' -f2,4 | cut -d "x" -f2`
#else
# if [ -f /etc/videomode ];then #used by Xvesa.
#  SCREEN=`cat /etc/videomode | cut -f 2 -d " " | cut -f1,2 -d "x"`
#  SCREENX=${SCREEN%x*} ; SCREENY=${SCREEN#*x}
# fi
#fi
# new code from MU, using xscreensize
SCREENX=`xscreensize | sed "s/ .*//"`
SCREENY=`xscreensize | sed "s/^[^ ]* //"`
# make sure we got something...
[ "$SCREENX" ] && [ "$SCREENY" ] || exit
You also will need xscreensize, extract it in /usr/X11R7/bin/:
http://www.murga-linux.com/puppy/viewto ... ch&id=7845

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#3 Post by jrb »

I had the same problem and went with tronkel's files. Can't remember exactly what I did to get it working but I made this pet which has worked well for me in 2.17.1. It overwrites your current .xinitrc file however so if you have anything custom there you might want to back it up and then modify the file this pet installs.
Good Luck!
Attachments
hotpup217.pet
(41.7 KiB) Downloaded 464 times

Post Reply