Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 30 Aug 2014, 04:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
ArchPup - First Puppy with pacman for installing apps
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 17 [247 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 15, 16, 17 Next
Author Message
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Wed 23 Jan 2013, 10:51    Post subject:  

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

Code:
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.
Back to top
View user's profile Send private message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 795
Location: USA

PostPosted: Wed 23 Jan 2013, 10:58    Post subject:  

now it works.
_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
Back to top
View user's profile Send private message 
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Wed 23 Jan 2013, 11:57    Post subject:  

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?
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 302

PostPosted: Wed 23 Jan 2013, 12:52    Post subject:  

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
Back to top
View user's profile Send private message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 795
Location: USA

PostPosted: Wed 23 Jan 2013, 13:04    Post subject:  

stifiling wrote:


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


Yes.

_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
Back to top
View user's profile Send private message 
simargl
Guest


PostPosted: Wed 23 Jan 2013, 13:40    Post subject:  

Scooby Nice colors man Laughing 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:
[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.
Back to top
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Wed 23 Jan 2013, 15:40    Post subject:  

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:
chmod +x /path/to/powerapplet_tray
powerapplet_tray.gz
Description 
gz

 Download 
Filename  powerapplet_tray.gz 
Filesize  11.82 KB 
Downloaded  86 Time(s) 
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 302

PostPosted: Wed 23 Jan 2013, 15:54    Post subject:  

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:
/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
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 302

PostPosted: Wed 23 Jan 2013, 15:57    Post subject:  

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?
Back to top
View user's profile Send private message 
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Wed 23 Jan 2013, 16:18    Post subject:  

Scooby wrote:
I tested powerapplet_tray

Code:
/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:
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:
pacman -S isomaster
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Thu 24 Jan 2013, 02:25    Post subject:  

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.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 460

PostPosted: Thu 24 Jan 2013, 04:46    Post subject: battery powerapplet  

From Barry's blog: http://bkhome.org/blog/?viewDetailed=01837
Quote:
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/distributions/quirky/pet_packages-wary5/powerapplet_tray-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.
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4782
Location: GB

PostPosted: Thu 24 Jan 2013, 05:37    Post subject: 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.
Back to top
View user's profile Send private message 
simargl
Guest


PostPosted: Thu 24 Jan 2013, 06:02    Post subject:  

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:
#!/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.
Back to top
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Thu 24 Jan 2013, 06:34    Post subject:  

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?

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 17 [247 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 15, 16, 17 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1074s ][ Queries: 13 (0.0124s) ][ GZIP on ]