ArchPup - First Puppy with pacman for installing apps

A home for all kinds of Puppy related projects
Post Reply
Message
Author
stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#136 Post by stifiling »

bark_bark_bark wrote:Nevermind the module didn't load, actually the only modules loaded are:

Code: Select all

fuse
aufs
squashfs
Why so?
i ran into that too when i switched kernels...i remedied it by using a save file. after rebooting into the save file...the default modules loaded.

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#137 Post by bark_bark_bark »

now it works.
....

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#138 Post by stifiling »

bark_bark_bark wrote:now it works.
your broadcom wireless adapter is recongnized now, using the slacko non-pae kernel? pwireless2 is using wlan0 to connect to wifi?

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#139 Post by Scooby »

simargl wrote:Scooby,
Try removing /run/dbus/pid that file should be there only if dbus-daemon is already running,
Did you replace PIDFILE in /etc/init.d/messagebus? After that try /etc/init.d/messagebus start
and /etc/init.d/messagebus stop, for me it's working.
[

I use this
PIDFILE=/run/dbus/pid

This is a sequential list of commands in terminal after a fresh restart
What lines did you erase in .xinitrc?

[17:30 root@archpup etc] > cat /run/dbus/pid
1919

[17:30 root@archpup etc] > ps -e|grep dbus
2163 ? 00:00:00 dbus-daemon
2299 pts/0 00:00:00 dbus-launch
2300 ? 00:00:00 dbus-daemon

[17:30 root@archpup etc] > /etc/init.d/messagebus stop
Stopping system message bus...
[17:32 root@archpup etc] > ps -e|grep dbus
2299 pts/0 00:00:00 dbus-launch

[17:33 root@archpup etc] > /etc/init.d/messagebus start
Starting system message bus: /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-daemon --system
Unknown username "polkitd" in message bus configuration file
Unknown username "polkitd" in message bus configuration file

[17:33 root@archpup etc] > ps -e|grep dbus
2299 pts/0 00:00:00 dbus-launch
2483 ? 00:00:00 dbus-daemon

[17:34 root@archpup etc] > cat /run/dbus/pid
2483

[17:34 root@archpup etc] > batti
Traceback (most recent call last):
File "/usr/bin/batti", line 41, in <module>
bus = dbus.SessionBus()
File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 211, in __new__
mainloop=mainloop)
File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-4f4FwEyACF: Connection refused

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#140 Post by bark_bark_bark »

stifiling wrote:
your broadcom wireless adapter is recongnized now, using the slacko non-pae kernel? pwireless2 is using wlan0 to connect to wifi?
Yes.
....

simargl

#141 Post by simargl »

Scooby Nice colors man :lol: And yes messagebus start and stop work for you, something else must be problem.
I installed batti to see what will happen and like you also got error only different:

Code: Select all

[root@archpup ~]# batti
 
Neither UPower nor DeviceKit.Power could be initialized!
This can have multiple reasons.
Here is the error for UPower:

    org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

And this is the error for DeviceKit.Power:

    org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.DeviceKit.Power was not provided by any .service files
So it's just one more annoying gtk/python/ application.
If you want my suggestion try qbat from AUR (package is only 200 KB). If you don't want to compile let me know, and I will upload package for you later.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#142 Post by stifiling »

Scooby,

puppy default battery monitor appears to work just fine. i pulled it right out of precise's /root/Startup folder. if you want to try it just delete the .gz on the end. you might also have to first run the command:

Code: Select all

chmod +x /path/to/powerapplet_tray
Attachments
powerapplet_tray.gz
(11.82 KiB) Downloaded 189 times

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#143 Post by Scooby »

simargl wrote: So it's just one more annoying gtk/python/ application.
If you want my suggestion try qbat from AUR (package is only 200 KB). If you don't want to compile let me know, and I will upload package for you later.
Agreed lets forget it!


Stifling

I tested powerapplet_tray

Code: Select all

/powerapplet_tray: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
My head is kind a squared from hacking now so have to leave i for now

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#144 Post by Scooby »

I am trying to create a puppy iso

