How to install WinSCP on Wine in Linux, or other OS's that support Wine.
- winscp.sh
- WinSCP.desktop
- WinSCP-Logo.png
- Note: This folder will need to r
cdto this directory in a terminal window for the balance of steps
export WINEARCH=win64; export WINEPREFIX=$HOME/.wine_winscp
mkdir -p $WINEPREFIX/drive_c/apps/winscp
Ensure Windows version is set to windows 7 (thats all)
- Download
Portable executablesversion of WinSCP from https://winscp.net- CLI Trick to open in default file manager
% xdg-open $WINEPREFIX/drive_c/apps/winscp
- CLI Trick to open in default file manager
- Manually copy over files over to $WINEPREFIX/drive_c/apps/winscp
sudo cp ./winscp.sh /usr/local/bin/winscp
sudo chmod a+x /usr/local/bin/winscp
To verify, try running the following from commandline: winscp
- This should launch winscp GUI
mkdir -p ~/.local/share/icons && cp ./WinSCP-Logo.png ${HOME}/.local/share/icons/
desktop-file-install --dir=${HOME}/.local/share/applications ./WinSCP.desktop
That should be it, If you don't see the WinSCP key when you hit the Super key, toggle the Super key another time and that should do it