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 wrote:Nevermind the module didn't load, actually the only modules loaded are:
Why so?Code: Select all
fuse aufs squashfs
ArchPup - First Puppy with pacman for installing apps
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA
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
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA
Scooby Nice colors man 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:
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.
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
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.
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:
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
Agreed lets forget it!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.
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
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?
[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?
tip i learned from mavrothal: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
Code: Select all
ln -s /usr/lib/libpng15.so.15.13.0 /usr/lib/libpng12.so.0
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.Scooby wrote:Any input into making ISO?
Code: Select all
pacman -S isomaster
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.
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] ==
battery powerapplet
From Barry's blog: http://bkhome.org/blog/?viewDetailed=01837
perhaps, someone will want to compile it in Archpup.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
B-I-G
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.
Here are the latest changes in ArchPup:
HARDWARECLOCK="UTC" added to /etc/rc.conf
new deamon script /etc/init.d/hwclock with this content
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.
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
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.
Are you sure that all kind of connections, firewalls and protocols will work without /etc/dhcpcd.conf, protocols and services?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?
But do you intend to provide a battery monitor with 132, regardless if powerapplet_tray will be in AUR or not?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.
== [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] ==
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
I will add powerapplet_tray if it can use Faenza theme, so tray icons will look nice and consistent.
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
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: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.
I do not really care which battery monitor will be included. I just believe that any distro should (does) include one OOTB.simargl wrote:I will add powerapplet_tray if it can use Faenza theme, so tray icons will look nice and consistent.
== [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] ==
Works now! Thanks, Still I like batterymon the best.stifiling wrote:Code: Select all
ln -s /usr/lib/libpng15.so.15.13.0 /usr/lib/libpng12.so.0
Scooby likes quests
I want to create a script that works across different puppies so I will try to make it workstifiling 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
with makeisofs. But I will have a look at isomaster.
simargl wrote:Battery monitor is already included, it's called conky. I thought powerapplet was some 'special wish', if not then it's fine.
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.mavrothal wrote:I would suggest to include a battery monitor tray app (rather than conky module) in 132
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] ==