[20:48 root@archpup tmp] > mkisofs -D -R -o /mnt/sdb1/_ISO/Linux/AUTO/ArchPup-edited.iso -b /tmp/ArchPup/isolinux.bin -c /tmp/ArchPup/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /tmp/ArchPup/
call to search_tree_file with an absolute path, stripping
initial path separator. Hope this was intended...
genisoimage: Uh oh, I cant find the boot catalog directory '/tmp/THINSlacko-5.3.3t-SCSI'!


What is boot catalog, I thought it was were I have the files to go into ISO resides.

Any input into making ISO?

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#145 Post by stifiling »

Scooby wrote:I tested powerapplet_tray

Code: Select all

/powerapplet_tray: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
tip i learned from mavrothal:

Code: Select all

ln -s /usr/lib/libpng15.so.15.13.0 /usr/lib/libpng12.so.0
puppy's battery monitor should run after that.
Scooby wrote:Any input into making ISO?
i use isomaster and edit an already working iso...deleting the files out that i don't want, and replacing them with the ones that i do. and saving as a new iso.

Code: Select all

pacman -S isomaster

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#146 Post by mavrothal »

Looking at Scooby's quest for a battery monitor and realizing that (old and new) laptops are both widespread and usually "single user" machines (ie easier to run single user OSs or as root), I would suggest to include a battery monitor tray app (rather than conky module) in 132.
If not the puppy powerapplet then some other small arch app with minimal dependencies.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

battery powerapplet

#147 Post by anikin »

From Barry's blog: http://bkhome.org/blog/?viewDetailed=01837
powerapplet_tray 2.3
There have been a couple of reports of my battery tray applet 'powerapplet_tray' not working.

I had expected that the path to examine would be /proc/acpi/battery/BAT0/ or /proc/acpi/battery/BAT1, however the base directory can have other names. Forum member 'peebee' has reported this:

/proc/acpi/battery/C23B/

I have fixed this and bumped the version number to 2.3. Testers are welcome.

Note that it uses the new yaf-splash (gtkdialog-splash) to put up an info box when clicked on. If you want it to work with the old yaf-splash, you will need to modify the source.

PET here (compiled in Wary, with GTK 2.20.1):
http://distro.ibiblio.org/pub/linux/dis ... ay-2.3.pet

Source here:
http://bkhome.org/sources/alphabetical/p/
Us#er: pu#p#p#y Pas#swo#rd: li#n#u#x

Posted on 7 Oct 2010, 7:33
perhaps, someone will want to compile it in Archpup.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

B-I-G

#148 Post by Sage »

My view is that BIG is just foot-shooting. There are already plenty of BIG Puppies. There are lots of faults and shortcomings with ArchPup; its only redeeming feature at present is small and fast. BIG is for folks who are too blinkered at best, idle at worst, to achieve K.I.S.S. Small will always remain beautiful. E = mc^2 , also think Schrodinger, Dirac and Heisenberg (can't seem to transpose their equations into this box, but, as you'll already know, they are small!). Writing in assembler would earn more Brownie points and be a more worthy contribution to humanity.

simargl

#149 Post by simargl »

Here are the latest changes in ArchPup:
HARDWARECLOCK="UTC" added to /etc/rc.conf
new deamon script /etc/init.d/hwclock with this content

Code: Select all

#!/bin/sh
. /etc/rc.conf

case $HARDWARECLOCK in
	UTC) HWCLOCK_PARAMS="--utc";;
	localtime) HWCLOCK_PARAMS="--localtime";;
	*) HWCLOCK_PARAMS="";;
esac

case "$1" in
	stop)
		hwclock --adjust $HWCLOCK_PARAMS
		hwclock --systohc
		;;
esac
What will this thing do - Just set hardware clock to user selected "UTC" or "localtime", and sync
system time to hardware clock on system reboot. Also I removed about 20 or more useless
files from /etc, see there https://bitbucket.org/simargl/archpup if you are interested.
What's your opinion. Is this OK?

For powerapplet I would suggest that someone make PKGBUILD and upload it to AUR,
so everyone can use it. Personally I don't need battery monitor as I don't have a laptop,
but for others adding it to AUR seems like good idea.

