LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-27-2012, 07:45 PM   #1
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Rep: Reputation: Disabled
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.
 
Old 12-27-2012, 08:53 PM   #2
bosth
Member
 
Registered: Apr 2011
Posts: 229

Rep: Reputation: 68
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.
 
Old 12-28-2012, 08:07 AM   #3
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: Disabled
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??
 
Old 12-28-2012, 08:22 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,457

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
have you read the READMEs that come with the slackbuild?

There's a reason why they're called README (with capital letters)

Last edited by ponce; 12-28-2012 at 08:26 AM.
 
Old 12-28-2012, 08:44 AM   #5
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-28-2012, 09:04 AM   #6
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-28-2012, 09:09 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,457

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
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
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: [Bochs]
E: Unknown non-Apple machine
about gpomme not working, try launching it from a terminal (as user).

Last edited by ponce; 12-28-2012 at 09:13 AM.
 
Old 12-28-2012, 09:22 AM   #8
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-28-2012, 09:36 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,457

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
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
then you can manually start it with a terminal (still as root) using the -d option.

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).

Last edited by ponce; 12-28-2012 at 09:39 AM.
 
Old 12-28-2012, 09:39 AM   #10
Ratmonkey
Member
 
Registered: Jul 2012
Location: Notre Dame, Indiana
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: Disabled
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 =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmonad launching applications bonfire89 Linux - Software 0 02-03-2012 07:14 PM
[SOLVED] Launching applications in xterm ADX Linux - Newbie 5 07-20-2011 12:18 PM
[SOLVED] Unable to find commands for launching some applications . davefrank Linux - Desktop 5 02-03-2011 07:22 AM
Launching gui applications on remote computer babu198649 Linux - Newbie 4 03-30-2010 01:20 AM
crontab : launching applications barunparichha Linux - Software 7 06-26-2008 12:59 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration