Changes in / [01fcea9:2c7fba6]


Ignore:
Location:
src-sh/pc-extractoverlay/ports-overlay/usr/local
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-extractoverlay/ports-overlay/usr/local/bin/xdg-open

    rf719bd8 r02643f3  
    311311{ 
    312312  UR_PROCS=`ps -ax -o comm` #Get the current running processes 
    313   #Now scan the running procs for DE-specific indicators 
    314   if [ -n "`echo "${UR_PROCS}" | grep startxfce`" ]; then DE=xfce; 
     313  #Check for the PCDM_SESSION environment variable first 
     314  if [ "${PCDM_SESSION}" = "KDE" ]; then DE=kde; 
     315  elif [ "${PCDM_SESSION}" = "LXDE" ]; then DE=lxde; 
     316  elif [ "${PCDM_SESSION}" = "MATE" ]; then DE=mate; 
     317  elif [ "${PCDM_SESSION}" = "GNOME" ]; then DE=gnome; 
     318  elif [ "${PCDM_SESSION}" = "CINNAMON" ]; then DE=gnome; 
     319  elif [ "${PCDM_SESSION}" = "XFCE" ]; then DE=xfce; 
     320  #otherwise scan the running procs for DE-specific indicators 
     321  elif [ -n "`echo "${UR_PROCS}" | grep startxfce`" ]; then DE=xfce; 
    315322  elif [ -n "`echo "${UR_PROCS}" | grep gnome-session`" ]; then DE=gnome; 
    316323  elif [ -n "`echo "${UR_PROCS}" | grep mate-session`" ]; then DE=mate; 
  • src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/sudoers

    r73ddd0ec r1dce35f  
    5656## 
    5757## ENV to keep so xdg-open works 
    58 Defaults env_keep += "KDE_FULL_SESSION GNOME_DESKTOP_SESSION_ID DESKTOP_SESSION" 
     58Defaults env_keep += "KDE_FULL_SESSION GNOME_DESKTOP_SESSION_ID DESKTOP_SESSION PCDM_SESSION" 
    5959## 
    6060## X11 resource path settings 
Note: See TracChangeset for help on using the changeset viewer.