Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2012, 05:50 PM   #151
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Lydovig View Post
If possible help to solve the following problems.
I warned you it is not "production" quality. It was meant only to get the idea what it is about. I cannot promise you that I will resolve this issues quickly.
baf is offline   Reply With Quote
Old 10-13-2012, 12:43 AM   #152
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
Quote:
Originally Posted by baf View Post
I warned you it is not "production" quality. It was meant only to get the idea what it is about. I cannot promise you that I will resolve this issues quickly.
OK. I did not ask you a quick solution to the problem. Thanks for the reply. I'll try to find their own solution.
Lydovig is offline   Reply With Quote
Old 10-14-2012, 12:51 PM   #153
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
Hi. Problem number 1 and number 3 I managed to solve. And did the Russian localization keyboard.

It remains only to reduce the size of the terminal window. I found that this function does gtk_window_resize. Only need to set the correct arguments, not yet obtained. If anyone can help I would be grateful. Or before compiling the file config.h set parameter 80x35.

// #define DEFAULT_TERMINAL_SIZE 80x35
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012-10-14T16_38_08-0000.gif
Views:	70
Size:	19.6 KB
ID:	94097  

Last edited by Lydovig; 10-14-2012 at 01:28 PM.
Lydovig is offline   Reply With Quote
Old 10-14-2012, 01:29 PM   #154
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
maybe a http://www.gtk.org/api/2.6/gtk/GtkWi...t-size-request would do the job. this can overide defaults I believe.

or a http://www.gtk.org/api/2.6/gtk/GtkWi...t-default-size
twobob is offline   Reply With Quote
Old 10-14-2012, 03:28 PM   #155
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
Quote:
Originally Posted by twobob View Post
Thank you, does not work. On other forums write that all parameters need to be set before compilation. I was only able to replace and enlarge the font. Teny remove the background color does not work, the-fg and-bg not help.
Lydovig is offline   Reply With Quote
Old 10-14-2012, 06:57 PM   #156
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Ah. sorry then, perhaps a simple grep for "800" on the source may kick up a binary reference then, other than that I'm out of ideas. Other than cross-compile it yourself of course sorry mate
twobob is offline   Reply With Quote
Old 10-15-2012, 03:59 AM   #157
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Lydovig View Post
Hi. Problem number 1 and number 3 I managed to solve. And did the Russian localization keyboard.

It remains only to reduce the size of the terminal window.
Great job!
Did you ever get to fonts menu (screenshots), pressing upper right corner of the black screen?

Regarding size, problem is that whenever you will change font style or size terminal will resize. Setting fixed rows×columns will work on the condition that you will never change font. My idea (not yet implemented unfortunately) is to calculate and limit number of rows after every font change.

The problem with evilvte is that all configuration options must be set before compilation. Here is config.h file for the version that you have.
Maybe you want to change anything else apart from terminal size?

Spoiler:
Code:
/* Use // to disable options                                                  */

#define BACKGROUND_IMAGE       "/opt/amazon/low_level_screens/600x800/splash.png"
#define BACKGROUND_SATURATION  0.1 
// #define BACKGROUND_SCROLLABLE  TRUE
// #define BACKGROUND_TINT_COLOR  "black"
// #define BACKGROUND_TRANSPARENT TRUE  /* Pseudo transparent background      */
// #define BACKGROUND_OPACITY     TRUE  /* True transparent background        */
// #define BACKSPACE_KEY /* Options: AUTO, BACKSPACE, DELETE, ERASE_TTY,      */
                         /*          DELETE_SEQUENCE                          */
// #define DELETE_KEY    /* Options: AUTO, BACKSPACE, DELETE, ERASE_TTY,      */
                         /*          DELETE_SEQUENCE                          */
#define BELL_AUDIBLE           TRUE
// #define BELL_VISIBLE           TRUE
// #define BELL_URGENT            TRUE
// #define BUTTON_ORDER_BY_RCFILE TRUE
// #define CLOSE_DIALOG           TRUE  /* Dialog to confirm close event      */
// #define CLOSE_SAFELY           TRUE  /* Do not kill running applications   */
#define COLOR_BACKGROUND       "#dcdcdc"
#define COLOR_FOREGROUND       "#000000"
// #define COLOR_STYLE   /* Options: LINUX, RXVT, TANGO, XTERM, ZENBURN,      */
                         /*          ZENBURN_DARK, SOLARIZED_DARK,            */
                         /*          SOLARIZED_LIGHT                          */
