Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2019, 07:14 AM
vysh vysh is offline
Registered User
 
Join Date: Oct 2014
Posts: 40
[Req] Gruvbox color theme support

Hi!

Just a feature request.

Please add support for gruvbox color theme.
https://github.com/morhetz/gruvbox

I think many will find it useful.

Thanks!
Reply With Quote
  #2  
Old 06-21-2019, 11:24 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 920
Gruvbox color scheme

Quote:
Originally Posted by vysh View Post
Just a feature request. Please add support for gruvbox color theme. https://github.com/morhetz/gruvbox
I've added a feature request for you.

In the mean time, if you really want it available, you can make it available yourself within your SecureCRT by following these steps:
  1. Back up your existing SecureCRT configuration so that you can restore it if you mess anything up. See this video for details.
  2. Determine SecureCRT's configuration folder -- this is located in the "Configuration Paths" category of SecureCRT's Global Options.
    • By default on Windows, this is %APPDATA\VanDyke\Config.
    • By default on Linux, this is ~/.vandyke/SecureCRT/Config.
    • By default on macOS, this is ~/Library/Application Support/VanDyke/SecureCRT/Config
  3. Close all instances of SecureCRT that are running.
  4. Browse to the configuration folder you identified in step 2 earlier.
  5. Edit the Global.ini file located there and add entries for the two Dark and Light Gruvbox color palettes and schemes as described below.
    • Find the line that reads Z:"ANSI Color Palettes"=dddddddd
    • Since you'll be inserting two new lines, take the hex number represented by the dddddddd and add 2 to it. For example if the value is currently 0000000f (hex equivalent of decimal 15), you'll change it to 00000011 (hex equivalent of decimal 17)
    • Scroll down to the place where alphabetically the new Gruvbox Dark and Gruvbox Light color palettes fit, and insert the following two lines there (depending on the width of your browser window, the lines shown below may appear to be more than just two(2) lines, but there's only 2 lines there -- widen your browser window if needed so you can see it better). Make sure that each of these lines you insert has one (and exactly one (1)) leading space character.
      Gruvbox Dark,28282800,CC241D00,98971A00,D7992100,45858800,B1628600,689D6A00,A8998400,92837400,FB493400,B8BB2 600,FABD2F00,83A59800,D3869B00,8EC07C00,EBDBB200
      Gruvbox Light,FBF1C700,CC241D00,98971A00,D7992100,45858800,B1628600,689D6A00,7C6F6400,92837400,9D000600,7974 0E00,B5761400,07667800,8F3F7100,427B5800,3C383600

      This is what my ANSI COLOR Palettes entry looked like in my Global.ini file after completing this edit:
      Code:
      Z:"ANSI Color Palettes"=00000011
       Standard,00000000,A0000000,00A00000,A0A00000,0000A000,A000A000,00A0A000,C0C0C000,80808000,FF000000,00FF0000,FFFF0000,0000FF00,FF00FF00,00FFFF00,FFFFFF00
       Birds of Paradise,573D2600,BE2D2600,6BA18A00,E99D2A00,5A86AD00,AC80A600,74A6AD00,E0DBB700,9B6C4A00,E8462700,95D8BA00,D0D15000,B8D3ED00,D19ECB00,93CFD700,FFF9D500
       Chalkboard,00000000,C3737200,72C37300,C2C37200,7372C300,C372C200,72C2C300,D9D9D900,32323200,DBAAAA00,AADBAA00,DADBAA00,AAAADB00,DBAADA00,AADADB00,FFFFFF00
       Ciapre,18181800,81000900,48513B00,CC8B3F00,576D8C00,724D7C00,5C4F4B00,AEA47F00,55555500,AC383500,A6A75D00,DCDF7C00,3097C600,D3306100,F3DBB200,F4F4F400
       Dark Pastel,00000000,FF555500,55FF5500,FFFF5500,5555FF00,FF55FF00,55FFFF00,BBBBBB00,55555500,FF555500,55FF5500,FFFF5500,5555FF00,FF55FF00,55FFFF00,FFFFFF00
       Desert,4D4D4D00,FF2B2B00,98FB9800,F0E68C00,CD853F00,FFDEAD00,FFA0A000,F5DEB300,55555500,FF555500,55FF5500,FFFF5500,87CEFF00,FF55FF00,FFD70000,FFFFFF00
       Espresso,35353500,D2525200,A5C26100,FFC66D00,6C99BB00,D197D900,BED6FF00,EEEEEC00,53535300,F00C0C00,C2E07500,E1E48B00,8AB7D900,EFB5F700,DCF4FF00,FFFFFF00
       Gruvbox Dark,28282800,CC241D00,98971A00,D7992100,45858800,B1628600,689D6A00,A8998400,92837400,FB493400,B8BB2600,FABD2F00,83A59800,D3869B00,8EC07C00,EBDBB200
       Gruvbox Light,FBF1C700,CC241D00,98971A00,D7992100,45858800,B1628600,689D6A00,6B605600,92837400,9D000600,79740E00,B5761400,07667800,8F3F7100,427B5800,3C383600
       Idletoes,32323200,D2525200,7FE17300,FFC66D00,4099FF00,F680FF00,BED6FF00,EEEEEC00,53535300,F0707000,9DFF9100,FFE48B00,5EB7F700,FF9DFF00,DCF4FF00,FFFFFF00
       Invisibone,30303000,D370A300,6D9E3F00,B5885800,6095C500,AC7BDE00,3BA27500,CFCFCF00,68686800,FFA7DA00,A3D57200,EFBD8B00,98CBFE00,E5B0FF00,75DAA900,FFFFFF00
       Novel,00000000,CC000000,00960000,D06B0000,0000CC00,CC00CC00,0087CC00,CCCCCC00,80808000,CC000000,00960000,D06B0000,0000CC00,CC00CC00,0087CC00,FFFFFF00
       Solarized Dark,07364200,DC322F00,85990000,B5890000,268BD200,D3368200,2AA19800,EEE8D500,002B3800,CB4B1600,586E7500,657B8300,83949600,6C71C400,93A1A100,FDF6E300
       Solarized Darcula,25292A00,F2484000,62965500,B6880000,2075C700,797FD400,15968D00,D2D8D900,25292A00,F2484000,62965500,B6880000,2075C700,797FD400,15968D00,D2D8D900
       Solarized Light,07364200,DC322F00,85990000,B5890000,268BD200,D3368200,2AA19800,EEE8D500,002B3800,CB4B1600,586E7500,657B8300,83949600,6C71C400,93A1A100,FDF6E300
       Tomorrow,8E908C00,FF333400,9EC40000,EAB70000,5795E600,B777E000,54CED600,EFEFEF00,00000000,C8282900,718C0000,F5871F00,4271AE00,8959A800,3E999F00,D6D6D600
       Zenburn,4D4D4D00,70505000,60B48A00,F0DFAF00,50607000,DC8CC300,8CD0D300,DCDCCC00,70908000,DCA3A300,C3BF9F00,E0CF9F00,94BFF300,EC93D300,93E0E300,FFFFFF00
    • Find the line that reads reads Z:"Color Schemes"=dddddddd
    • Since you'll be inserting two new lines, take the hex number represented by the dddddddd and add 2 to it. For example if the value is currently 00000016 (hex equivalent of decimal 22), you'll change it to 00000018 (hex equivalent of decimal 24)
    • Scroll down to the place where alphabetically the new Gruvbox Dark and Gruvbox Light color schemes would fit, and insert the following two lines there (depending on the width of your browser window, the lines shown below may appear to be more than just two(2) lines, but there's only 2 lines there -- widen your browser window if needed so you can see it better). Make sure that each of these lines you insert has one (and exactly one (1)) leading space character.
      Gruvbox Dark,010101,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,28282800,2828280 0,28282800,28282800,28282800,28282800,28282800,28282800,Gruvbox Dark
      Gruvbox Light,010101,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,FBF1C700,FBF1C7 00,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,Gruvbox Light
      This is what my Color Schemes entry looked like in the Global.ini file after completing this edit:
      Code:
      Z:"Color Schemes"=00000018
       Solarized Light,010101,657B8300,657B8300,657B8300,657B8300,657B8300,657B8300,657B8300,657B8300,FDF6E300,FDF6E300,FDF6E300,FDF6E300,FDF6E300,FDF6E300,FDF6E300,FDF6E300,Solarized Light
       Birds of Paradise,010101,E0DBB700,E0DBB700,E0DBB700,E0DBB700,E0DBB700,E0DBB700,E0DBB700,E0DBB700,2A1F1D00,2A1F1D00,2A1F1D00,2A1F1D00,2A1F1D00,2A1F1D00,2A1F1D00,2A1F1D00,Birds of Paradise
       Black / Cyan,010101,00000000,0000FF00,00000000,0000FF00,00000000,0000FF00,00000000,0000FF00,00FFFF00,00FFFF00,00FFFF00,00FFFF00,00FFFF00,00FFFF00,00FFFF00,00FFFF00,Standard
       Black / Floral White,010101,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,Standard
       Chalkboard,010101,D9E6F200,D9E6F200,D9E6F200,D9E6F200,D9E6F200,D9E6F200,D9E6F200,D9E6F200,29262F00,29262F00,29262F00,29262F00,29262F00,29262F00,29262F00,29262F00,Chalkboard
       Ciapre,010101,AEA47A00,AEA47A00,AEA47A00,AEA47A00,AEA47A00,AEA47A00,AEA47A00,AEA47A00,191C2700,191C2700,191C2700,191C2700,191C2700,191C2700,191C2700,191C2700,Ciapre
       Dark Pastel,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,Dark Pastel
       Desert,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,33333300,33333300,33333300,33333300,33333300,33333300,33333300,33333300,Desert
       Espresso,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,32323200,32323200,32323200,32323200,32323200,32323200,32323200,32323200,Espresso
       Floral White / Dark Cyan,010101,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,FFFBF000,00808000,00808000,00808000,00808000,00808000,00808000,00808000,00808000,Standard
       Gruvbox Dark,010101,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,EBDBB200,28282800,28282800,28282800,28282800,28282800,28282800,28282800,28282800,Gruvbox Dark
       Gruvbox Light,010101,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,3C383600,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,FBF1C700,Gruvbox Light
       Idletoes,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,32323200,32323200,32323200,32323200,32323200,32323200,32323200,32323200,Idletoes
       Invisibone,010101,A0A0A000,A0A0A000,A0A0A000,A0A0A000,A0A0A000,A0A0A000,A0A0A000,A0A0A000,23232300,23232300,23232300,23232300,23232300,23232300,23232300,23232300,Invisibone
       Monochrome,010101,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,Standard
       Novel,010101,3B232200,3B232200,3B232200,3B232200,3B232200,3B232200,3B232200,3B232200,DFDBC300,DFDBC300,DFDBC300,DFDBC300,DFDBC300,DFDBC300,DFDBC300,DFDBC300,Novel
       Solarized Darcula,010101,D2D8D900,D2D8D900,D2D8D900,D2D8D900,D2D8D900,D2D8D900,D2D8D900,D2D8D900,3D3F4100,3D3F4100,3D3F4100,3D3F4100,3D3F4100,3D3F4100,3D3F4100,3D3F4100,Solarized Darcula
       Solarized Dark,010101,83949600,83949600,83949600,83949600,83949600,83949600,83949600,83949600,002B3600,002B3600,002B3600,002B3600,002B3600,002B3600,002B3600,002B3600,Solarized Dark
       Tomorrow,010101,4D4D4C00,4D4D4C00,4D4D4C00,4D4D4C00,4D4D4C00,4D4D4C00,4D4D4C00,4D4D4C00,FAFAFA00,FAFAFA00,FAFAFA00,FAFAFA00,FAFAFA00,FAFAFA00,FAFAFA00,FAFAFA00,Tomorrow
       Traditional,010101,00FF0000,00FF0000,00FF0000,00FF0000,00FF0000,00FF0000,00FF0000,00FF0000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,Standard
       White / Black,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,Standard
       White / Blue,010101,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,FFFFFF00,0000FF00,0000FF00,0000FF00,0000FF00,0000FF00,0000FF00,0000FF00,0000FF00,Standard
       Yellow / Black,010101,FFFF0000,FFFF0000,FFFF0000,FFFF0000,FFFF0000,FFFF0000,FFFF0000,FFFF0000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,Standard
       Zenburn,010101,DCDCCC00,DCDCCC00,DCDCCC00,DCDCCC00,DCDCCC00,DCDCCC00,DCDCCC00,DCDCCC00,3F3F3F00,3F3F3F00,3F3F3F00,3F3F3F00,3F3F3F00,3F3F3F00,3F3F3F00,3F3F3F00,Zenburn

    Here's a diff view to show the new Global.ini entries. Please note that your values may already be different if you've already/previously added or removed color schemes within SecureCRT's configuration.
  6. Save your changes to the Global.ini file
  7. Start SecureCRT and edit your session option to use the Gruvbox color scheme.
Here's a couple of mc visuals once I've made the change and selected the new color schemes in my SecureCRT:
--Jake
Attached Images
File Type: png Global.ini_before-and-after-GruvboxAdditions.png (197.2 KB, 109 views)
File Type: png GruvboxDark_SCRT_mc.png (84.7 KB, 100 views)
File Type: png GruvboxLight_SCRT_mc.png (88.9 KB, 94 views)
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
  #3  
Old 06-22-2019, 03:01 PM
vysh vysh is offline
Registered User
 
Join Date: Oct 2014
Posts: 40
Smile

jdev, thanks! Worked like a charm.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:17 PM.