All Projects → MachinaCore → Cygwinportable

MachinaCore / Cygwinportable

Portable Cygwin

Labels

Projects that are alternatives of or similar to Cygwinportable

lastfm
Portable .Net library for Last.fm
Stars: ✭ 87 (-68.93%)
Mutual labels:  portable
hello-libui
Hello World application using libui from maven repository
Stars: ✭ 17 (-93.93%)
Mutual labels:  portable
Portable VSC PlatformIO
Portable Version of VSC with PlatformIO for Windows
Stars: ✭ 15 (-94.64%)
Mutual labels:  portable
wymlp
tiny fast portable real-time deep neural network for regression and classification within 50 LOC.
Stars: ✭ 36 (-87.14%)
Mutual labels:  portable
dbeaver-portable
🚀 DBeaver portable for Windows
Stars: ✭ 23 (-91.79%)
Mutual labels:  portable
asap
A cmake starter project for C++ with basic infrastructure including platform detection, compiler detection, assertions..., and a complete build lifecycle. Portable across Linux, OS X and Windows.
Stars: ✭ 39 (-86.07%)
Mutual labels:  portable
teamspeak-client-portable
🚀 TeamSpeak Client portable for Windows
Stars: ✭ 21 (-92.5%)
Mutual labels:  portable
kolibrios-llvm
KolibriOS ported to LLVM
Stars: ✭ 31 (-88.93%)
Mutual labels:  portable
dnn
A light-weight deep learning framework implemented in C++.
Stars: ✭ 12 (-95.71%)
Mutual labels:  portable
insight
A Tcl/Tk Frontend for GDB. This is an AppImage(Portable Package) of insight for the sake of Jeff Duntemann's amazing book.
Stars: ✭ 31 (-88.93%)
Mutual labels:  portable
java-portable
Install a portable version of the JDK (and bundled JRE) and run it everywhere without admin rights on Windows.
Stars: ✭ 22 (-92.14%)
Mutual labels:  portable
cosmonim
A simple example to show how cosmopolitan libc can be used with Nim
Stars: ✭ 90 (-67.86%)
Mutual labels:  portable
DiscordPortable
The popular Discord App packaged as a portable application (PAF).
Stars: ✭ 29 (-89.64%)
Mutual labels:  portable
nextcloud-portable
🚀 Nextcloud portable for Windows
Stars: ✭ 21 (-92.5%)
Mutual labels:  portable
bucket
Baulk default bucket
Stars: ✭ 12 (-95.71%)
Mutual labels:  portable
dot-templater
A small, portable Rust program intended for templating dotfiles across multiple systems.
Stars: ✭ 41 (-85.36%)
Mutual labels:  portable
json
a portable, powerful and pure functional JSON library for Scheme
Stars: ✭ 40 (-85.71%)
Mutual labels:  portable
Gitportable
Portable version of Git for Windows
Stars: ✭ 278 (-0.71%)
Mutual labels:  portable
sha-2
SHA-2 algorithm implementations
Stars: ✭ 122 (-56.43%)
Mutual labels:  portable
ministaller
Lightweight installer/updater for portable desktop applications
Stars: ✭ 15 (-94.64%)
Mutual labels:  portable

CygwinPortable

Build status

Download current released branches as .paf.exe and .7z from github

Download current working branches as .paf.exe and .7z from appveyor

A portable Cygwin environment with many options. It's very useful for "static" installations too. It can create ShellExtensions in Windows Explorer ("Open Folder in Cygwin", "Open Drive in Cygwin", "Run in Cygwin"). "Open with -> CygwinPortable.exe" is also supported (you can register e.g. .sh extensions with CygwinPortable.exe). XServer is supported.

ShellExtensions needs admin rights (Only one time to register the ShellExtension - After successful registration you can run CygwinPortable with UAC enabled). CygwinPortable will run without ShellExtensions, but they are pretty comfortable :-)

Download ready to use files

You can download prebuild (Cygwin x64) version on from GitHub. I've compiled a PAF (PortableApps) and a 7z compressed version. Cygwin defaults are already installed.

First Start

  • Start CygwinPortable.exe - The setup.exe is download automatically
  • Choose x86/x64 Version
  • Let the cygwin install (defaults are cygwin defaults + vim,wget,tar,gawk,bzip2 packages)
  • Enjoy Cygwin :-)