#define COLOR_TEXT_BOLD        "#ffffff"
#define COLOR_TEXT_DIM         "#a9a9a9"
#define COLOR_TEXT_HIGHLIGHTED "#f5f5f5"
#define COMMAND_AT_ROOT_WINDOW TRUE  /* -r option, run in root window      */
#define COMMAND_COLOR_FG       TRUE  /* -fg option, foreground color       */
#define COMMAND_COLOR_BG       TRUE  /* -bg option, background color       */
#define COMMAND_SATURATION     TRUE  /* -sa option, saturation level       */
// #define COMMAND_DOCK_MODE      TRUE  /* -d option, run as a dock           */
#define    COMMAND_EXEC_PROGRAM   TRUE  /* -e option, execute program         */
#define COMMAND_FULLSCREEN     TRUE  /* -f option, init in fullscreen mode */
#define COMMAND_FONT           TRUE  /* -fn option, to assign font & size  */
#define COMMAND_GEOMETRY       TRUE  /* -g +X+Y option, to assign geometry */
#define COMMAND_LOGIN_SHELL    TRUE  /* -ls option, to enable login shell  */
// #define COMMAND_SET_TITLE      TRUE  /* -T or -title to set program title  */
#define COMMAND_SHOW_HELP      TRUE  /* -h option, show help               */
#define    COMMAND_SHOW_OPTIONS   TRUE  /* -o option, show build-time options */
#define    COMMAND_SHOW_VERSION   TRUE  /* -v option, show program version    */
// #define COMMAND_TAB_NUMBERS    TRUE  /* -[2-9] options, to set tab numbers */
// #define CURSOR_BLINKS          TRUE
// #define CURSOR_COLOR           "blue"
// #define CURSOR_SHAPE  /* Options: BLOCK, IBEAM, UNDERLINE                  */
// #define DEFAULT_COMMAND        g_getenv("SHELL")
// #define DEFAULT_DIRECTORY      g_get_current_dir()
// #define DEFAULT_TERMINAL_SIZE  80x24
// #define EXPORT_WINDOWID        TRUE
#define FONT                   "Nimbus Mono L Regular 8"
// #define FONT_ANTI_ALIAS        TRUE
// #define FONT_ENABLE_BOLD_TEXT  TRUE
// #define MOUSE_CTRL_SATURATION  TRUE  /* Scroll left or right to adjust it  */
// #define MOUSE_CURSOR_AUTOHIDE  TRUE
// #define PROGRAM_ALWAYS_ON_TOP  TRUE
// #define PROGRAM_ICON           ".config/evilvte/icon.png"
// #define PROGRAM_WM_CLASS       TRUE
// #define RECORD_LASTLOG         TRUE
// #define RECORD_UTMP            TRUE
// #define RECORD_WTMP            TRUE
// #define SCROLL_LINES           1000  /* Negative value means unlimited     */
#define SCROLL_ON_KEYSTROKE    TRUE
#define SCROLL_ON_OUTPUT       TRUE
#define    SCROLLBAR              RIGHT /* Options: LEFT, RIGHT, OFF_L, OFF_R */
// #define SHOW_WINDOW_BORDER     TRUE
// #define SHOW_WINDOW_DECORATED  TRUE
//#define    SHOW_WINDOW_ICON       TRUE
//#define    STATUS_BAR             TRUE
// #define WINDOW_TITLE_DYNAMIC   TRUE  /* for xterm escape sequences         */
#define    WORD_CHARS             "-A-Za-z0-9_$.+!*(),;:@&=?/~#%"

#define    MENU                   TRUE
#define MENU_ENCODING_LIST     "BIG-5", "Default Encoding", "GBK", "EUC-JP"
// #define MENU_MATCH_STRING_EXEC "firefox"
// #define      MATCH_STRING_L    "firefox" /* left click to open without menu*/
// #define      MATCH_STRING_M    "firefox" /* middle click to open           */
// #define      MATCH_STRING_HTTP TRUE      /* Detect http(s) and ftp(s)      */
// #define      MATCH_STRING_MAIL TRUE      /* Detect mailto:                 */
// #define      MATCH_STRING_FILE TRUE      /* Detect file:///                */
#define MENU_CUSTOM            "Add tab", "Remove tab", "Select font", "Zoom default", "Reset terminal", "Reset and clear", "Quit"
// #define MENU_CUSTOM            "Copy", "Separator", "Paste", "Separator"
           /* Options: "Copy",         "Zoom in",       "Add tab",
            *          "Paste",        "Zoom out",      "Remove tab",
            *          "Select all",   "Zoom default",  "New window",
            *          "Edit label",   "Select font",
            *          "Input method",                  "Encoding list",
            *          "Submenu input method",          "Submenu encoding list",
            *          "Toggle tabbar",
            *          "Toggle scrollbar",              "Background tint",
            *          "Toggle status bar",             "Adjust saturation",
            *          "Toggle anti-alias",
            *          "Toggle background",             "Separator",
            *          "Toggle fullscreen",             "Quit",
            *          "Toggle always on top",
            *          "Toggle hotkeys locking",        "Reset terminal",
            *          "Toggle window decorated",       "Reset and clear",
            *
            *          "Auto-click" (when there is only one effective menu item)
            */