@Sage: Would you be so kind and explain with some more details what are "lots of faults and
shortcomings with ArchPup". Thanks.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#150 Post by mavrothal »

simargl wrote:Also I removed about 20 or more useless
files from /etc, see there https://bitbucket.org/simargl/archpup if you are interested.
What's your opinion. Is this OK?
Are you sure that all kind of connections, firewalls and protocols will work without /etc/dhcpcd.conf, protocols and services?
simargl wrote:For powerapplet I would suggest that someone make PKGBUILD and upload it to AUR,
so everyone can use it. Personally I don't need battery monitor as I don't have a laptop,
but for others adding it to AUR seems like good idea.
But do you intend to provide a battery monitor with 132, regardless if powerapplet_tray will be in AUR or not?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#151 Post by simargl »

As you know Puppy Linux uses HWCLOCK="localtime", but in Arch Linux announcement says: We now strongly
discourage the use of HWCLOCK="localtime", as this may lead to several known and unfixable bugs.
On the other side, if HWCLOCK is set to UTC then Windows would not show the time correctly. I will change it to localtime, to avoid possible complaints.
mavrothal,
those files you mentioned are all provided by Arch packages

Code: Select all

[root@archpup ~]# spkg file dhcpcd.conf
Package                   File
dhcpcd                    /etc/dhcpcd.conf
pwireless2                /usr/local/Pwireless2/dhcpcd.conf
[root@archpup ~]# spkg file protocols  
Package                   File
iana-etc                  /etc/protocols
[root@archpup ~]# spkg file services 
Package                   File
iana-etc                  /etc/services
libreoffice               /opt/libreoffice3.6/program/services/services.rdb
libreoffice               /opt/libreoffice3.6/ure/share/misc/services.rdb
libreoffice               /opt/libreoffice3.6/ure/lib/stocservices.uno.so
qt                        /usr/include/Qt/qdesktopservices.h
qt                        /usr/include/QtGui/qdesktopservices.h
I will add powerapplet_tray if it can use Faenza theme, so tray icons will look nice and consistent.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#152 Post by mavrothal »

simargl wrote:As you know Puppy Linux uses HWCLOCK="localtime", but in Arch Linux announcement says: We now strongly
discourage the use of HWCLOCK="localtime", as this may lead to several known and unfixable bugs.
On the other side, if HWCLOCK is set to UTC then Windows would not show the time correctly. I will change it to localtime, to avoid possible complaints.
But then a "proper" linux distro shows the wrong time till you sync the clock and from what I can see 55% of the Archpup downloads are from Linux machines...
simargl wrote:I will add powerapplet_tray if it can use Faenza theme, so tray icons will look nice and consistent.
I do not really care which battery monitor will be included. I just believe that any distro should (does) include one OOTB.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#153 Post by Scooby »

stifiling wrote:

Code: Select all

ln -s /usr/lib/libpng15.so.15.13.0 /usr/lib/libpng12.so.0
Works now! Thanks, Still I like batterymon the best.

Scooby likes quests :twisted:
stifiling wrote: i use isomaster and edit an already working iso...deleting the files out that i don't want, and replacing them with the ones that i do. and saving as a new iso.

Code: Select all

pacman -S isomaster
I want to create a script that works across different puppies so I will try to make it work
with makeisofs. But I will have a look at isomaster.

simargl

#154 Post by simargl »

mavrothal wrote:I do not really care which battery monitor will be included. I just believe that any distro should (does) include one OOTB.
Battery monitor is already included, it's called conky. I thought powerapplet was some 'special wish', if not then it's fine.
Image

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#155 Post by mavrothal »

simargl wrote:Battery monitor is already included, it's called conky. I thought powerapplet was some 'special wish', if not then it's fine.
mavrothal wrote:I would suggest to include a battery monitor tray app (rather than conky module) in 132
The reason you want a tray applet for battery and not conky is that laptops have a small screen usually filled by whatever you are using. You do not want to start closing/moving windows while you are working on battery power to check your battery levels and time left to work on it.
Is a basic usability thing but if you think is a luxury... so be it.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply