[ubuntu] can pgrep be used gnome-panel in 12.04

view story

http://ubuntuforums.org – Hello everyone, I am trying to use a script which finds a DBUS session bus. I am using the command Code: pids=`pgrep -u $user gnome-panel` As nearly as I can tell, this command fails to function as intended. I am very new to linux and the various versions of UBUNTU preceding Precise. In searching the internet I get the impression that 12.04 may no longer support the gnome-panel. Could someone suggest what the correct code for finding the process id's? Thanks, Mark Allyn aka allynm (Hardware)