Sakai + Preference Tool + make Visible - sakai

I want to change the language of sakai . so I need the preference tool. How do I make visible to administrator?
Thanks,
Nirav

Using the Admin Workspace Sites tool you can add the User Preferences tool to the ~admin site and then the admin user can manage their own language. Other users can do the same via their My Workspace site.
Note that if you want to change the language of the entire Sakai installation, you need to set it in JAVA_OPTS.

To change the default language of Sakai specify it as a command line option when starting tomcat. For example to change the default language to french add:
-Duser.language=fr
to the startup options. More details can be found on the Sakai i18n FAQ. Currently it isn't possible to change the default language for all users of Sakai using the web interface.

Related

How to set which extensions are enabled when opening a new folder or workspace?

So I have a great many extensions, and on any given project, I find myself using maybe a third of all of them (If I'm working on a Python project, I don't really need JavaScript related extensions now do I?). The problem is that right now VS Code loads and enables every single extension installed at the start of each new project. I find it a pain to then have to manually go and disable all the extensions I won't be needing for the project.
Is there a way to setup VS Code to only enable certain extensions when opening a new folder / workspace? I couldn't find anything in the docs on that subject and when looking at the extension section of the preferences I couldn't find such a functionality.
As of Feb 2023, it is now possible to create different Profiles in VS Code.
A Profile can include extensions, settings, keyboard shortcuts, UI state, tasks, and user snippets. You can customize VS Code for different development scenarios like data science, documentation writing, or for multiple programming languages like Python or Java. If you have different VS Code setups based on workflow such as "Work" or "Demo", you can also save those as different profiles. You can open multiple workspaces (folders) with different profiles applied simultaneously.
The following image demonstrates a folder opened with a Work profile that is customized for a work setup.
To my knowledge, the best you can do is use the Enable, Enable (Workspace) and Disable, Disable (Workspace) options.
Here is how ended up doing this:
Open a new workspace / folder.
Disable all extensions using Disable.
Enable all extension that you want to have enabled in every new project with Enable.
Enable extensions that you only want to use in this particular workspace / folder with Enable (Workspace)
From then on, when you open a new workspace, only the "default" extensions should be enabled. If ever you want to disable one of these "default" extensions in a particular workspace but still want it to be a "default" extension, make sure to use the Disable (Workspace) option.

Set Default settings for all users in VSCode

i haven't found a way to set the default settings for all our users on install for VSCode.
All i really need set automatically is the ' "http.proxyStrictSSL": false,' setting.
These are students i cant ask them to do it. Is it even possible?
As of VS Code 1.14, we do not support this scenario but we are tracking the features request here: https://github.com/Microsoft/vscode/issues/27972
As a workaround, you can try using an extension such as Fetch User Environment

How are extension developers allowing users to customize features like linting?

I'm working on a VSCode extension that has a linting feature. The linter can be customized quite a bit. How are folks allowing users to customize a feature like this? Completely in user preference settings? Specially named file? User preference setting that specifies path to a settings file?
It looks like you can have a .vscode\settings.json file that allows global user preferences to be overridden on a per-workspace basis.

qgis preferences in a python plugin

I'm developing a qgis python plugin. This plugin changes the default UI windows displayed (which I've already managed to do) and creates a few new tabs and such. Recently, it was requested that I modify some of the options within qgis. These are what they want me to modify:
Under Settings -> Options -> CRS ... modify the preference to Always start new projects with this CRS. They want me to change that to a specific CRS. They also want me to change several settings under the general tab and the map tools tab.
I have no idea where these preferences live in the API and/or how I can change them. I don't think I need specifics, but if you could give me a general idea of where to look, it would be much appreciated. Thanks!
I figured out the answer here. This mailing list entry: http://lists.osgeo.org/pipermail/qgis-developer/2012-October/022627.html and this http://qt-project.org/doc/qt-5.0/qtcore/qsettings.html were helpful. I ended up going into the windows registry to figure out the names of the options (since that's where they're set when you use store QSettings natively in Windows. It was under HKEY_USERS/myid/Software/QuantumGIS. In there, I just experimented by turning things on and off to figure out what needed to be changed in the plugin. I did that like this.
settings = QSettings(QSettings.NativeFormat, QSettings.UserScope, 'QuantumGIS', 'QGis')
settings.setValue('/Projections/projectDefaultCrs', 'EPSG:2278')
Hope this helps someone else.

NetBeans formatting settings file

Where does NetBeans store code formatting settings? I'd like to export them to another computer.
In Mac
Go to the main menu:
Netbeans, Preferences
In Windows
Go to the main nemu:
Window, Options
Then, in any of both
You will have to select any of the available tabs (editor, fonts and colors, ...) then click in export button
Once you have got the zip file, you can import it into another Netbeans's installation
I'm aware that this is an old post but since it's the top result when you google "netbeans php export formatting" and it came up in the comments of the approved answer:
Each module (and therefore each language) has to support the export. AFAIK Java had the support for years ( https://netbeans.org/bugzilla/show_bug.cgi?id=143494 ) but other languages are still missing it (as for Netbeans 8.2).
I submitted a patch for PHP today which will hopefully be added: https://netbeans.org/bugzilla/show_bug.cgi?id=269978
If your langauge is missing in the export dialog, your langauge module does not yet support it. So head over to Netbeans and request it as feature or submit a patch.
Cheers
Bastian