#define    TAB                    TRUE
// #define TAB_BORDER             0
#define TAB_CLOSE_BUTTON       TRUE
// #define TAB_EXPANDED_WIDTH     TRUE
// #define TAB_LABEL              "Page %u" /* %u will be replaced by numbers */
// #define TAB_LABEL_DYNAMIC      TRUE      /* for xterm escape sequences     */
// #define TAB_LABEL_CUSTOM       "One", "Two", "Three", "Four", "Five", "Six"
// #define TAB_NEW_PATH_EQUAL_OLD TRUE
// #define TAB_NEW_TAB_AT_TAB_ONE TRUE   /* New tab will always the first tab */
#define TAB_REORDERABLE        TRUE
// #define TAB_SHOW_INFO_AT_TITLE TRUE
// #define TABBAR                 TRUE
// #define TABBAR_PLACE           TOP    /* Options: TOP, BOTTOM, LEFT, RIGHT */
// #define TABBAR_AUTOHIDE        TRUE
// #define TABBAR_SCROLLABLE      TRUE
// #define TABBAR_MENU_SELECT_TAB TRUE

/* Use || for multiple hotkeys.
 *
 * CTRL(GDK_A) || CTRL(GDK_a) || ALT(GDK_b) || CTRL_ALT(GDK_c) || SHIFT(GDK_d)
 *
 * CTRL(GDK_a)     = "Ctrl + a"
 * CTRL(GDK_A)     = "Ctrl + Shift + a"
 * ALT(GDK_A)      = "Alt  + Shift + a"
 * CTRL_ALT(GDK_A) = "Ctrl + Alt + Shift + a"
 *
 * Also support: ALT_SHIFT(GDK_*)
 *               CTRL_ALT_SHIFT(GDK_*)
 *               CTRL_SHIFT(GDK_*)
 *
 * See /usr/include/gtk-?.0/gdk/gdkkeysyms.h for GDK_* definitions.           */

#define    HOTKEY                       TRUE
#define HOTKEY_COPY                  CTRL_SHIFT(GDK_C) || CTRL_SHIFT(GDK_c)
#define HOTKEY_PASTE                 CTRL_SHIFT(GDK_V) || CTRL_SHIFT(GDK_v)
// #define HOTKEY_SELECT_ALL            CTRL_SHIFT(GDK_S) || CTRL_SHIFT(GDK_s)
// #define HOTKEY_COLOR_BACKGROUND      CTRL_SHIFT(GDK_B) || CTRL_SHIFT(GDK_b)
// #define HOTKEY_EDIT_ENCODING         CTRL_SHIFT(GDK_U) || CTRL_SHIFT(GDK_u)
#define HOTKEY_FONT_BIGGER           CTRL(GDK_KP_Add)
#define HOTKEY_FONT_SMALLER          CTRL(GDK_KP_Subtract)
// #define HOTKEY_FONT_DEFAULT_SIZE     CTRL(GDK_KP_Insert)
// #define HOTKEY_FONT_SELECT           CTRL_SHIFT(GDK_F) || CTRL_SHIFT(GDK_f)
// #define HOTKEY_MIMIC_SCROLL_UP       CTRL_SHIFT(GDK_K) || CTRL_SHIFT(GDK_k)
// #define HOTKEY_MIMIC_SCROLL_DOWN     CTRL_SHIFT(GDK_J) || CTRL_SHIFT(GDK_j)
// #define HOTKEY_OPEN_NEW_WINDOW       CTRL_SHIFT(GDK_N) || CTRL_SHIFT(GDK_n)
// #define HOTKEY_RESET_TERMINAL        CTRL_SHIFT(GDK_R) || CTRL_SHIFT(GDK_r)
// #define HOTKEY_RESET_AND_CLEAR       CTRL_SHIFT(GDK_A) || CTRL_SHIFT(GDK_a)
// #define HOTKEY_SATURATION_DIALOG     CTRL_SHIFT(GDK_X) || CTRL_SHIFT(GDK_x)
// #define HOTKEY_SATURATION_MORE       CTRL(GDK_KP_Multiply)
// #define HOTKEY_SATURATION_LESS       CTRL(GDK_KP_Divide)
// #define HOTKEY_SCROLL_ONE_PAGE_UP    CTRL(GDK_k) || CTRL(GDK_K)
// #define HOTKEY_SCROLL_ONE_PAGE_DOWN  CTRL(GDK_j) || CTRL(GDK_J)
// #define HOTKEY_SEARCH_STRING         CTRL_SHIFT(GDK_Q) || CTRL_SHIFT(GDK_q)
// #define HOTKEY_SEARCH_PREVIOUS       CTRL_SHIFT(GDK_G) || CTRL_SHIFT(GDK_g)
// #define HOTKEY_SEARCH_NEXT           CTRL(GDK_g) || CTRL(GDK_G)
// #define        SEARCH_CASE_SENSITIVE TRUE
#define    HOTKEY_TAB_ADD               CTRL_SHIFT(GDK_T) || CTRL_SHIFT(GDK_t)
#define    HOTKEY_TAB_REMOVE            CTRL_SHIFT(GDK_W) || CTRL_SHIFT(GDK_w)
#define    HOTKEY_TAB_PREVIOUS          CTRL(GDK_Page_Up)
#define    HOTKEY_TAB_NEXT              CTRL(GDK_Page_Down)
// #define HOTKEY_TAB_FIRST             CTRL(GDK_Home)
// #define HOTKEY_TAB_LAST              CTRL(GDK_End)
// #define ALT_NUMBER_GO_TO_TAB_NUMBER  TRUE
// #define CTRL_NUMBER_GO_TO_TAB_NUMBER TRUE
// #define HOTKEY_TAB_EDIT_LABEL        CTRL_SHIFT(GDK_E) || CTRL_SHIFT(GDK_e)
// #define HOTKEY_TOGGLE_ANTI_ALIAS     CTRL_SHIFT(GDK_L) || CTRL_SHIFT(GDK_l)
// #define HOTKEY_TOGGLE_DECORATED      CTRL(GDK_Left)
// #define HOTKEY_TOGGLE_FULLSCREEN     CTRL_SHIFT(GDK_M) || CTRL_SHIFT(GDK_m)
// #define HOTKEY_TOGGLE_HOTKEYS        CTRL(GDK_quoteleft)
// #define HOTKEY_TOGGLE_ON_TOP         CTRL_SHIFT(GDK_O) || CTRL_SHIFT(GDK_o)
// #define HOTKEY_TOGGLE_SCROLLBAR      CTRL(GDK_Right)
// #define HOTKEY_TOGGLE_STATUS_BAR     CTRL(GDK_Down)
// #define HOTKEY_TOGGLE_TABBAR         CTRL(GDK_Up)
// #define HOTKEY_TOGGLE_BACKGROUND     CTRL(GDK_KP_Delete)
// #define TOGGLE_BG_ORDER    "Image", "Transparent", "No background", "Opacity"

