Functions

utils_ellipsize (sText)

utils_execute_command (cmd)

utils_execute_command_warn (sProgram, sArgs)

utils_have_budgie_program (program)

utils_have_gnome_program (program)

utils_have_mate_program (program)

utils_have_pantheon_program (program)

utils_have_program (program)

utils_have_unity_program (program)

utils_have_xfce_program (program)

utils_is_budgie ()

utils_is_gnome ()

utils_is_lomiri ()

utils_is_mate ()

utils_is_pantheon ()

utils_is_unity ()

utils_is_xfce ()

utils_open_url (url)

utils_zenity_question (sIcon, sTitle, sText, sOk, sCancel)

utils_zenity_warning (icon_name, title, text)

Details

AyatanaCommon.utils_ellipsize(sText)
Parameters:

sText (str) –

AyatanaCommon.utils_execute_command(cmd)
Parameters:

cmd (str) –

Return type:

bool

AyatanaCommon.utils_execute_command_warn(sProgram, sArgs)
Parameters:
  • sProgram (str) –

  • sArgs (str) –

Return type:

bool

AyatanaCommon.utils_have_budgie_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_gnome_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_mate_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_pantheon_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_unity_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_have_xfce_program(program)
Parameters:

program (str) –

Return type:

bool

AyatanaCommon.utils_is_budgie()
Return type:

bool

AyatanaCommon.utils_is_gnome()
Return type:

bool

AyatanaCommon.utils_is_lomiri()
Return type:

bool

AyatanaCommon.utils_is_mate()
Return type:

bool

AyatanaCommon.utils_is_pantheon()
Return type:

bool

AyatanaCommon.utils_is_unity()
Return type:

bool

AyatanaCommon.utils_is_xfce()
Return type:

bool

AyatanaCommon.utils_open_url(url)
Parameters:

url (str) –

Return type:

bool

AyatanaCommon.utils_zenity_question(sIcon, sTitle, sText, sOk, sCancel)
Parameters:
  • sIcon (str) –

  • sTitle (str) –

  • sText (str) –

  • sOk (str) –

  • sCancel (str) –

Return type:

bool

AyatanaCommon.utils_zenity_warning(icon_name, title, text)
Parameters:
  • icon_name (str) –

  • title (str) –

  • text (str) –

Return type:

bool