Commandline Parameters:

These options overrides the options from Data/config.ini

  • CygwinPortable.exe -path [PATH] -> Open the folder in path or execute the file (if the file is executable)
  • CygwinPortable.exe -exit [0/1] -> Exit the cygwin window after execution
  • CygwinPortable.exe -cygwin -> Optional: Force run command or open folder in Cygwin
  • CygwinPortable.exe -wsl -> Optional: Force run command or open folder on Windows Subsystem for Linux from Microsoft
  • CygwinPortable.exe [PATH] -> Open the folder in path or execute the file (if the file is executable) All other parameters are ignored (needed for "open with" in Windows)

Recommend /etc/fstab

You should change /etc/fstab from

none /cygdrive cygdrive binary,posix=0,user 0 0

to:

none /cygdrive cygdrive binary,noacl,posix=0,user 0 0

The noacl flag ignores filesystem ACLs permissions - For portable (in most cases for static installations too) this is the best setting - With this option you dont write "garbage" permissions to e.g. local rsync backups.

PortableApps

PortableApps (http://portableapps.com/) Tool is supported. Copy the Cygwin Portable folder to USBSTICK:\PortableApps

Special Folders

There are 2 special Folders - Samples are included:

  • Data/ShellScript: Quick access to ShellScripts (rightclick Trayicon -> ShellScripts)
  • Data/Shortcuts: Quick access to Windows Shortcuts (rightclick Trayicon -> Shortcuts)

Settings

There are some interesting options - Rightclick on the CygwinPortable Trayicon -> "Cygwin Portable Settings"

Settings:

  • Shell: You can choose between mintty (default) and ConEmu. I've already included the last stable version of ConEmu (you can replace it with beta if you want - You should only preserve my ConEmu.xml file).
  • Default Environment: Choose between Cygwin and Windows Subsystem for Linux as default handler for running commands and open folders (you can still override this with "-cygwin" for cygwin and "-wsl" for Windows Subsystem for Linux. Useful if you associate e.g. .sh files with CygwinPortable.exe.
  • Executable File Extensions: Define what extensions are should by executed with Cygwin. This will NOT register the files directly ! This option will tell Cygwin Portable if a "open with" under windows is a extension that can be used from bash. If you open a file with a unknown extesion CygwinPortable will open the folder and not run the file.
  • Support WSL: Enable Windows Subsystem for Linux for running commands, open folders and Context Manu
  • Use TrayMenu: Enable/Disable the Traymenu (NOT RECOMMEND !) - if the Traymenu is disabled you can reactivate this option in Data/config.ini -> TrayMenu=True
  • Exit after execution: If you open a file in Cygwin (e.g. a Shellscript) the window is closed after successfully execution. If you want see the output leave it disabled.
  • Disable Message Boxes: If CygwinPortable failed it will show the error in a Message Box. Disable it if you are working in a non GUI environment.
  • Add Windows PATH variables to Cygwin: Disable if cygwin should not be able to access Windows programs from path (useful if you have e.g. Git installed but you want to use cygwin git)

Installer:

  • Cygwin Mirror: The Cygwin mirror where the packages will be downloaded.
  • Cygwin Ports Mirror: Cygwin Ports have much more packages than the official Cygwin mirrors. Use it if needed
  • First install additions: The packages that are additional installed to the default Cygwin packages
  • Delete unneeded files: Drop unneeded files or files that are not working in portable mode (e.g. cygwin.bat)
  • Install unofficial Tools: Install files from other/unofficial folder. Default package is only apt-cyg (a tool that works like apt-get from debian based distros)

Expert:

  • Delete conmplete installation: Drop all folders from ("Drop these folders on Reinstall"). Use it if you want to complete reinstall cygwin
  • Drop these folders on Reinstall: See info above
  • Username: Change the username and home directory

Compile

You can compile CygwinPortable with dotnet -> Use:

cd Other/Source dotnet publish -r win10-x64 -c Release -p:PublishSingleFile=true

to create a new Build - please notice: If you build from Visual Studio it will return in a wrong folder structure

Feedback

Let me know if you have any problems or suggestions

Thanks for reading

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].