// #define LABEL_DEFAULT_ENCODING       "_Default Encoding"
// #define LABEL_DIALOG_BACKGROUND_TINT "_Background tint color"
// #define LABEL_DIALOG_CLOSE           "Do you really want to close it?"
// #define LABEL_DIALOG_SEARCH          "Find"
// #define LABEL_MENU_SATURATION        "_Adjust saturation"
// #define LABEL_MENU_TOGGLE_ANTI_ALIAS "_Toggle anti-alias"
// #define LABEL_MENU_TOGGLE_BG         "_Toggle background"
// #define LABEL_MENU_TOGGLE_DECORATED  "_Toggle window decorated"
// #define LABEL_MENU_TOGGLE_FULLSCREEN "_Toggle fullscreen"
// #define LABEL_MENU_TOGGLE_HOTKEYS    "_Toggle hotkeys locking"
// #define LABEL_MENU_TOGGLE_ON_TOP     "_Toggle always on top"
// #define LABEL_MENU_TOGGLE_SCROLLBAR  "_Toggle scrollbar"
// #define LABEL_MENU_TOGGLE_STATUS_BAR "_Toggle status bar"
// #define LABEL_MENU_TOGGLE_TABBAR     "_Toggle tabbar"
// #define LABEL_SUBMENU_ENCODING       "_Character Encoding"
// #define LABEL_SUBMENU_IME            "_Input Methods"
// #define GTK3_CSS                     "GtkNotebook GtkHBox GtkButton { -GtkWidget-focus-line-width: 0; } GtkNotebook GtkButton { border-width: 0; padding: 0; -GtkButton-inner-border: 0; } GtkWindow GtkNotebook { padding: 0; }"
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012-10-15T09_42_06-0200.gif
Views:	64
Size:	24.8 KB
ID:	94128   Click image for larger version

Name:	screenshot_2012-10-15T09_42_19-0200.gif
Views:	66
Size:	20.6 KB
ID:	94129  
baf is offline   Reply With Quote
Old 10-15-2012, 06:12 AM   #158
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
baf

I suggest that such changes

Spoiler:
Code:
/* Use // to disable options                                                  */

#define BACKGROUND_IMAGE       "/mnt/us/utils/evilvte/splash.png"
#define BACKGROUND_SATURATION  0.1 
// #define BACKGROUND_SCROLLABLE  TRUE
// #define BACKGROUND_TINT_COLOR  "white"
// #define BACKGROUND_TRANSPARENT TRUE  /* Pseudo transparent background      */
// #define BACKGROUND_OPACITY     TRUE  /* True transparent background        */
// #define BACKSPACE_KEY /* Options: AUTO, BACKSPACE, DELETE, ERASE_TTY,      */
                         /*          DELETE_SEQUENCE                          */
