79278853

Date: 2024-12-13 15:47:49
Score: 0.5
Natty:
Report link

try this :

# bash

# 0x046018ae  0 xfce4-terminal.Xfce4-terminal  tosh Terminal - __ Rcran's private name here __

    wid=$( wmctrl -lx |awk '/rcran/ { print $1 }')

# man xdotool : 

    xdotool windowsize [options] [window] width height
    xdotool windowsize            $wid    600 400 

    xdotool windowmove [options] [window] x y
    xdotool windowmove           $wid     200 300  

    xdotool  windowsize $wid 600 400  windowmove $wid 200 300 


# rcran

    system( "wid=$( wmctrl -lx |awk '/rcran/ { print $1 }' ; xdotool windowsize $wid 600 400  windowmove $wid 200 300 " )

Reasons:
  • Whitelisted phrase (-1): try this
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: hong shu