From 1572ca83bf14b8a5fadc00f7ab1fe9a1945b3858 Mon Sep 17 00:00:00 2001 From: bionel Date: Wed, 17 Aug 2016 20:46:52 +0300 Subject: add config for cmst (connman UI) --- skel/.config/autostart/cmst-autostart.desktop | 15 ++ skel/.config/cmst/cmst.conf | 45 ++++++ skel/.config/cmst/cmst.icon | 202 ++++++++++++++++++++++++++ 3 files changed, 262 insertions(+) create mode 100644 skel/.config/autostart/cmst-autostart.desktop create mode 100644 skel/.config/cmst/cmst.conf create mode 100644 skel/.config/cmst/cmst.icon diff --git a/skel/.config/autostart/cmst-autostart.desktop b/skel/.config/autostart/cmst-autostart.desktop new file mode 100644 index 0000000..d55859b --- /dev/null +++ b/skel/.config/autostart/cmst-autostart.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Categories=Settings;System;Qt;Network; +OnlyShowIn=LXQt; +Comment=QT GUI frontend for connman +Exec=cmst +GenericName=Network Configuration +Icon=cmst +Name=Connman UI Setup +Name[ro]=Configurare retea +StartupNotify=false +Terminal=false +Type=Application +Version=1.0 +X-GNOME-Autostart-enabled=true +X-LXQt-Need-Tray=true \ No newline at end of file diff --git a/skel/.config/cmst/cmst.conf b/skel/.config/cmst/cmst.conf new file mode 100644 index 0000000..0f1b783 --- /dev/null +++ b/skel/.config/cmst/cmst.conf @@ -0,0 +1,45 @@ +[CheckBoxes] +advanced=false +devices_off=false +enable_daemon_notifications=true +enable_interface_tooltips=true +enable_systemtray_notications=false +enable_systemtray_tooltips=true +hide_tray_icon=false +reset_counters=false +retain_settings=true +retain_state=false +retry_failed=false +run_on_startup=true +services_less=false +technologies_less=false + +[ExternalPrograms] +run_after_connect= + +[IconManager] +last_installed_icon_def_file=279ecbc9c3066c3e8ac3d3bdbe4d8ef6 + +[LineEdits] +colorize_icons= + +[MainWindow] +current_page=0 +pos=@Point(25 25) +size=@Size(574 541) + +[StartOptions] +counter_update_rate=5 +desktop_mate=false +desktop_none=true +desktop_xfce=false +disable_counters=false +disable_tray_icon=false +fake_transparency_color=0 +icon_theme= +start_minimized=true +use_counter_update_rate=false +use_fake_transparency=false +use_icon_theme=false +use_wait_time=false +wait_time=1 diff --git a/skel/.config/cmst/cmst.icon b/skel/.config/cmst/cmst.icon new file mode 100644 index 0000000..6710c54 --- /dev/null +++ b/skel/.config/cmst/cmst.icon @@ -0,0 +1,202 @@ +# cmst.icon +# +# This icon definition file, located in the user's home directory, can be +# edited. The purpose of this file is to facilitate the use of theme icons +# that are not part of the official Freedesktop.org naming specification. +# +# QT provides very good icon selection with a fallback mechanism. In order +# to use it one must know the name of the theme icon you want. This is +# not a problem with the official named icons, but is if you want to support +# any icon theme since the name of any icon not part of the official +# Freedesktop.org specification is up to the theme author. +# +# This file basically describes the pictures to use for each icon. Format +# of the file is as follows: +# +# Comments are the # sign. Any text on a line after the first # is treated +# as a comment. +# +# Each icon definition starts with the [icon] token and is terminated by a +# blank line. Inside each icon block are various sections, each contained +# on one line. Each section contains a key and value pair separated by an +# equal (=) sign. +# +# icon_name = is the descriptive name of what the icon is to show. This +# entry is read and used by the program and should not be edited. +# +# resource = is the location of the default picture which is hard coded +# into the program in a QResource file. This can be edited provided you +# select another valid resource which must already exist. You cannot add +# resources using this file. This key/value pair is mandatory. +# +# colorize = (no/yes, 0/1, or a color in the format RRGGBB) if yes or 1 +# the internal icons will be colorized according to the value specified +# from preferences. If a color number is provided the icon will be colorized +# to the specified color. If no or 0 then the icon is not colorized. +# Colorizing is only available for internal icons defined in the resource line. +# +# fdo_name = is the name of one of the official Freedesktop.org named icons. +# This key/value pair is optional. +# +# theme_names = is a comma (,) separated list of theme icon names which +# are not part of the Freedesktop.org specification. The list will be +# searched in order looking for each icon name in the current theme. +# This key/value pair is also optional. +# +# The text in a value field may contain the vertical delimiter (|) symbol. +# If it does the text on each side should be a complete resource path or +# theme icon name. Text to the left is the ON state of the icon, to the right +# is the OFF state. This is used for icons which show a different picture +# depending on state. Play/Pause in a media player would be a classic example. +# +# The text in a resource value field may also contain whitespace. If +# it does the text on each side should be a complete resource path. Left +# of the whitespace is the base picture in raw_art, to the right is the +# overlay file to place over the raw_art icon. This is only for +# internal icons from the resource file. +# +# If this file becomes corrupted by editing or by other means is can be +# regenerated simply by deleting it, then stopping and starting CMST. +# +# Icon selections at runtime are as follows: +# If the -i (--icon-theme) command line switch or preferences setting is not +# used then the resource name specified here is used if found, if not found +# the hard coded internal icon will be used. +# +# If the -i (--icon-theme) command line switch or preferences settings is used +# then icons are searched in the following order until one is found: +# theme_names from left to right (match will only occur if one of the names +# can be found in the current or specified theme.) +# fdo_name +# resource location as specified in this file +# hard coded internal icon +# +# +# +# +# interface icons +[icon] +icon_name = state_error +resource = :/icons/images/raw_art/application-exit1.png +colorize = no +fdo_name = network_error + +[icon] +icon_name = state_ready +resource = :/icons/images/raw_art/network-idle.png +colorize = yes +fdo_name = network-idle + +[icon] +icon_name = state_online +resource = :/icons/images/raw_art/network-transmit-receive.png +colorize = yes +fdo_name = network-transmit-receive + +[icon] +icon_name = state_not_ready +resource = :/icons/images/raw_art/network-offline.png :/icons/images/overlay/overlay-warningnet9.png +colorize = yes +fdo_name = network-offline + +[icon] +icon_name = state_vpn_connected +resource = :/icons/images/raw_art/stock_lock.png +colorize = yes +theme-names = network-vpn.png, emblem-locked.png + +[icon] +icon_name = favorite +resource = :/icons/images/raw_art/nm-signal-100.png +colorize = yes +fdo_name = emblem-favorite + +[icon] +icon_name = offline_mode_engaged +resource = :/icons/images/interface/golfball_green.png +colorize = no + +[icon] +icon_name = offline_mode_disengaged +resource = :/icons/images/interface/golfball_red.png +colorize = no + +[icon] +icon_name = whats_this +resource = :/icons/images/raw_art/info2.png +colorize = 1361D9 +fdo_name = system-help + +# +# systemtray icons +[icon] +icon_name = connection_failure +resource = :/icons/images/raw_art/application-exit1.png +colorize = no +fdo_name = network-error + +[icon] +icon_name = connection_ready +resource = :/icons/images/raw_art/network-idle.png +colorize = yes +fdo_name = network-idle + +[icon] +icon_name = connection_not_ready +resource = :/icons/images/raw_art/network-offline.png :/icons/images/overlay/overlay-warningnet9.png +colorize = yes +fdo_name = network-offline + +[icon] +icon_name = connection_wired +resource = :/icons/images/raw_art/network-transmit-receive.png +colorize = yes +fdo_name = network-wired + +[icon] +icon_name = connection_wireless +resource = :/icons/images/raw_art/nm-signal-100.png +colorize = yes +fdo_name = network-wireless + +[icon] +icon_name = connection_wifi_000 +resource = :/icons/images/raw_art/nm-signal-00.png +colorize = yes +theme_names = network-wireless-signal-none-symbolic, network-wireless-connected-00 + +[icon] +icon_name = connection_wifi_025 +resource = :/icons/images/raw_art/nm-signal-25.png +colorize = yes +theme_names = network-wireless-signal-weak-symbolic, network-wireless-connected-25 + +[icon] +icon_name = connection_wifi_050 +resource = :/icons/images/raw_art/nm-signal-50.png +colorize = yes +theme_names = network-wireless-signal-ok-symbolic, network-wireless-connected-50 + +[icon] +icon_name = connection_wifi_075 +resource = :/icons/images/raw_art/nm-signal-75.png +colorize = yes +theme_names = network-wireless-signal-good-symbolic, network-wireless-connected-75 + +[icon] +icon_name = connection_wifi_100 +resource = :/icons/images/raw_art/nm-signal-100.png +colorize = yes +theme_names = network-wireless-signal-excellent-symbolic, network-wireless-connected-100 + +[icon] +icon_name = connection_vpn +resource = :/icons/images/raw_art/stock_lock.png +colorize = yes +theme-names = network-vpn.png, emblem-locked.png + +[icon] +icon_name = connection_vpn_acquiring +resource = :/icons/images/raw_art/network-vpn-acquiring.png +colorize = yes + -- cgit v1.2.3