// #define DELETE_KEY    /* Options: AUTO, BACKSPACE, DELETE, ERASE_TTY,      */
                         /*          DELETE_SEQUENCE                          */
#define BELL_AUDIBLE           TRUE
// #define BELL_VISIBLE           TRUE
// #define BELL_URGENT            TRUE
// #define BUTTON_ORDER_BY_RCFILE TRUE
// #define CLOSE_DIALOG           TRUE  /* Dialog to confirm close event      */
// #define CLOSE_SAFELY           TRUE  /* Do not kill running applications   */
#define COLOR_BACKGROUND       "#E8E8E8"
#define COLOR_FOREGROUND       "#ffffff"
// #define COLOR_STYLE   /* Options: LINUX, RXVT, TANGO, XTERM, ZENBURN,      */
                         /*          ZENBURN_DARK, SOLARIZED_DARK,            */
                         /*          SOLARIZED_LIGHT                          */
#define COLOR_TEXT_BOLD        "#000000"
#define COLOR_TEXT_DIM         "#1C1C1C"
#define COLOR_TEXT_HIGHLIGHTED "#363636"
#define COMMAND_AT_ROOT_WINDOW TRUE  /* -r option, run in root window      */
#define COMMAND_COLOR_FG       TRUE  /* -fg option, foreground color       */
#define COMMAND_COLOR_BG       TRUE  /* -bg option, background color       */
#define COMMAND_SATURATION     TRUE  /* -sa option, saturation level       */
// #define COMMAND_DOCK_MODE      TRUE  /* -d option, run as a dock           */
#define    COMMAND_EXEC_PROGRAM   TRUE  /* -e option, execute program         */
#define COMMAND_FULLSCREEN     TRUE  /* -f option, init in fullscreen mode */
#define COMMAND_FONT           TRUE  /* -fn option, to assign font & size  */
#define COMMAND_GEOMETRY       TRUE  /* -g +X+Y option, to assign geometry */
#define COMMAND_LOGIN_SHELL    TRUE  /* -ls option, to enable login shell  */
// #define COMMAND_SET_TITLE      TRUE  /* -T or -title to set program title  */
#define COMMAND_SHOW_HELP      TRUE  /* -h option, show help               */
#define    COMMAND_SHOW_OPTIONS   TRUE  /* -o option, show build-time options */
#define    COMMAND_SHOW_VERSION   TRUE  /* -v option, show program version    */
// #define COMMAND_TAB_NUMBERS    TRUE  /* -[2-9] options, to set tab numbers */
// #define CURSOR_BLINKS          TRUE
// #define CURSOR_COLOR           "black"
// #define CURSOR_SHAPE  /* Options: BLOCK, IBEAM, UNDERLINE                  */
// #define DEFAULT_COMMAND        g_getenv("SHELL")
// #define DEFAULT_DIRECTORY      g_get_current_dir()
// #define DEFAULT_TERMINAL_SIZE  52x24
// #define EXPORT_WINDOWID        TRUE
#define FONT                   "Monospace Regular 12"
// #define FONT_ANTI_ALIAS        TRUE
// #define FONT_ENABLE_BOLD_TEXT  TRUE
// #define MOUSE_CTRL_SATURATION  TRUE  /* Scroll left or right to adjust it  */
// #define MOUSE_CURSOR_AUTOHIDE  TRUE
// #define PROGRAM_ALWAYS_ON_TOP  TRUE
// #define PROGRAM_ICON           ".config/evilvte/icon.png"
// #define PROGRAM_WM_CLASS       TRUE
// #define RECORD_LASTLOG         TRUE
// #define RECORD_UTMP            TRUE
// #define RECORD_WTMP            TRUE
// #define SCROLL_LINES           1000  /* Negative value means unlimited     */
#define SCROLL_ON_KEYSTROKE    TRUE
#define SCROLL_ON_OUTPUT       TRUE
#define    SCROLLBAR              RIGHT /* Options: LEFT, RIGHT, OFF_L, OFF_R */
// #define SHOW_WINDOW_BORDER     TRUE
// #define SHOW_WINDOW_DECORATED  TRUE
//#define    SHOW_WINDOW_ICON       TRUE
//#define    STATUS_BAR             TRUE
// #define WINDOW_TITLE_DYNAMIC   TRUE  /* for xterm escape sequences         */
#define    WORD_CHARS             "-A-Za-z0-9_$.+!*(),;:@&=?/~#%"

