403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.197.209
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/bin/gnome-language-selector
#! /usr/bin/python3

import gettext

from LanguageSelector.gtk.GtkLanguageSelector import GtkLanguageSelector
from gettext import gettext as _
from optparse import OptionParser
from gi.repository import Gtk, Gio
import sys

is_running = False

def on_activate (app, options):
    global is_running
    if is_running:
        for window in app.get_windows():
            if not window.is_active():
                window.present()
        return
    is_running = True
    instance = GtkLanguageSelector(datadir=options.datadir,
                                   options=options)
    app.add_window(instance.window_main)

if __name__ == "__main__":
    gettext.bindtextdomain("language-selector", "/usr/share/locale")
    gettext.textdomain("language-selector")

    parser = OptionParser()
    parser.add_option("-n", "--no-verify-installed-lang-support",
                      action="store_false", dest="verify_installed",
                      default=True,
                      help=_("don't verify installed language support"))
    parser.add_option("-d", "--datadir",
                      default="/usr/share/language-selector/",
                      help=_("alternative datadir"))
    (options, args) = parser.parse_args()

    app = Gtk.Application(application_id="com.ubuntu.GnomeLanguageSelector",
                          flags=Gio.ApplicationFlags.FLAGS_NONE)
    app.connect("activate", on_activate, options)
    app.run(None)

Youez - 2016 - github.com/yon3zu
LinuXploit