How to use a custom dark theme on Octave? - linux

I use Mx-Linux btw.
I tried many ways to make sure that octave was using black background and white text instead of the default setting, but no what what I tried I wasn't able to change the editor configuration(I was able to easily change the command prompt to "dark mode").
So I downloaded this(https://github.com/SergioSoldado/octave-color-scheme) and after unzipping I found that I should move the file qt-settings(without any extension) to a folder
/home/richard/.config/octave/qt-settings/
But when I opened .config, there was no folder named qt-settings thus I created one and I moved the qt-settings file which was in the Octave-color-scheme-master folder(from github). But this didn't work. Nothing changed. What should I do to make octave dark.

You can install kvantum manager and install a theme. It'll show up in octave.

Related

Use GVim as GNU OCtave's text editor on Windows

I am using Windows 10 and the text editor I am used to is Vim. I just intalled a shiny new GNU Octave copy (version 7.2.0). The Octave editor is pretty limited and I know it is possible to override it to vim/gvim. I have tried different things to make it work, without success.
Using the Preference->Editor pane
It seems that Octave is never able to understand what I put in there. I have tried using gvim, gvim.exe, a full path to my copy of gvim, etc. When I go to the editor, I either get:
or, when using a full path to the editor (ex. here: C:\Program Files (x86)\Vim\vim82\gvim.exe):
I think Octave is unable to deal with spaces in paths (at least from this edit box). It have also tried using single and double quotes, but it also fails:
Using an .octaverc file
When nothing worked in the GUI, I tried configuring an .octaverc file, as described in the GNU Octave Wiki:
edit mode sync
edit home .
EDITOR('gvim')
I tried with vim as well, full paths, etc, to no avail. Now I know that this file is read and executed when lauching Octave because when I put garbage in it, I see it in the Command Window. I also found a Set Path option in the GUI and I tried adding the path to gvim there, but it had no effect:
Question
I can I make my GNU Octave editor gvim, on Windows? I would like to use my current installation (default for Octave, default for Vim as well...)

What is this yellow-orange color bar at the top of Sublime Text?

What is this yellow-orange color bar at the top of Sublime Text?
Hi all,
I've used sublime text before, but last time I used it I think I tinkered with the theme among other things, but I cannot figure out what this orange bar is at the top of the window or how to remove it. I've looked at the documentation but I've had no luck.
TIA
That image is the placeholder image that Sublime uses when a theme references a texture image whose underlying image file can't be found. That can happen if the file is missing or if the .sublime-theme file is using the wrong name, for example.
The only way to get rid of it is thus to either:
Fix the theme to use the correct image name
Put the missing image in place
Switch to an alternate theme (e.g. Default or Adaptive, which ship with Sublime)
If you're using a custom theme it should be an easy thing to check your sublime-theme file to see what images it's referencing and compare that to images you've added to the theme package to see what's missing.
The most expedient would be the theme switch to one of the ones that ship with Sublime.
If you're already using one of those two themes and you're having this problem, then the issue is that you're augmenting the existing theme and causing it to break. In that case, there are two things to check.
Use Preferences > Browse Packages from the menu or command palette; do you see a folder named Theme - Default? If so, move it away, the files in it are overriding the default themes (including Adaptive; they're both in the same package).
Using the same command as above, look in the User package; look for sublime-theme files and move them away; such files will be combined with other files of the same name, which allows you to add rules to an existing theme in a way that could be breaking it.

Can't change comment color in sublime text editor 3?

I have what I would consider the perfect theme colors for my Sublime Text Editor 3 application; however, the only thing that is very annoying and hard to see is the comment colors. They're the same color as the background but maybe just one shade lighter.
I've seen some other posts on here on editing theme color files within Sublime Text but for some reason it seems like the data isn't taking effect. It's like it's going off of cached data or something.
For example, I'm using the "Monokai" theme. I've edited /opt/sublime_text/Packages/Color Scheme - Default.sublime-package and searched for Monokai. I changed the hex color code under lineHighlight, and restart Sublime. Nothing changes. In fact, I've changed numerous hex color codes under that section and restarted Sublime Text and absolutely nothing has change.d
What am I doing wrong here? I'm running this on Linux Mint 17.3 Cinnamon
I was unable to change comments color by editing Monokai.tmTheme even after purging cache or sublime reinstall.
For Sublime 3.1.1 Build 3176 editing Monokai.sublime-color-scheme works.
1. Open Package Resource Viewer
2. Open Color Scheme
3. Open Monokai color scheme
4. Add you desired color in variables (pick here)
5. Change comment color
6. Enjoy your new comments color!
I've done exactly what you said, changed the value under lineHighlight in Monokai.tmTheme in Color Scheme - Default.sublime-package, restarted Sublime Text and it worked just fine. I'm running Build 3103 on Manjaro Linux.
Sublime Text stores its settings and cache ~/.config/sublime-text-3, I suggest temporarily renaming this folder, which should take you to a freshly installed state. Then make sure Sublime Text really restarts and that your color scheme changes are really in place.
I encountered the same problem. I found the following way solved my problem.
According to #Саша Черных, one can go to
tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai to create and download a customized theme. Then, in Sublime Text 3, from [References -> Browse Packages...], you can find where your Packages folder locates. Just put the downloaded file "Monokai.tmTheme" in that folder, restart app, then it's done.

How can i change menu color or submenu color in sugarcrm 6.5.0 RC1 CE?

How can i change menu color or submenu color in sugarcrm 6.5.0 RC1 CE ?
I am changing in themes/Sugar5/css/style.css file but it is being not changed.
Place your CSS modifications in custom/themes/default/css/style.css and ensure you run a Repair & Rebuild once your code is in place. Make sure the file and all dirs leading to it have appropriate permissions.
If it's not working after that, use Chrome's developer tools to see if your CSS is properly loading at all and see how it's affecting the elements you're working on.
See the themedef.php file in the theme folder. You need to make the colour changes in this file.
However, first turn the developer mode on from Admin>Settings to avoid the cache issue.

Where does notepad++ store style configurator settings?

I downloaded and modified a style file and placed it in the Notepad++ themes folder. I was able to select it and have it update the style as expected. I then went to Settings -> Style Configurator and changed the font of COMMENT of language VHDL to MS Gothic, hit save, and closed and exited Notepad++. I am able to relaunch Notepad++ and still see the change (I'm running Notepad++ in admin mode on Win7).
The only file that I can see a new timestamp on is my XML theme file, but I don't see MS Gothic anywhere in the file. Where is this information being stored? It is overriding the settings from my theme file. I also checked %APPDATA%\Notepad++\stylers.xml but I don't see it there either.
I realize I can change it back through the GUI, but I'd like to know how to get back to my original theme without selecting every style in the language manually (as I've made multiple changes). If I could edit (or delete) a file, I would prefer it.
Look in your %APPDATA%\Notepad++ folder, specifically for the stylers.xml file.
Uninstall Notepad++
Reinstall it again, but this time check the first box, the one that says "Don't use %APPDATA%..... "
Enjoy.
The reason is that Notepad++ install all the files at administrator profile, if you are using another user then you are screw, it will not work properly, you have to run it always as an administrator so it can work properly. To avoid this, just do as i said.
If files are going to APPDATA, then you can create a folder called "themes" and then inside that place your new xml themes. Then close and reopen notepad++ and you should see your new style in the "Select theme:" drop down. Whatever you named the file should be what appears in the dropdown
If you are on Windows 10 the path to add the new theme is :
C:\Users\NAME-OF-COMPUTER\AppData\Roaming\Notepad++\themes
stylers.xml is located one director/ folder above the themes :
Just as a complement to the other answers, if you made the changes on another theme than the default theme (stylers.xml) then your changes are saved to
%APPDATA%\Notepad++\themes\TheThemeYouModified.xml.
For example, if you modified the choco theme, then look for the %APPDATA%\Notepad++\themes\choco.xml.
You will also find a choco.xml in the C:\Program Files (x86)\Notepad++\themes but this one is not where your changes are saved.
I tried Rbastardo answer, but even when I check "Don't use %APPDATA%....." when installing Notepad++, the changes are still saved in %APPDATA%.
In case this helps someone in the future, if you installed Notepad++ via Scoop then look for your themes directory here:
D:\Users\yourusername\scoop\persist\notepadplusplus\themes

Resources