#define    MENU                   TRUE
#define MENU_ENCODING_LIST     "BIG-5", "Default Encoding", "GBK", "EUC-JP"
// #define MENU_MATCH_STRING_EXEC "firefox"
// #define      MATCH_STRING_L    "firefox" /* left click to open without menu*/
// #define      MATCH_STRING_M    "firefox" /* middle click to open           */
// #define      MATCH_STRING_HTTP TRUE      /* Detect http(s) and ftp(s)      */
// #define      MATCH_STRING_MAIL TRUE      /* Detect mailto:                 */
// #define      MATCH_STRING_FILE TRUE      /* Detect file:///                */
#define MENU_CUSTOM            "Add tab", "Remove tab", "Select font", "Zoom default", "Reset terminal", "Reset and clear", "Quit"
// #define MENU_CUSTOM            "Copy", "Separator", "Paste", "Separator"
           /* Options: "Copy",         "Zoom in",       "Add tab",
            *          "Paste",        "Zoom out",      "Remove tab",
            *          "Select all",   "Zoom default",  "New window",
            *          "Edit label",   "Select font",
            *          "Input method",                  "Encoding list",
            *          "Submenu input method",          "Submenu encoding list",
            *          "Toggle tabbar",
            *          "Toggle scrollbar",              "Background tint",
            *          "Toggle status bar",             "Adjust saturation",
            *          "Toggle anti-alias",
            *          "Toggle background",             "Separator",
            *          "Toggle fullscreen",             "Quit",
            *          "Toggle always on top",
            *          "Toggle hotkeys locking",        "Reset terminal",
            *          "Toggle window decorated",       "Reset and clear",
            *
            *          "Auto-click" (when there is only one effective menu item)
            */

#define    TAB                    TRUE
// #define TAB_BORDER             0
#define TAB_CLOSE_BUTTON       TRUE
// #define TAB_EXPANDED_WIDTH     TRUE
// #define TAB_LABEL              "Page %u" /* %u will be replaced by numbers */
// #define TAB_LABEL_DYNAMIC      TRUE      /* for xterm escape sequences     */
// #define TAB_LABEL_CUSTOM       "One", "Two", "Three", "Four", "Five", "Six"
// #define TAB_NEW_PATH_EQUAL_OLD TRUE
// #define TAB_NEW_TAB_AT_TAB_ONE TRUE   /* New tab will always the first tab */
#define TAB_REORDERABLE        TRUE
// #define TAB_SHOW_INFO_AT_TITLE TRUE
// #define TABBAR                 TRUE
// #define TABBAR_PLACE           TOP    /* Options: TOP, BOTTOM, LEFT, RIGHT */
// #define TABBAR_AUTOHIDE        TRUE
// #define TABBAR_SCROLLABLE      TRUE
// #define TABBAR_MENU_SELECT_TAB TRUE

/* Use || for multiple hotkeys.
 *
 * CTRL(GDK_A) || CTRL(GDK_a) || ALT(GDK_b) || CTRL_ALT(GDK_c) || SHIFT(GDK_d)
 *
 * CTRL(GDK_a)     = "Ctrl + a"
 * CTRL(GDK_A)     = "Ctrl + Shift + a"
 * ALT(GDK_A)      = "Alt  + Shift + a"
 * CTRL_ALT(GDK_A) = "Ctrl + Alt + Shift + a"
 *
 * Also support: ALT_SHIFT(GDK_*)
 *               CTRL_ALT_SHIFT(GDK_*)
 *               CTRL_SHIFT(GDK_*)
 *
 * See /usr/include/gtk-?.0/gdk/gdkkeysyms.h for GDK_* definitions.           */

