# This configuration file is for MiniGUI V4.2.x or later # # Copyright (C) 2002~2020 FMSoft # Copyright (C) 1998~2002 Wei Yongming. # # Web: http://www.minigui.com # # This configuration file must be installed in /etc, # /usr/local/etc, your home directory, or the current working direcotry. # When you install it in your home directory, it should be named # ".MiniGUI.cfg". # # The priority of above configruation files is ./MiniGUI.cfg, # ~/.MiniGUI.cfg, /usr/local/etc/MiniGUI.cfg, and then /etc/MiniGUI.cfg. # # NOTE that the one in the current working directory will have # always have the highest priority. # # If you change the install path of MiniGUI resource, you should # modify this file to meet your configuration. # [system] # GAL engine and default options # The equivalent environment variable: MG_GAL_ENGINE gal_engine=pc_xvfb # The equivalent environment variable: MG_DEFAULTMODE defaultmode=800x600-16bpp # IAL engine # The equivalent environment variable: MG_IAL_ENGINE ial_engine=pc_xvfb mdev=/dev/input/mice mtype=IMPS2 # Linux IAL engine based on libinput # ial_engine=libinut #{{ifdef _MGSCHEMA_COMPOSITING # Options for compositing schema [compositing_schema] # The size of wallpaper pattern surface (the fake screen for clients). # Optional values: x, full, half, quarter, octant, and empty. # Default value is empty. wallpaper_pattern_size=full # wallpaper_pattern_size=half # wallpaper_pattern_size=quarter # wallpaper_pattern_size=octant # wallpaper_pattern_size=empty # wallpaper_pattern_size=32x32 # The shared object name of the default compositor. If it is not defined # or failed to load, MiniGUI will use the built-in fallback compositor. # The equivalent environment variable: MG_DEF_COMPOSITOR_SO # def_compositor_so= #}} #{{ifdef _MGGAL_DRM [drm] defaultmode=1024x768-32bpp # We use DRM fourcc code to defined the pixel format of the video surface. # For more information, please see header file. # Note that only 8/16/24/32 bpp RGB formats are supported. pixelformat=XR24 # The DRI device device=/dev/dri/card0 # The resolution of the display # It is defined in dots (physical pixels) per inch # The default value is 96. dpi=96 # Whether double buffering is enabled. # Use `true` or `yes` for enabled, anything else for disabled. # Note that under compositing schema, double buffering is always enabled. # Since 5.0.0. double_buffering=true # The filename of the shared library for the external driver. # The equivalent environment variable: MG_GAL_DRM_DRIVER exdriver=libhidrmdrivers-0.2.so.0 #}} #{{ifdef _MGIAL_SINGLETOUCHKEY [singletouchkey] # The touch device; use none to disable touch event. touch_dev=/dev/input/event0 # The key device; use none to disable key event. key_dev=none # The number of keys; only valid if the key device is not `none` and can be opened. nr_keys=2 # The maps from Linux keycode to MiniGUI scancode; only valid if `nr_keys` > 0. keycode2scancode0=20,1 keycode2scancode1=50,2 #}} #{{ifdef _MGIAL_LIBINPUT [libinput] seat=seat0 #}} #{{ifdef _MGGAL_FBCON [fbcon] defaultmode=1024x768-16bpp dpi=96 # Whether double buffering is enabled (only for threads and standalone runmodes). # Use `true` or `yes` for enabled, anything else for disabled. # Note that under compositing schema, double buffering is always enabled. # Since 5.0.10. double_buffering=true #}} #{{ifdef _MGGAL_PCXVFB [pc_xvfb] defaultmode=800x600-16bpp window_caption=XVFB-for-MiniGUI-3.2-(Gtk-Version) exec_file=/usr/local/bin/gvfb #}} [rtos_xvfb] defaultmode=800x600-16bpp #{{ifdef _MGGAL_SHADOW [shadow] real_engine=pc_xvfb defaultmode=800x600-16bpp rotate_screen=ccw #}} #{{ifdef _MGGAL_MLSHADOW [mlshadow] real_engine=qvfb defaultmode=800x600-16bpp def_bgcolor=0x00FF00 double_buffer=enable #}} #{{ifdef _MGIAL_RANDOM [random] logfile=/dev/null eventtypes=mouse-keyboard-button-gesture minkeycode=1 maxkeycode=128 minbtncode=0x100 maxbtncode=0x1ff #}} # The first system font must be a logical font using RBF device font. # NOTE that the maxiaml number of system logfonts is 6. You should not # set `font_number` in this section to be a number larger than 6. [systemfont] font_number=5 font0=rbf-FixedSys-rrncnn-8-16-ISO8859-1 font1=*-FixedSys-rrncnn-*-16-ISO8859-1 font2=*-Courier-rrncnn-*-16-ISO8859-1 font3=*-SansSerif-rrncnn-*-16-ISO8859-1 font4=*-System-rrncnn-*-16-ISO8859-1 default=0 wchar_def=4 fixed=1 caption=4 menu=2 control=3 [rawbitmapfonts] font_number=0 [varbitmapfonts] font_number=0 [upf] font_number=0 [qpf] font_number=0 [truetypefonts] font_number=0 # The devfont now supports multiple font family names since V4.0.0. name0=ttf-Source Sans Pro,SansSerif-rrncnn-0-0-ISO8859-1,UTF-8 # The path of font file can be relative to the current working directory. fontfile0=font/SourceSansPro-Regular.ttf [mouse] dblclicktime=300 [event] timeoutusec=300000 repeatusec=50000 [cursorinfo] # Edit following line to specify cursor files path cursorpath=/usr/local/share/minigui/res/cursor/ cursornumber=23 cursor0=d_arrow.cur cursor1=d_beam.cur cursor2=d_pencil.cur cursor3=d_cross.cur cursor4=d_move.cur cursor5=d_sizenwse.cur cursor6=d_sizenesw.cur cursor7=d_sizewe.cur cursor8=d_sizens.cur cursor9=d_uparrow.cur cursor10=d_none.cur cursor11=d_help.cur cursor12=d_busy.cur cursor13=d_wait.cur cursor14=g_rarrow.cur cursor15=g_col.cur cursor16=g_row.cur cursor17=g_drag.cur cursor18=g_nodrop.cur cursor19=h_point.cur cursor20=h_select.cur cursor21=ho_split.cur cursor22=ve_split.cur # Under compositing schema, you can specify a PNG file as the cursor. # You should use a 'hotspotN' key to specify the hotspot coordinates # of a PNG cursor. For example: # cursor23=foo.png # hotspot23=32,32 [resinfo] respath=/usr/local/share/minigui/res/ [classic] # Note that max number defined in source code is 5. iconnumber=5 icon0=form.ico icon1=failed.ico icon2=help.ico icon3=warning.ico icon4=excalmatory.ico # default icons for new OpenFileDialogBox dir=folder.ico file=textfile.ico # default icons for TreeView control treefold=fold.ico treeunfold=unfold.ico # bitmap used by BUTTON control radiobutton=classic_radio_button.bmp checkbutton=classic_check_button.bmp # background picture, use your favirate photo bgpicture=none bgpicpos=center # bgpicpos=upleft # bgpicpos=downleft # bgpicpos=upright # bgpicpos=downright # bgpicpos=upcenter # bgpicpos=downcenter # bgpicpos=vcenterleft # bgpicpos=vcenterright # bgpicpos=none #window element metrics caption=20 menu=25 border=2 scrollbar=16 #window element colors fgc_active_caption=0xFFFFFFFF bgca_active_caption=0xFF6A240A bgcb_active_caption=0xFF6A240A fgc_menu=0xFF000000 bgc_menu=0xFFCED3D6 fgc_msgbox=0xFF000000 fgc_tip=0xFF000000 bgc_tip=0xFFE7FFFF fgc_active_border=0xFFCED3D6 fgc_inactive_border=0xFFCED3D6 fgc_inactive_caption=0xFFC8D0D4 bgca_inactive_caption=0xFF808080 bgcb_inactive_caption=0xFF808080 fgc_window=0xFF000000 bgc_window=0xFFFFFFFF fgc_3dbox=0xFF000000 mainc_3dbox=0xFFCED3D6 fgc_selected_item=0xFFFFFFFF bgc_selected_item=0xFF6B2408 bgc_selected_lostfocus=0xFFBDA69C fgc_disabled_item=0xFF848284 bgc_disabled_item=0xFFCED3D6 fgc_hilight_item=0xFFFFFFFF bgc_hilight_item=0xFF6B2408 fgc_significant_item=0xFFFFFFFF bgc_significant_item=0xFF6B2408 bgc_desktop=0xFFC08000 #{{ifdef _MGLF_RDR_FLAT [flat] # Note that max number defined in source code is 5. iconnumber=5 icon0=form-flat.ico icon1=failed-flat.ico icon2=help-flat.ico icon3=warning-flat.ico icon4=excalmatory-flat.ico # default icons for new OpenFileDialogBox dir=folder-flat.ico file=textfile-flat.ico # default icons for TreeView control treefold=fold-flat.ico treeunfold=unfold-flat.ico # bitmap used by BUTTON control radiobutton=flat_radio_button.bmp checkbutton=flat_check_button.bmp # background picture, use your favirate photo bgpicture=none bgpicpos=center #window element metrics caption=20 menu=25 border=1 scrollbar=16 #window element colors fgc_active_caption=0xFFFFFFFFF bgca_active_caption=0xFF000000 bgcb_active_caption=0xFF000000 fgc_inactive_caption=0xFF000000 bgca_inactive_caption=0xFFFFFFFF bgcb_inactive_caption=0xFFFFFFFF fgc_menu=0xFF000000 bgc_menu=0xFFD8D8D8 fgc_msgbox=0xFF000000 fgc_tip=0xFF000000 bgc_tip=0xFFE7FFFF fgc_active_border=0xFF000000 fgc_inactive_border=0xFF848284 fgc_window=0xFF000000 bgc_window=0xFFFFFFFF fgc_3dbox=0xFF000000 mainc_3dbox=0xFFFFFFFF fgc_selected_item=0xFFFFFFFF bgc_selected_item=0xFF000000 bgc_selected_lostfocus=0xFFBDA69C fgc_disabled_item=0xFF848284 bgc_disabled_item=0xFF000000 fgc_hilight_item=0xFFFFFFFF bgc_hilight_item=0xFF664E4A fgc_significant_item=0xFFFFFFFF bgc_significant_item=0xFF000000 bgc_desktop=0xFFC08000 flat_tab_normal_color=0xFFC6D2CF #}} #{{ifdef _MGLF_RDR_SKIN [skin] # Note that max number defined in source code is 5. iconnumber=5 icon0=form.ico icon1=failed.ico icon2=help.ico icon3=warning.ico icon4=excalmatory.ico # default icons for new OpenFileDialogBox dir=folder.ico file=textfile.ico # default icons for TreeView control treefold=fold.ico treeunfold=unfold.ico # background picture, use your favirate photo bgpicture=none bgpicpos=center #window element metrics caption=25 menu=25 border=1 scrollbar=17 fgc_active_caption=0xFFFFFFFF bgca_active_caption=0xFFE35400 bgcb_active_caption=0xFF686868 fgc_menu=0xFF000000 bgc_menu=0xFFD4D6FF fgc_msgbox=0xFF000000 fgc_tip=0xFF000000 bgc_tip=0xFFFFFFFF fgc_active_border=0xFFC8D0D4 fgc_inactive_border=0xFFC8D0D4 fgc_inactive_caption=0xFFF8E4D8 bgca_inactive_caption=0xFFDF967A bgcb_inactive_caption=0xFF686868 fgc_window=0xFF000000 bgc_window=0xFFFFFFFF fgc_3dbox=0xFF000000 mainc_3dbox=0xFFD8E9EC fgc_selected_item=0xFFFFFFFF bgc_selected_item=0xFFC56A31 bgc_selected_lostfocus=0xFFD8E9EC fgc_disabled_item=0xFF99A8AC bgc_disabled_item=0xFFFFFFFF fgc_hilight_item=0xFFFFFFFF bgc_hilight_item=0xFFC56A31 fgc_significant_item=0xFFFFFFFF bgc_significant_item=0xFFC56A31 bgc_desktop=0xFF984E00 skin_bkgnd=skin_bkgnd.bmp skin_caption=skin_caption.gif skin_caption_btn=skin_cpn_btn.gif #for scrollbar skin_scrollbar_hshaft=skin_sb_hshaft.bmp skin_scrollbar_vshaft=skin_sb_vshaft.bmp skin_scrollbar_hthumb=skin_sb_hthumb.bmp skin_scrollbar_vthumb=skin_sb_vthumb.bmp skin_scrollbar_arrows=skin_sb_arrows.bmp #for border skin_tborder=skin_tborder.bmp skin_bborder=skin_bborder.bmp skin_lborder=skin_lborder.bmp skin_rborder=skin_rborder.bmp skin_arrows=skin_arrows.gif skin_arrows_shell=skin_arrows_shell.bmp skin_pushbtn=skin_pushbtn.gif skin_radiobtn=skin_radiobtn.gif skin_checkbtn=skin_checkbtn.bmp #for treeview skin_tree=skin_tree.bmp skin_header=skin_header.bmp skin_tab=skin_tab.gif #for trackbar skin_tbslider_h=skin_tbslider_h.gif skin_tbslider_v=skin_tbslider_v.gif skin_trackbar_horz=skin_tb_horz.gif skin_trackbar_vert=skin_tb_vert.gif #for progressbar skin_progressbar_htrack=skin_pb_htrack.gif skin_progressbar_vtrack=skin_pb_vtrack.gif skin_progressbar_hchunk=skin_pb_htruck.bmp skin_progressbar_vchunk=skin_pb_vtruck.bmp #}} [fashion] # Note that max number defined in source code is 5. iconnumber=5 icon0=form.ico icon1=failed.ico icon2=help.ico icon3=warning.ico icon4=excalmatory.ico # default icons for new OpenFileDialogBox dir=folder.ico file=textfile.ico # default icons for TreeView control treefold=fold.ico treeunfold=unfold.ico # bitmap used by BUTTON control radiobutton=fashion_radio_btn.bmp checkbutton=fashion_check_btn.bmp # background picture, use your favirate photo bgpicture=none bgpicpos=center #window element metrics caption=25 menu=25 border=1 scrollbar=17 fgc_active_caption=0xFFFFFFFF bgca_active_caption=0xFFE35400 bgcb_active_caption=0xFFFF953D fgc_menu=0xFF000000 bgc_menu=0xFFFFE4BF fgc_msgbox=0xFF000000 fgc_tip=0xFF000000 bgc_tip=0xFFFFFFFF fgc_active_border=0xFFC8D0D4 fgc_inactive_border=0xFFC8D0D4 fgc_inactive_caption=0xFFF8E4D8 bgca_inactive_caption=0xFFDF967A bgcb_inactive_caption=0xFFEBB99D fgc_window=0xFF000000 bgc_window=0xFFEBB99D fgc_3dbox=0xFF000000 mainc_3dbox=0xFFD8E9EC fgc_selected_item=0xFFFFFFFF bgc_selected_item=0xFFC56A31 bgc_selected_lostfocus=0xFFD8E9EC fgc_disabled_item=0xFF99A8AC bgc_disabled_item=0xFFFFFFFF fgc_hilight_item=0xFFFFFFFF bgc_hilight_item=0xFFC56A31 fgc_significant_item=0xFFFFFFFF bgc_significant_item=0xFFC56A31 bgc_desktop=0xFF984E00