This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:win10apps [2022/08/25 08:53] jypeter [Windows Terminal] Added screenshot with pull-down menu |
other:win10apps [2022/12/19 17:09] jypeter [Installing applications with winget] Added blank lines to make the examples more readable |
||
---|---|---|---|
Line 36: | Line 36: | ||
Install [[https://www.google.fr/intl/en_us/chrome/|Chrome]] if you think that you may need an extra browser (besides the builtin Edge and the preinstalled Firefox) to test the content of some web pages or to use some videoconferencing software | Install [[https://www.google.fr/intl/en_us/chrome/|Chrome]] if you think that you may need an extra browser (besides the builtin Edge and the preinstalled Firefox) to test the content of some web pages or to use some videoconferencing software | ||
- | ===== Notepad++ ===== | + | ===== Text editors ===== |
+ | |||
+ | ==== emacs ==== | ||
+ | |||
+ | All the details on the [[other:emacs_doc|Using the emacs text editor]] page | ||
+ | |||
+ | |||
+ | ==== Notepad++ ==== | ||
[[https://notepad-plus-plus.org/|Notepad++]] is a free source code editor and Notepad replacement that supports several languages | [[https://notepad-plus-plus.org/|Notepad++]] is a free source code editor and Notepad replacement that supports several languages | ||
Line 43: | Line 50: | ||
* needs to be tested | * needs to be tested | ||
* does not seem as convenient as using ''emacs'' for working with remote files with the ''/user@server:/path/file'' syntax (but NPP is easier to install...) | * does not seem as convenient as using ''emacs'' for working with remote files with the ''/user@server:/path/file'' syntax (but NPP is easier to install...) | ||
- | * support for ssh keys (i.e. the combination of a //key file// and a //passphrase//), but [[https://github.com/ashkulz/NppFTP/issues/181|no support for //ssh keys// stored in pageant]] as of July 2022 | + | * support for ssh keys (i.e. the combination of a //key file// and a //passphrase//), but [[https://github.com/ashkulz/NppFTP/issues/181|no support for ssh keys stored in pageant]] as of July 2022 |
+ | * [[other:emacs_doc#working_with_remote_text_files|emacs]] is **much more efficient than NPP** for working with remote files | ||
Line 172: | Line 180: | ||
==== ownCloud ==== | ==== ownCloud ==== | ||
+ | |||
+ | <note tip>This is very useful and you should read the [[other:lsce_cloud|dedicated page]]!</note> | ||
[[https://owncloud.com/desktop-app/|ownCloud Desktop Client]] enables you to connect folders on your desktop to your corporate ownCloud Server. With it you can create folders, organize your local ownCloud directory, and keep the contents of your local directory synced with your ownCloud server. Anything shared with you will also appear in your home directory on your desktop, and changes will be automatically synced. | [[https://owncloud.com/desktop-app/|ownCloud Desktop Client]] enables you to connect folders on your desktop to your corporate ownCloud Server. With it you can create folders, organize your local ownCloud directory, and keep the contents of your local directory synced with your ownCloud server. Anything shared with you will also appear in your home directory on your desktop, and changes will be automatically synced. | ||
Line 208: | Line 218: | ||
===== Terminals ===== | ===== Terminals ===== | ||
+ | ==== Windows cmd command interpreter ==== | ||
+ | |||
+ | There is nothing to install, [[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands|cmd]] is the basic Windows //command interpreter// | ||
+ | |||
+ | * **Starting**: you can just type ''cmd''+''Enter'' in the Windows search field (or use [[https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/|another way]]) | ||
+ | |||
+ | * Several ways to **Copy/Paste text**: | ||
+ | * Right-click on the //cmd// windows bar: | ||
+ | * ''Change''=>''Copy'' or ''Paste'' | ||
+ | * ''Properties''=>''Options'' to check the options, including the useful //QuickEdit mode// and //Use Ctrl+Shift+C/V as Copy/Paste// option mentioned below | ||
+ | * Follow the steps in [[https://blogs.msdn.microsoft.com/commandline/2018/04/13/copy-and-paste-arrives-for-linuxwsl-consoles/|Copy and Paste arrives for Linux/WSL Consoles]] and you will then be able to **copy/paste by using ''Shift+Ctrl+C/V''** | ||
+ | * The //QuickEdit mode// should already be selected by default and you can also: | ||
+ | * **select** text with the left mouse button | ||
+ | * **paste** the selected text with the right mouse button (click **twice** after a new selection) | ||
+ | |||
+ | * **Misc**: | ||
+ | * Use ''Alt''+''Enter'' to toggle the terminal to full screen | ||
+ | * [[https://docs.microsoft.com/en-us/windows/terminal/selection|More shortcuts]] | ||
+ | |||
+ | ==== Windows PowerShell ==== | ||
+ | |||
+ | There is nothing to install, the [[https://docs.microsoft.com/en-us/powershell/|PowerShell]] is directly available in Windows | ||
+ | |||
+ | * **Starting**: right-click on the //Windows// icon (or ''Win''+''X'') and select ''Windows PowerShell'' | ||
+ | |||
+ | * **Copy/pasting text**: same as in a [[other:win10apps#windows_cmd_command_interpreter|cmd interpreter]] | ||
+ | |||
+ | * **Misc**: | ||
+ | * [[https://docs.microsoft.com/en-us/powershell/|PowerShell documentation]] | ||
==== Windows Terminal ==== | ==== Windows Terminal ==== | ||
Line 216: | Line 255: | ||
* {{ :other:windows_terminal_new_nl.png?direct&400 |}} | * {{ :other:windows_terminal_new_nl.png?direct&400 |}} | ||
* The ''Ubuntu'' terminal will appear only after installing [[other:win10wsl|WSL+Ubuntu]] | * The ''Ubuntu'' terminal will appear only after installing [[other:win10wsl|WSL+Ubuntu]] | ||
+ | * Hold the ''CTRL'' key when clicking on //Windows PowerShell//, if you need a PowerShell in //admin// mode | ||
* Installing //Windows Terminal// will make the nice [[https://devblogs.microsoft.com/commandline/cascadia-code/|Cascadia Code font]] available on the system.\\ //This font is most recommended to be used with terminal applications and text editors//, and can be [[other:putty_conf#changing_some_useful_settings|used in PuTTY]] and other applications that can benefit from a good //monospaced// font! | * Installing //Windows Terminal// will make the nice [[https://devblogs.microsoft.com/commandline/cascadia-code/|Cascadia Code font]] available on the system.\\ //This font is most recommended to be used with terminal applications and text editors//, and can be [[other:putty_conf#changing_some_useful_settings|used in PuTTY]] and other applications that can benefit from a good //monospaced// font! | ||
+ | * **Copy/pasting text**: more or less the same as in a [[other:win10apps#windows_cmd_command_interpreter|cmd interpreter]] | ||
+ | * See also [[https://docs.microsoft.com/en-us/windows/terminal/selection|Selecting/Copying/Pasting text in Windows Terminal]] and the additional options you get when right-clicking on a Windows Terminal bar | ||
* Terminal [[https://docs.microsoft.com/en-us/windows/terminal/|Documentation]] and [[https://github.com/microsoft/terminal|GitHub page]] | * Terminal [[https://docs.microsoft.com/en-us/windows/terminal/|Documentation]] and [[https://github.com/microsoft/terminal|GitHub page]] | ||
* See also [[https://docs.microsoft.com/en-us/windows/wsl/setup/environment#set-up-windows-terminal|Set up Windows Terminal]] in the [[other:win10wsl|WSL documentation]] | * See also [[https://docs.microsoft.com/en-us/windows/wsl/setup/environment#set-up-windows-terminal|Set up Windows Terminal]] in the [[other:win10wsl|WSL documentation]] | ||
Line 274: | Line 316: | ||
- | ===== Zotero ===== | + | ===== Citation management tools ===== |
+ | |||
+ | ==== Overview ==== | ||
+ | |||
+ | * [[https://guides.library.pdx.edu/managecitations|Manage Citations with Zotero, Mendeley, and EndNote]] | ||
+ | |||
+ | ==== Zotero ==== | ||
[[https://www.zotero.org/|Zotero]] is a free, easy-to-use tool to help you collect, organize, cite, and share research | [[https://www.zotero.org/|Zotero]] is a free, easy-to-use tool to help you collect, organize, cite, and share research | ||
+ | |||
+ | <note important> | ||
+ | ''Zotero'' is a great tool but, for obvious security reasons, **you should not store your data in the ''Zotero'' cloud** (free or paying)\\ You can perfectly use ''Zotero'' without creating an account! More details below</note> | ||
+ | |||
+ | * [[https://www.zotero.org/download/|Download]] and install ''Zotero'' | ||
+ | * You should **avoid creating a ''Zotero'' account** and synchronizing your research data to an unknown cloud!\\ Zotero will work perfectly without creating an account | ||
+ | |||
+ | * [[https://www.zotero.org/download/|Download]] and install the ''Zotero Connector'' extension in the current browser (and possibly all the other browsers you regularly use) | ||
+ | * //Zotero Connectors automatically sense content as you browse the web and allow you to save it to Zotero with a single click// | ||
+ | * Note: ''Zotero'' must be running when you click on the connector button in your browser (but you will be reminded by a popup, if that's not the case) | ||
+ | |||
+ | * Start ''Zotero'' for the first time, and update some basic preferences (''Edit'' => ''Preferences'') | ||
+ | * Language: ''Advanced'' => ''Language'' => ''English'' | ||
+ | * Main ''Zotero'' folder: | ||
+ | * This is the **local folder** where all of the ''Zotero'' data (except the settings) will be stored: database, documents (pdf, ...) | ||
+ | * ''Zotero'' only needs a //local// folder in order to work on a given computer. You do not need a //Zotero cloud account// | ||
+ | * Default //local folder// location (on Windows): ''C:\Users\<your_login>\Zotero'' | ||
+ | * Moving the //local folder// to a known location (preferably outside of the ''C:\'' drive on Windows) will make it easier to create a backup of ''Zotero'' data (and restore/move the data to another computer), and synchronize ''Zotero'' data between computers without having to use a ''Zotero'' account | ||
+ | * Recommended new locations for the //local folder//: | ||
+ | * A sub-directory of your [[other:win10config#the_most_important_folders|Local OWNCLOUD FOLDER]], if you have [[other:lsce_cloud|configured LSCE sharebox and ownCloud]]\\ ''<some_disk_different_from_c>:\Users\<your_login>_owncloud\Zotero'' | ||
+ | * If you use ownCloud+sharebox to synchronize ''Zotero'' data between different computers, you should have only one version of Zotero running, in order to avoid synchronization conflicts!\\ i.e. **be sure to close ''Zotero'' on a computer before shutting down the computer and using Zotero on your other computer** | ||
+ | * Or a sub-directory of your [[other:win10config#the_most_important_folders|Local HOME FOLDER]]\\ ''<some_disk_different_from_c>:\Users\<your_login>\Zotero'' | ||
+ | * Change the ''Zotero'' local folder location in ''Advanced'' => ''Files and Folders'' => ''Data Directory Location'': | ||
+ | * Specify the new location (ideally one of the folders in the //Recommended locations// above) in the ''Custom'' field | ||
+ | * **Quit ''Zotero''** | ||
+ | * Move data to the new location | ||
+ | * New ''Zotero'' user: move the full content of the default ''Zotero'' folder (''C:\Users\<your_login>\Zotero'' on Windows) to the new location | ||
+ | * Existing user: move the existing ''Zotero'' content (coming from another computer or a backup) to the selected //Custom// location | ||
+ | * Restart ''Zotero'' | ||
+ | * More details in [[https://www.zotero.org/support/zotero_data|The Zotero Data Directory]] page | ||
+ | |||
+ | * Use ''Zotero'' to easily add bibliographies to your documents! | ||
+ | * Supported word processors: [[https://www.zotero.org/support/word_processor_integration|Microsoft Word, LibreOffice, and Google Docs]] | ||
+ | * If your favorite word processor is not supported, you can still [[https://www.zotero.org/support/creating_bibliographies#right-click_to_create_citationbibliography|copy a bibliography to the clipboard]] and paste it in a document | ||
+ | * ''Zotero'' must be running when you use the plugin in the supported processors! | ||
+ | * The word processor should display a warning popup if you have forgotten to start ''Zotero'' | ||
+ | |||
+ | * Follow the [[https://www.instart-learning.eu/Catalog/training/3380|Zotero (gestion des références bibliographiques)]] (French) online training class | ||
===== Publish or Perish ===== | ===== Publish or Perish ===== | ||
Line 339: | Line 425: | ||
* Can be used for backing up your phone | * Can be used for backing up your phone | ||
+ | |||
+ | ===== TODO ===== | ||
+ | |||
+ | ==== Installing applications with winget ==== | ||
+ | |||
+ | === winget documentation === | ||
+ | |||
+ | * Windows Package Manager [[https://learn.microsoft.com/en-us/windows/package-manager/|main documentation]] | ||
+ | * [[https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget|Use the winget tool to install and manage applications]] | ||
+ | |||
+ | === emacs example === | ||
+ | |||
+ | <code>PS C:\Users\your_login> winget search --name emacs | ||
+ | |||
+ | Nom ID Version Source | ||
+ | ----------------------------------- | ||
+ | GNU Emacs GNU.Emacs 28.2 winget | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget show --id GNU.Emacs | ||
+ | |||
+ | Trouvé GNU Emacs [GNU.Emacs] | ||
+ | Version : 28.2 | ||
+ | Publisher : GNU Project | ||
+ | ID de l’Editeur https://www.gnu.org | ||
+ | Moniker : emacs | ||
+ | Description : An extensible, customizable, free/libre text editor - and more. | ||
+ | Page d’accueil : https://www.gnu.org/software/emacs/ | ||
+ | Licence : GPL | ||
+ | Copyright : Copyright (C) 2022 Free Software Foundation, Inc. | ||
+ | Programme d'installation : | ||
+ | Type : nullsoft | ||
+ | URL de téléchargement : https://ftp.gnu.org/gnu/emacs/windows/emacs-28/emacs-28.2-installer.exe | ||
+ | SHA256 : 1e8d037882e61d3fadf44f4e6153f538b131e6b7f475dc59eb20d85052a83b1e | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login > winget show --id GNU.Emacs --versions | ||
+ | |||
+ | Trouvé GNU Emacs [GNU.Emacs] | ||
+ | Version | ||
+ | ------- | ||
+ | 28.2 | ||
+ | 28.1 | ||
+ | 27.2 | ||
+ | 27.1 | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget install --id GNU.Emacs | ||
+ | |||
+ | Trouvé GNU Emacs [GNU.Emacs] Version 28.2 | ||
+ | La licence d’utilisation de cette application vous est octroyée par son propriétaire. | ||
+ | Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci. | ||
+ | Downloading https://ftp.gnu.org/gnu/emacs/windows/emacs-28/emacs-28.2-installer.exe | ||
+ | ██████████████████████████████ 46.2 MB / 46.2 MB | ||
+ | Le code de hachage de l’installation a été vérifié avec succès | ||
+ | Démarrage du package d’installation... Merci de patienter. | ||
+ | Installé correctement | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget list --id GNU.Emacs | ||
+ | Aucun package installé ne correspond aux critères saisis. | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget list --id WinSCP.WinSCP | ||
+ | Nom ID Version Disponible Source | ||
+ | ----------------------------------------------------- | ||
+ | WinSCP 5.21.5 WinSCP.WinSCP 5.21.5 5.21.6 winget | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget show --id WinSCP.WinSCP | ||
+ | Trouvé WinSCP [WinSCP.WinSCP] | ||
+ | Version : 5.21.6 | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget upgrade | ||
+ | Nom ID Version Disponible Source | ||
+ | ------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | [...] | ||
+ | Zotero DigitalScholar.Zotero 6.0.15 6.0.18 winget | ||
+ | WinSCP 5.21.5 WinSCP.WinSCP 5.21.5 5.21.6 winget | ||
+ | Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501 Microsoft.VCRedist.2013.x64 12.0.30501.0 12.0.40664.0 winget | ||
+ | [...] | ||
+ | |||
+ | |||
+ | PS C:\Users\your_login> winget upgrade --id WinSCP.WinSCP | ||
+ | |||
+ | Trouvé WinSCP [WinSCP.WinSCP] Version 5.21.6 | ||
+ | La licence d’utilisation de cette application vous est octroyée par son propriétaire. | ||
+ | Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci. | ||
+ | Downloading https://sourceforge.net/projects/winscp/files/WinSCP/5.21.6/WinSCP-5.21.6-Setup.exe/download | ||
+ | ██████████████████████████████ 10.9 MB / 10.9 MB | ||
+ | Le code de hachage de l’installation a été vérifié avec succès | ||
+ | Démarrage du package d’installation... Merci de patienter. | ||
+ | Installé correctement | ||
+ | |||
+ | PS C:\Users\your_login> winget list --id WinSCP.WinSCP | ||
+ | Nom ID Version Source | ||
+ | ------------------------------------------- | ||
+ | WinSCP 5.21.6 WinSCP.WinSCP 5.21.6 winget | ||
+ | </code> | ||
+ | |||
+ | |||
+ |