diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d83f252 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +ubl-util-standard.glade~ +ubl-settings-info +/css/ +/ui/ +.vscode/ +/ubl-standard-ui.c \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6d34ce8 --- /dev/null +++ b/Makefile @@ -0,0 +1,136 @@ +#!/usr/bin/make -f + +#SHELL := /bin/bash +MAKEFILE_FILEPATH := $(abspath $(lastword $(MAKEFILE_LIST))) +MAKEFILE_DIR := $(notdir $(patsubst %/,%,$(dir $(MAKEFILE_FILEPATH)))) +MAKEFILE_PATH := $(dir $(MAKEFILE_FILEPATH)) + +CMAKE_COMMAND = cmake +#CMAKE_SOURCE_DIR = $(MAKEFILE_PATH)source +#CMAKE_BUILD_DIR = $(MAKEFILE_PATH)compile +CMAKE_SOURCE_DIR = ./source +CMAKE_BUILD_DIR = ./compile +PKGNAME = $(MAKEFILE_DIR) +#PKGNAME = check-hostalive + +default_target: all + +all: init build + +init: + @echo "Initialize ..."; \ + echo "-- Build path: ${CMAKE_BUILD_DIR}" + +depend: + @echo "Check depends ..."; \ + if [ ! -f /bin/cmake ]; then \ + echo "-- Depend 'cmake' not found !"; \ + exit 1; \ + fi; \ + echo "Check depends: OK" +# $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 + +debug: + @echo "Debug ..." + if [ ! -d ${CMAKE_BUILD_DIR} ]; then \ + cmake -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr"; \ + fi; \ + echo "Debug: OK" + +prepare: + @echo "Prepare ..."; \ + if [ ! -d ${CMAKE_BUILD_DIR} ]; then \ + cmake -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"; \ + fi; \ + echo "Prepare: OK" + +check: + @echo "Check ..."; \ + if [ -f ${CMAKE_BUILD_DIR}/${PKGNAME} ]; then \ + echo "Check: OK"; \ + else \ + echo "Check: ${CMAKE_BUILD_DIR}/${PKGNAME} not found !"; \ + exit 1; \ + fi + +build: depend prepare + @echo "Build ..."; \ + make --directory=${CMAKE_BUILD_DIR}; \ + echo "Build: OK" + +uninstall: + @echo "Uninstall ..." + @for SIZE in 16x16 32x32 48x48 scalable; do \ + $(RM) "/usr/share/icons/hicolor/$${SIZE}/apps/${PKGNAME}.svg"; \ + $(RM) "/usr/share/"${pkgname}"/images/${PKGNAME}.png"; \ + done + @for FILE_SVG in $(wildcard *.svg); do \ + for SIZE in 16x16 32x32 48x48 scalable; do \ + $(RM) "/usr/share/icons/hicolor/$${SIZE}/status/$${FILE_SVG%.*}".{svg,png,jpg}; \ + done; \ + done + @for FILE_PO in $(wildcard *.po); do \ + LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \ + FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \ + PATH_FILE_MO="/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ + $(RM) "/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ + done + @$(RM) "/usr/bin/${PKGNAME}" + @$(RM) "/usr/share/applications/${PKGNAME}.desktop" + @$(RM) "/usr/share/${PKGNAME}/images/bg_top.png" + @$(RM) "/usr/share/icons/hicolor/scalable/apps/${PKGNAME}.svg" + @$(RM) "/etc/ubconfig-main.conf" + @$(RM) "~/ubconfig-main.conf" + @$(RM) "/usr/share/ubl-util-standard/ubl-util-standard.glade" + @gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null + @update-desktop-database --quiet 2>/dev/null + @touch /usr/share/applications + @echo "Uninstall: OK" + +install: check uninstall + @echo "Install ..." + @for FILE_PO in $(wildcard *.po); do \ + LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \ + install -dm755 /usr/share/locale/$${LANG}/LC_MESSAGES; \ + FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \ + PATH_FILE_MO="/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ + echo $${FILE_PO}; \ + msgfmt "$${FILE_PO}" -v -f -o "$${PATH_FILE_MO}"; \ + done + @for SIZE in 16 32 48; do \ + install -dm755 /usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps; \ + rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data ${PKGNAME}.svg -o "/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/${PKGNAME}.svg"; \ + done + @install -dm755 /usr/share/icons/hicolor/scalable/apps + @install -dm755 /usr/share/icons/hicolor/scalable/status + @install -Dm755 -t /usr/bin/ ${CMAKE_BUILD_DIR}/${PKGNAME} + @install -Dm655 -t /usr/share/applications/ ${PKGNAME}.desktop + @install -Dm644 -t /usr/share/ubl-util-standard/ ubl-util-standard.glade + @install -Dm644 -t /usr/share/ubl-settings-info/ ubl-settings-info.glade + @install -Dm644 -t /usr/share/ubl-settings-info/ ubl-settings-info.css + @install -Dm644 -t /usr/share/icons/hicolor/scalable/apps/ ${PKGNAME}.svg + @install -Dm644 -t /usr/share/${PKGNAME}/images/ bg_top.png + @gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null + @update-desktop-database --quiet 2>/dev/null + @touch /usr/share/applications + @echo "Install: OK ${USER}" + +clean: + @echo "Clean ..." + @$(RM) -rd ${CMAKE_BUILD_DIR} + @if [ -d ${CMAKE_BUILD_DIR} ]; then \ + echo "Clean: error, compile directory exist ${CMAKE_BUILD_DIR}"; \ + else \ + echo "Clean: OK"; \ + fi + +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... init" + @echo "... debug" + @echo "... prepare" + @echo "... compile" + @echo "... install" + @echo "... uninstall" + @echo "... clean" diff --git a/bg_top.png b/bg_top.png new file mode 100644 index 0000000..8eb67cb Binary files /dev/null and b/bg_top.png differ diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt new file mode 100644 index 0000000..7f9a323 --- /dev/null +++ b/source/CMakeLists.txt @@ -0,0 +1,27 @@ +cmake_minimum_required(VERSION 3.7) +project(ubl-settings-info) + +find_package(PkgConfig REQUIRED) + +pkg_check_modules(GTK REQUIRED gtk+-3.0) +include_directories(${GTK_INCLUDE_DIRS}) +link_directories(${GTK_LIBRARY_DIRS}) +add_definitions(${GTK_CFLAGS_OTHER}) + +#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -std=c++2a -g") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -g") + +set(SOURCE_FILES + ubl-settings-info.c) + +set(LIBRARIES + ${GTK_LIBRARIES} + pthread) + + +add_executable(ubl-settings-info ${SOURCE_FILES}) +target_link_libraries(ubl-settings-info ${LIBRARIES}) +install(TARGETS ubl-settings-info DESTINATION bin) +file(COPY ui/ubl-settings-info.glade DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY css/ubl-settings-info.css DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ubl-standard-ui.c DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) \ No newline at end of file diff --git a/source/css/ubl-settings-info.css b/source/css/ubl-settings-info.css new file mode 100644 index 0000000..ef43993 --- /dev/null +++ b/source/css/ubl-settings-info.css @@ -0,0 +1,6 @@ +.backset{ + background: url("/usr/share/ubl-settings-info/images/bg_top.png") no-repeat; +} +.textHead{ + text-shadow: 1px 1px #ffffff; +} diff --git a/source/ubl-settings-info.c b/source/ubl-settings-info.c new file mode 100644 index 0000000..6f7a169 --- /dev/null +++ b/source/ubl-settings-info.c @@ -0,0 +1,144 @@ +#include +#include +#include +#include +#include "ubl-standard-ui.c" +#define cssPath "/usr/share/ubl-settings-info/ubl-settings-info.css" +#define gladePath "/usr/share/ubl-settings-info/ubl-settings-info.glade" +#define HeaderImagePath "/usr/share/icons/hicolor/scalable/apps/ubl-settings-info.svg" +#define LogoImagePath "/usr/share/icons/hicolor/scalable/apps/ubl-settings-manager.svg" + + + +char *yon_char_get_augumented(char *source, char *append){ + int size=strlen(source)+strlen(append)+1; + char *final=malloc(size); + memset(final,0,size); + sprintf(final,"%s%s",source,append); + return final; +} + +char *yon_cut(char *source, int size, int startpos){ + char *cut=NULL; + cut=malloc(size+1); + memset(cut,0,size+1); + memcpy(cut,source+startpos,size); + return cut; +} + +void on_resized(GtkWidget *window, GdkEventConfigure *event){ + int x,y; + gtk_window_get_size(GTK_WINDOW(window),&x,&y); + printf("x - %d\ny - %d\n"); +} + +int main(int argc, char *argv[]){ + int argsc=0; + char *arv=""; + char **argsv=&arv; + GError *err=NULL; + gtk_init(&argsc, &argsv); + GtkBuilder *builder = gtk_builder_new_from_file(gladePath); + GtkWidget *plugBox = GTK_WIDGET(gtk_builder_get_object(builder, "plugBox")); + GtkWidget *button = GTK_WIDGET(gtk_builder_get_object(builder, "ButtonToHeader")); + GtkWidget *labelInfo = GTK_WIDGET(gtk_builder_get_object(builder, "InfoLabel")); + GtkWidget *iconInfo = GTK_WIDGET(gtk_builder_get_object(builder, "InfoIcon")); + gtk_image_set_from_pixbuf(GTK_IMAGE(iconInfo),gdk_pixbuf_new_from_file_at_size(LogoImagePath,256,256,&err)); + if (err){ + printf("%s\n",err->message); + g_error_free(err); + } + GtkCssProvider *css=gtk_css_provider_new(); + gtk_css_provider_load_from_path(css,cssPath,&err); + if (err){ + printf("%s\n",err->message); + g_error_free(err); + } + gtk_style_context_add_provider_for_screen(gdk_screen_get_default(), + GTK_STYLE_PROVIDER(css), + 0); + FILE *fp; + char path[1035]; + char *loc=setlocale(LC_ALL,NULL); + if (strcmp(loc,"ru_RU.UTF-8")==0) + fp = popen("screenfetch -N -n | sed 's/OS:/Система:/' | sed 's/Kernel:/Ядро:/g' | sed 's/Uptime:/Время работы:/g' | \ + sed 's/Packages:/Установлено пакетов:/g' | sed 's/Shell:/Оболочка:/g' | sed 's/Resolution:/Разрешение:/g' | sed 's/DE:/Среда рабочего стола:/g' | \ + sed 's/WM:/Оконный менеджер:/g' | sed 's/WM Theme:/Тема оконного менеджера:/g' | sed 's/GTK Theme:/Тема GTK:/g' | sed 's/Icon Theme:/Тема значков:/g' | sed 's/Font:/Шрифт:/g' | \ + sed 's/Disk:/Диск:/g' | sed 's/RAM:/Оперативная память:/g'", "r"); + else fp = popen("screenfetch -n -w -N", "r"); + if (fp == NULL) { + printf("Failed to run command\n" ); + exit(1); + } + char *line=NULL; + line=""; + char *prevline=""; + char *pth; + char *preph=""; + line=""; + while (fgets(path, sizeof(path),fp)!=NULL){ + + line=strstr(path,": "); + if (line!=NULL){ + int size=strlen(path)-strlen(line); + pth=yon_cut(path,size,0); + pth=yon_char_get_augumented("",pth); + pth=yon_char_get_augumented(pth,""); + line=yon_char_get_augumented(pth,line); + } else { + line=path; + pth="\n"; + line=yon_char_get_augumented(pth,line); + if (strlen(line)>40){ + char *fnd=strstr(line," "); + *fnd='\n'; + } + } + prevline=yon_char_get_augumented(prevline,line); + } + prevline=yon_char_get_augumented(prevline,"");; + gtk_label_set_text(GTK_LABEL(labelInfo),prevline); + gtk_label_set_markup (GTK_LABEL(labelInfo),prevline);; + + int socket_id=0; + int socket_ext_id=0; + int option_index=0; + int textsize=0; + int pointer=0; + static struct option long_options[] = { + {"socket-id", 2, 0, 0}, + {"socket-ext-id", 2, 0, 2}, + {"size",2,0,1} + }; + int socket_find; + for (int i=0;iuiwindow; + gtk_box_pack_start(GTK_BOX(mainui),plugBox,1,1,0); + gtk_widget_show_all(plugBox); + + } else { + GtkWidget *mainui = NULL; + returnstruct *ret = ubl_get_standard_ui(HeaderImagePath, "Информация о системе",0,button, socket_ext_id); + mainui=ret->uiwindow; + gtk_box_pack_start(GTK_BOX(mainui),plugBox,1,1,0); + printf("Plug mod\n"); + GtkWidget *plug=GTK_WIDGET(gtk_plug_new(socket_id)); + g_signal_connect(G_OBJECT(plug), "destroy", G_CALLBACK(gtk_main_quit),NULL); + GtkWidget *parentWindow = gtk_widget_get_parent(plugBox); + gtk_container_remove(GTK_CONTAINER(parentWindow),plugBox); + gtk_container_add(GTK_CONTAINER(plug),plugBox); + gtk_widget_show_all(plug); + } + + gtk_main(); +} \ No newline at end of file diff --git a/source/ubl-standard-ui.c b/source/ubl-standard-ui.c new file mode 100644 index 0000000..9ac0723 --- /dev/null +++ b/source/ubl-standard-ui.c @@ -0,0 +1,55 @@ +#ifndef UBL_GET_STANDARD_UI +#define UBL_GET_STANDARD_UI + +#include +#include +#define STANDARD_PATH "/usr/share/ubl-util-standard/ubl-util-standard.glade" + +typedef struct { + GtkWidget *socket; + GtkWidget *uiwindow; + + +} returnstruct; + +returnstruct *ubl_get_standard_ui(char *icon_path, char *util_name, int show_item, GtkWidget *button, int sec_plug_id){ + returnstruct *ret=malloc(sizeof(returnstruct)); + GtkBuilder *builder=gtk_builder_new(); + GError *err=NULL; + gtk_builder_add_from_file(builder, STANDARD_PATH,&err); + if(err) + printf("%s\n\n\n",err->message); + if (!builder){ + printf("Error occured: no UI file found.\n"); + return NULL; + } + GtkWidget *ButtonPlace=NULL; + if (button){ + ButtonPlace=GTK_WIDGET(gtk_builder_get_object(builder,"ButtonPlace")); + if (sec_plug_id>0){ + ret->socket=gtk_plug_new(sec_plug_id); + //gtk_box_pack_start(GTK_BOX(ButtonPlace), ret->socket,1,1,0); + gtk_container_add(GTK_CONTAINER(ret->socket),button); + gtk_widget_show_all(ret->socket); + } else { + gtk_box_pack_start(GTK_BOX(ButtonPlace), button,1,1,0); + } + + } + GtkWidget *icon=GTK_WIDGET(gtk_builder_get_object(builder,"HeaderImage")); + GtkWidget *window=GTK_WIDGET(gtk_builder_get_object(builder,"window")); + g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit),NULL); + GtkWidget *uiplace=GTK_WIDGET(gtk_builder_get_object(builder,"CustomUI")); + GtkWidget *name=GTK_WIDGET(gtk_builder_get_object(builder,"HeaderName")); + GdkPixbuf *ic=gdk_pixbuf_new_from_file_at_size(icon_path,124,124,NULL); + gtk_window_set_icon(GTK_WINDOW(window),ic); + gtk_image_set_from_pixbuf(GTK_IMAGE(icon),ic); + gtk_label_set_text(GTK_LABEL(name),util_name); + gtk_window_set_title(GTK_WINDOW(window),util_name); + if (show_item==1) + gtk_widget_show_all(window); + ret->uiwindow=uiplace; + return ret; +} + +#endif \ No newline at end of file diff --git a/source/ui/ubl-settings-info.glade b/source/ui/ubl-settings-info.glade new file mode 100644 index 0000000..b772951 --- /dev/null +++ b/source/ui/ubl-settings-info.glade @@ -0,0 +1,60 @@ + + + + + + True + False + vertical + + + True + False + vertical + + + True + False + + + True + False + 0.5 + 0.5 + + + False + True + 0 + + + + + True + False + label + 0.019999999552965164 + 0.5 + + + True + True + 1 + + + + + True + True + 1 + + + + + True + True + 0 + + + + diff --git a/ubl-settings-info.css b/ubl-settings-info.css new file mode 100644 index 0000000..ef43993 --- /dev/null +++ b/ubl-settings-info.css @@ -0,0 +1,6 @@ +.backset{ + background: url("/usr/share/ubl-settings-info/images/bg_top.png") no-repeat; +} +.textHead{ + text-shadow: 1px 1px #ffffff; +} diff --git a/ubl-settings-info.desktop b/ubl-settings-info.desktop new file mode 100644 index 0000000..90207b5 --- /dev/null +++ b/ubl-settings-info.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=System Info +Name[ru]=Информация о системе +GenericName=System Info +GenericName[ru]=Информация о системе +Comment=ubl-settings-manager +Comment[ru]=Показать характеристики системы +Type=Application +Exec=ubl-settings-info +Icon=ublinux-ubconfig +Terminal=false +X-XfcePluggable=true +Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;UBL-Dual-Args; diff --git a/ubl-settings-info.glade b/ubl-settings-info.glade new file mode 100644 index 0000000..f9ee034 --- /dev/null +++ b/ubl-settings-info.glade @@ -0,0 +1,94 @@ + + + + + + True + False + + + True + False + Save to local configuration + True + + + + + True + False + Save to global configuration + True + + + + + True + True + False + True + menu1 + + + True + False + Save... + + + + + True + False + vertical + + + True + False + vertical + + + True + False + + + True + False + 0.5 + 0.5 + + + False + True + 0 + + + + + True + False + label + 0.019999999552965164 + 0.5 + + + True + True + 1 + + + + + True + True + 0 + + + + + True + True + 0 + + + + diff --git a/ubl-settings-info.svg b/ubl-settings-info.svg new file mode 100644 index 0000000..51035d0 --- /dev/null +++ b/ubl-settings-info.svg @@ -0,0 +1,5435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ubl-settings-manager-logo.svg b/ubl-settings-manager-logo.svg new file mode 100644 index 0000000..d44113c --- /dev/null +++ b/ubl-settings-manager-logo.svg @@ -0,0 +1,241 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ubl-settings-manager.desktop b/ubl-settings-manager.desktop new file mode 100644 index 0000000..f558b53 --- /dev/null +++ b/ubl-settings-manager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=ubl-settings-manager +Name[ru]=Настройки UBLinux +GenericName=ubl-settings-manager +GenericName[ru]=Настройки UBLinux +Comment=ubl-settings-manager +Comment[ru]=Приложение для управления настройками UBLinux +Type=Application +Exec=ubl-settings-info +Icon=ublinux-ubconfig +Terminal=false +X-XfcePluggable=false +Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings; diff --git a/ubl-util-standard.glade b/ubl-util-standard.glade new file mode 100644 index 0000000..fc78164 --- /dev/null +++ b/ubl-util-standard.glade @@ -0,0 +1,125 @@ + + + + + + False + + + True + False + vertical + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 6 + 6 + 80 + + + False + True + 0 + + + + + 255 + True + False + start + 0.009999999776482582 + + + + + + + + + True + True + 1 + + + + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 0 + in + + + True + False + 12 + 12 + 12 + 12 + + + True + False + vertical + + + + + + + + + + + + + True + True + 1 + + + + + + + True + False + True + + + True + False + vertical + + + + + + + + +