Applications not launching
I finally got pommed installed, but it will not launch (gpommed GTK client), rather it just bounces on my cursor and sits in the system tray for 30 seconds and disappears. Also, Kbit torrent was doing the same thing, however after a reboot it seems to be working again. This makes me wonder though what other applications might also have problems, but so far haven't run into another one.
Has anyone seen this or maybe have some suggestions as to how I might fix it? Is there anything I can do to find out is causing it? I imagine it's not pommed specific, rather something KDE or GTK based? I've done some google (and forum) searches, which were rather unhelpful. Thanks. |
Run them from the commandline. There will probably be error messages indicating what is wrong. You might be missing a package or your disk could be full.
|
Ok, so I tried running from the command line "gpomme &" and I can see a process when I do a ps -a. However, the program never comes up and I don't get an error. If I do gpomme from the command line by itself, it again looks as though it's running but nothing comes up and I eventually do a ctrl+c to end it out. No errors. Disk is definitely not full, double and triple checked it ;-)
Other ideas?? |
have you read the READMEs that come with the slackbuild?
There's a reason why they're called README (with capital letters);) |
I assume you mean this?
README.SLACKWARE for pommed This package installs an rc.pommed script that should be called from rc.local (and optionally rc.local_shutdown) like so: In rc.local: # Start pommed if [ -x /etc/rc.d/rc.pommed ]; then /etc/rc.d/rc.pommed start fi In rc.local_shutdown: # Stop pommed if [ -x /etc/rc.d/rc.pommed ]; then /etc/rc.d/rc.pommed stop fi It is also necessary to reload the messagebus service: /etc/rc.d/rc.messagebus reload ======================================================== Interestingly I had the rc.local part done, but not the rest. Followed through with it, rebooted and still no go. Attempted '/etc/rc.d/rc.pommed start' from the command line and got "pommed is a directory". Which is true. So now I'm stumped again. |
Ok, deleted the pommed folder that shouldn't have been there. reinstalled the pommed slackbuild and confirmed the readme settings where still there. Rebooted. Keys now WORK. I think what happened was that I had been following some instructions prior to the slackbuild and had copied a folder there at some point.
However, gpommed still won't launch. Truthfully since my keyboard is working like it's supposed to, I don't care enough to continue trying to get gpommed working. But if you've got some more ideas that you think might work, I'm open to try. Thanks. |
pommed is a daemon, so you have to start it and stop it as root.
if you launch it (still as root) with pommed -d it should tell you what's wrong. in my case (I don't have an apple) it says this Code:
# pommed -d |
So I've tried launching gpomme both as root and user from the terminal and it just hangs.
pommed appears to be working since my keyboard fn keys are working as they should. But I do get an error repeating when I run pommed -d as root, it's the part about ambient light at the end... root@mpollar2-mbp:~# pommed -d I: pommed v1.39 Apple laptops hotkeys handler I: Copyright (C) 2006-2011 Julien BLACHE <jb@jblache.org> pommed configuration: + General settings: fnmode: 1 + sysfs backlight control: initial level: -1 step: 1 on_batt: 6 + ATI X1600 backlight control: initial level: -1 step: 10 on_batt: 80 + Intel GMA950 backlight control: initial level: 0xffffffff step: 0xf on_batt: 0x40 + nVidia GeForce 8600M GT backlight control: initial level: -1 step: 1 on_batt: 6 + Audio volume control: card: default initial volume: -1 step: 10% beep: yes volume element: PCM speaker element: Front headphones element: Headphone + Keyboard backlight control: default level: 100 step: 10 auto on threshold: 20 auto off threshold: 40 auto enable: yes idle timer: 60s idle level: 0 + CD eject: enabled: yes device: /dev/dvd + Beep: enabled: no beepfile: /usr/share/pommed/goutte.wav + Apple Remote IR Receiver: enabled: no DMI vendor name: [Apple Inc.] DMI product name: [MacBookPro6,1] I: DMI machine check: running on a MacBookPro6,1 System: Linux 3.2.29-smp i686 Failed to access brightness node: No such file or directory Investigating evdev [Speakup] Discarding evdev: bus 0x0006, vid 0x0000, pid 0x0000 Investigating evdev [Lid Switch] -> ACPI LID switch evdev: no EV_KEY event type (not a keyboard) Investigating evdev [Power Button] Discarding evdev: bus 0x0019, vid 0x0000, pid 0x0001 Investigating evdev [Sleep Button] Discarding evdev: bus 0x0019, vid 0x0000, pid 0x0003 Investigating evdev [Power Button] Discarding evdev: bus 0x0019, vid 0x0000, pid 0x0001 Investigating evdev [applesmc] Discarding evdev: bus 0x0019, vid 0x0000, pid 0x0000 Investigating evdev [USB Optical Mouse] Discarding evdev: bus 0x0003, vid 0x04b3, pid 0x310c Investigating evdev [HDA NVidia HDMI/DP,pcm=9] Discarding evdev: bus 0x0000, vid 0x0000, pid 0x0000 Investigating evdev [HDA NVidia HDMI/DP,pcm=8] Discarding evdev: bus 0x0000, vid 0x0000, pid 0x0000 Investigating evdev [Apple Inc. Apple Internal Keyboard / Trackpad] -> WellSpring III USB assembly Trying /sys/module/hid_apple/parameters/fnmode -> WellSpring III USB assembly Trying /sys/module/hid_apple/parameters/fnmode -> Internal keyboard Investigating evdev [bcm5974] -> WellSpring III USB assembly Trying /sys/module/hid_apple/parameters/fnmode Discarding evdev with EV_ABS event type (mouse/trackpad) Investigating evdev [Built-in iSight] Discarding evdev: bus 0x0003, vid 0x05ac, pid 0x8507 Investigating evdev [HDA NVidia HDMI/DP,pcm=7] Discarding evdev: bus 0x0000, vid 0x0000, pid 0x0000 Investigating evdev [HDA NVidia HDMI/DP,pcm=3] Discarding evdev: bus 0x0000, vid 0x0000, pid 0x0000 Found 2 devices Trying /sys/class/leds/smc::kbd_backlight/brightness KBD backlight value is 110 I: Found applesmc at /sys/class/hwmon/hwmon0/device I: Dereferenced applesmc to /sys/devices/platform/applesmc.768 Ambient light: right 0, left 3 Audio init: volume OK, speakers NOK, headphones OK Audio init: min 0, max 255, step 25 E: Not primary DBus name owner E: Not primary DBus name owner Ambient light: right 0, left 3 Ambient light lower threshold reached Trying /sys/class/leds/smc::kbd_backlight/brightness |
Being pommed a daemon you have to start it only once: if you want to start it again, first you have to (as root)
Code:
/etc/rc.d/rc.pommed stop About the error it spits I cannot be of much help, you could have better luck contacting the developers but there isn't a pommed site anymore and all the distributions are dropping it. If I were you, I would use it as is while it works (also if only partially). |
Ok well I disabled the ambient light portion, rebooted (stopped and started the daemon as well) but get this now
Audio init: min 0, max 255, step 25 E: Not primary DBus name owner E: Not primary DBus name owner Ambient light: right 0, left 4 E: Not primary DBus name owner Ambient light: right 0, left 4 E: Not primary DBus name owner Ambient light: right 0, left 4 E: Not primary DBus name owner Ambient light: right 0, left 4 Oh well, so long as this doesn't affect it's usage or negatively impact my system, I'm find with it. Thanks for all your help. You deserve a pay raise =) |
All times are GMT -5. The time now is 04:10 PM. |