#define    HOTKEY                       TRUE
#define HOTKEY_COPY                  CTRL_SHIFT(GDK_C) || CTRL_SHIFT(GDK_c)
#define HOTKEY_PASTE                 CTRL_SHIFT(GDK_V) || CTRL_SHIFT(GDK_v)
// #define HOTKEY_SELECT_ALL            CTRL_SHIFT(GDK_S) || CTRL_SHIFT(GDK_s)
// #define HOTKEY_COLOR_BACKGROUND      CTRL_SHIFT(GDK_B) || CTRL_SHIFT(GDK_b)
// #define HOTKEY_EDIT_ENCODING         CTRL_SHIFT(GDK_U) || CTRL_SHIFT(GDK_u)
#define HOTKEY_FONT_BIGGER           CTRL(GDK_KP_Add)
#define HOTKEY_FONT_SMALLER          CTRL(GDK_KP_Subtract)
// #define HOTKEY_FONT_DEFAULT_SIZE     CTRL(GDK_KP_Insert)
// #define HOTKEY_FONT_SELECT           CTRL_SHIFT(GDK_F) || CTRL_SHIFT(GDK_f)
// #define HOTKEY_MIMIC_SCROLL_UP       CTRL_SHIFT(GDK_K) || CTRL_SHIFT(GDK_k)
// #define HOTKEY_MIMIC_SCROLL_DOWN     CTRL_SHIFT(GDK_J) || CTRL_SHIFT(GDK_j)
// #define HOTKEY_OPEN_NEW_WINDOW       CTRL_SHIFT(GDK_N) || CTRL_SHIFT(GDK_n)
// #define HOTKEY_RESET_TERMINAL        CTRL_SHIFT(GDK_R) || CTRL_SHIFT(GDK_r)
// #define HOTKEY_RESET_AND_CLEAR       CTRL_SHIFT(GDK_A) || CTRL_SHIFT(GDK_a)
// #define HOTKEY_SATURATION_DIALOG     CTRL_SHIFT(GDK_X) || CTRL_SHIFT(GDK_x)
// #define HOTKEY_SATURATION_MORE       CTRL(GDK_KP_Multiply)
// #define HOTKEY_SATURATION_LESS       CTRL(GDK_KP_Divide)
// #define HOTKEY_SCROLL_ONE_PAGE_UP    CTRL(GDK_k) || CTRL(GDK_K)
// #define HOTKEY_SCROLL_ONE_PAGE_DOWN  CTRL(GDK_j) || CTRL(GDK_J)
// #define HOTKEY_SEARCH_STRING         CTRL_SHIFT(GDK_Q) || CTRL_SHIFT(GDK_q)
// #define HOTKEY_SEARCH_PREVIOUS       CTRL_SHIFT(GDK_G) || CTRL_SHIFT(GDK_g)
// #define HOTKEY_SEARCH_NEXT           CTRL(GDK_g) || CTRL(GDK_G)
// #define        SEARCH_CASE_SENSITIVE TRUE
#define    HOTKEY_TAB_ADD               CTRL_SHIFT(GDK_T) || CTRL_SHIFT(GDK_t)
#define    HOTKEY_TAB_REMOVE            CTRL_SHIFT(GDK_W) || CTRL_SHIFT(GDK_w)
#define    HOTKEY_TAB_PREVIOUS          CTRL(GDK_Page_Up)
#define    HOTKEY_TAB_NEXT              CTRL(GDK_Page_Down)
// #define HOTKEY_TAB_FIRST             CTRL(GDK_Home)
// #define HOTKEY_TAB_LAST              CTRL(GDK_End)
// #define ALT_NUMBER_GO_TO_TAB_NUMBER  TRUE
// #define CTRL_NUMBER_GO_TO_TAB_NUMBER TRUE
// #define HOTKEY_TAB_EDIT_LABEL        CTRL_SHIFT(GDK_E) || CTRL_SHIFT(GDK_e)
// #define HOTKEY_TOGGLE_ANTI_ALIAS     CTRL_SHIFT(GDK_L) || CTRL_SHIFT(GDK_l)
// #define HOTKEY_TOGGLE_DECORATED      CTRL(GDK_Left)
// #define HOTKEY_TOGGLE_FULLSCREEN     CTRL_SHIFT(GDK_M) || CTRL_SHIFT(GDK_m)
// #define HOTKEY_TOGGLE_HOTKEYS        CTRL(GDK_quoteleft)
// #define HOTKEY_TOGGLE_ON_TOP         CTRL_SHIFT(GDK_O) || CTRL_SHIFT(GDK_o)
// #define HOTKEY_TOGGLE_SCROLLBAR      CTRL(GDK_Right)
// #define HOTKEY_TOGGLE_STATUS_BAR     CTRL(GDK_Down)
// #define HOTKEY_TOGGLE_TABBAR         CTRL(GDK_Up)
// #define HOTKEY_TOGGLE_BACKGROUND     CTRL(GDK_KP_Delete)
// #define TOGGLE_BG_ORDER    "Image", "Transparent", "No background", "Opacity"

// #define LABEL_DEFAULT_ENCODING       "_Default Encoding"
// #define LABEL_DIALOG_BACKGROUND_TINT "_Background tint color"
// #define LABEL_DIALOG_CLOSE           "Do you really want to close it?"
// #define LABEL_DIALOG_SEARCH          "Find"
// #define LABEL_MENU_SATURATION        "_Adjust saturation"
// #define LABEL_MENU_TOGGLE_ANTI_ALIAS "_Toggle anti-alias"
// #define LABEL_MENU_TOGGLE_BG         "_Toggle background"
// #define LABEL_MENU_TOGGLE_DECORATED  "_Toggle window decorated"
// #define LABEL_MENU_TOGGLE_FULLSCREEN "_Toggle fullscreen"
// #define LABEL_MENU_TOGGLE_HOTKEYS    "_Toggle hotkeys locking"
// #define LABEL_MENU_TOGGLE_ON_TOP     "_Toggle always on top"
// #define LABEL_MENU_TOGGLE_SCROLLBAR  "_Toggle scrollbar"
// #define LABEL_MENU_TOGGLE_STATUS_BAR "_Toggle status bar"
// #define LABEL_MENU_TOGGLE_TABBAR     "_Toggle tabbar"
// #define LABEL_SUBMENU_ENCODING       "_Character Encoding"
// #define LABEL_SUBMENU_IME            "_Input Methods"
// #define GTK3_CSS                     "GtkNotebook GtkHBox GtkButton { -GtkWidget-focus-line-width: 0; } GtkNotebook GtkButton { border-width: 0; padding: 0; -GtkButton-inner-border: 0; } GtkWindow GtkNotebook { padding: 0; }"
Lydovig is offline   Reply With Quote
Old 10-15-2012, 06:30 AM   #159
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Lydovig View Post
I suggest that such changes
Attached is source folder + binary.
Hope it will work. Didn't check.
Attached Files
File Type: bz2 evilvte-0.5.2~pre1.tar.bz2 (419.0 KB, 41 views)
baf is offline   Reply With Quote
Old 10-15-2012, 07:24 AM   #160
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
baf

Binary file works. The color palette has not changed. This is very strange. The path to the file saver changed. Font has also changed. The window size is not changed. I will think how to proceed. The simplest thing to try to make a script:

1. Long press on the "House" - starting the keyboard.
2. Repeated long press on the "House" - removes the keyboard.


Thank you for your help. Sorry to bother you.
Lydovig is offline   Reply With Quote
Old 10-15-2012, 07:30 AM   #161
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Lydovig View Post
Binary file works. The color palette has not changed. This is very strange. The path to the file saver changed. Font has also changed. The window size is not changed.
I know what happened. You did not remove comments (// characters at the begining of line) from config.h and I didn't notice it. Just copied your file.

Here is new binary
Attached Files
File Type: zip evilvte-lydovig.zip (309.3 KB, 44 views)
baf is offline   Reply With Quote
Old 10-15-2012, 08:10 AM   #162
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
baf

Palette colors have changed! However, I made ​​a mistake with the choice of colors. Some words appear very pale. It was necessary to do so:

define COLOR_TEXT_BOLD "#000000"
define COLOR_TEXT_DIM "#000000"
define COLOR_TEXT_HIGHLIGHTED "#000000"

If you are not difficult to compile please with these values ​​last. I promise I will not molest more. :-)

The window size is unfortunately not changed. But it can be a good thing. Much more efficiently display the keyboard on the screen when it is necessary to use more space.
Lydovig is offline   Reply With Quote
Old 10-15-2012, 10:08 AM   #163
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
Found another bug evilvte not display symbols F X C J. But for me it is a small inconvenience. Me enough characters for the Internet f x c j.
Lydovig is offline   Reply With Quote
Old 10-16-2012, 02:00 AM   #164
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Quote:
Originally Posted by Lydovig View Post
baf
define COLOR_TEXT_BOLD "#000000"
define COLOR_TEXT_DIM "#000000"
define COLOR_TEXT_HIGHLIGHTED "#000000"

If you are not difficult to compile please with these values ​​last.
New version for Lydovig
The problem with non-functioning keys is known. Same happened in xterm. Kindle framework grabs some keys. For what reason, I don't know.
Attached Files
File Type: zip evilvte-lydovig2.zip (309.2 KB, 39 views)
baf is offline   Reply With Quote
Old 10-16-2012, 02:14 AM   #165
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 711
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by baf View Post
The problem with non-functioning keys is known. Same happened in xterm. Kindle framework grabs some keys. For what reason, I don't know.
It's not framework. It's window manager (awesome).
Quote:
Originally Posted by /etc/xdg/awesome/rc.lua
Code:
-- {{{ Key bindings
globalkeys = awful.util.table.join(
    awful.key({ "Shift",    }, "j", print_dbg_info),
    awful.key({ "Shift",    }, "f", dumpFocusInfo),
    awful.key({ "Shift",    }, "c", function() log("shift c down") end, chrome_
raise),
    awful.key({ "Shift",    }, "x", function() log("shift x down") end, chrome_
lower),
    awful.key({ "Any",      }, "Home", handleHomeKeyDown, handleHomeKeyUp),
    awful.key({             }, "F1", nil, accelerometerPortraitUp),
    awful.key({             }, "F2", nil, accelerometerPortraitDown),
    awful.key({             }, "F3", nil, accelerometerLandscapeLeft),
    awful.key({             }, "F4", nil, accelerometerLandscapeRight)
)
-- }}}
eureka is offline   Reply With Quote
Reply

Tags
launcher add-ons

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery life in kindle keyboard an kindle non touch. ersott Amazon Kindle 24 10-30-2013 04:33 AM
[Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) yifanlu Kindle Developer's Corner 429 10-22-2012 08:58 PM
[Kindle Touch] Touch-screen keyboard demo JoppyFurr Kindle Developer's Corner 6 05-19-2012 11:04 AM
Kindle Touch add new keyboard Novas Kindle Developer's Corner 2 01-12-2012 08:29 AM
Matchbox Keyboard Update Grimulkan iRex 17 05-13-2009 04:24 PM


All times are GMT -4. The time now is 01:18 AM.


MobileRead.com is a privately owned, operated and funded community.