All Projects → dabisu → sakura

dabisu / sakura

Licence: GPL-2.0 license
GTK/VTE based terminal emulator

Programming Languages

c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to sakura

liblarch
A Python library to easily handle complex data structures, with a GTK binding
Stars: ✭ 28 (-65.43%)
Mutual labels:  gtk
calculator
Calculator app designed for elementary OS
Stars: ✭ 73 (-9.88%)
Mutual labels:  gtk
switchboard-plug-wacom
Manage drawing tablets and Wacom devices
Stars: ✭ 17 (-79.01%)
Mutual labels:  gtk
flate
🌈 Colorful dark themes
Stars: ✭ 35 (-56.79%)
Mutual labels:  gtk
Myxer
A modern Volume Mixer for PulseAudio.
Stars: ✭ 190 (+134.57%)
Mutual labels:  gtk
pw3270
3270 Emulator for gtk
Stars: ✭ 38 (-53.09%)
Mutual labels:  gtk
gtk-sni-tray
A StatusNotifierHost widget written using the gtk+3 bindings for haskell provided by gi-gtk.
Stars: ✭ 24 (-70.37%)
Mutual labels:  gtk
switchboard-plug-useraccounts
Switchboard User Accounts Plug
Stars: ✭ 13 (-83.95%)
Mutual labels:  gtk
dragit
Application for intuitive file sharing between devices.
Stars: ✭ 121 (+49.38%)
Mutual labels:  gtk
colorgrab
A cross-platform color picker
Stars: ✭ 80 (-1.23%)
Mutual labels:  gtk
devdocs-desktop
GTK3 application for DevDocs API documentation browser.
Stars: ✭ 102 (+25.93%)
Mutual labels:  gtk
ElementaryLua
Lua + GTK + Granite + Flatpak
Stars: ✭ 19 (-76.54%)
Mutual labels:  gtk
Commit
Commit message editor
Stars: ✭ 102 (+25.93%)
Mutual labels:  gtk
ThemeChanger
Theme changing utility for Linux, etc.
Stars: ✭ 14 (-82.72%)
Mutual labels:  gtk
gnome-shell-notifications-alert
Whenever there is an unread notification (e.g. chat messages), blinks the message in the user's menu with a color chosen by the user.
Stars: ✭ 43 (-46.91%)
Mutual labels:  gtk
gladis
[Deprecated] Easily import Glade-generated UI files into Rust code.
Stars: ✭ 27 (-66.67%)
Mutual labels:  gtk
warble
Native Linux word-guessing game built in Vala and Gtk for elementary OS
Stars: ✭ 82 (+1.23%)
Mutual labels:  gtk
amber-theme
A theme for GNOME and Xfce4.
Stars: ✭ 23 (-71.6%)
Mutual labels:  gtk
TapeDeck
[WIP] Modern and cross-platform music player with MPD support
Stars: ✭ 22 (-72.84%)
Mutual labels:  gtk
gtk
🎨 Omni for GTK and Gnome Shell
Stars: ✭ 35 (-56.79%)
Mutual labels:  gtk

sakura

sakura is a simple gtk and vte based terminal emulator. It uses tabs to provide several terminals in one window and allows to change configuration options via a contextual menu. No more no less.

Installation

How to compile and install this beast ?

$ cmake .
$ make
$ sudo 'make install'

sakura now uses the CMake building system (RIP our old system MOBS, we'll remember you ;)).

To install sakura with a different prefix, cmake needs to be invoked with the proper environment variables, so for example, to install sakura in /usr, you must type:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr .

Use CMAKE_BUILD_TYPE=Debug if you need debug symbols. Default type is "Release".

Usage

sakura has several command line options. Run sakura --help for a full list.

Keybindings

sakura supports keyboard bindings in its config file (~/.config/sakura/sakura.conf), but there's no GUI to edit them, so please use your favourite editor to change the following values. Keybindings are a combination of an accelerator+key.

Accelerators

Accelerators can be set to any GdkModifierType mask value. The full list of GdkModifierType values is available here

Mask values can be combined by ORing them. For example, to set the delete tab accelerator to Ctrl+Shift, change the option "del_tab_accelerator" value to "5". This number comes from ORing GDK_SHIFT_MASK and GDK_CONTROL_MASK.

I realise that this configuration is not user-friendly, but... :-P

Quick reference: Shift(1), Cps-Lock(2), Ctrl(4), Alt(8), Ctrl-S(5), Ctrl-A(12), Ctrl-A-S(13)

Keys

To change default keys, set the key value you want to modify to your desired key. For example, if you want to use the "D" key instead of the "W" key to delete a tab, set "del_tab_key" to "D" in the config file.

Default keybindings

Ctrl + Shift + T                 -> New tab
Ctrl + Shift + W                 -> Close current tab
Ctrl + Shift + C                 -> Copy selected text
Ctrl + Shift + V                 -> Paste selected text
Ctrl + Shift + N                 -> Set tab name

Alt  + Left cursor               -> Previous tab
Alt  + Right cursor              -> Next tab
Alt  + Shift + Left cursor       -> Move tab to the left
Alt  + Shift + Right cursor      -> Move tab to the right
Ctrl + [1-9]                     -> Switch to tab N (1-9)

Ctrl + Shift + S                 -> Toggle/Untoggle scrollbar
Ctrl + Shift + Mouse left button -> Open link
F11                              -> Fullscreen
Shift + PageUp                   -> Move up through scrollback by page
Shift + PageDown                 -> Move down through scrollback by page
Ctrl + Shift + Up                -> Move up through scrollback by line
Ctrl + Shift + Down              -> Move down through scrollback by line
Ctrl + Shift + [F1-F6]           -> Select the colorset for the current tab

You can also increase and decrease the font size in the GTK standard way:

Ctrl + '+'                                -> Increase font size
Ctrl + '-'                                -> Decrease font size

By default, mouse buttons are bound to the following:

Button1                          -> No action
Button2                          -> Paste
Button3                          -> Context menu

Behavior can be changed with the following config settings:

copy_on_select                   -> set to true to automatically copy selected text
paste_button                     -> set to desired mouse button (default: 2)
menu_button                      -> set to desired mouse button (default: 3)

Contributing

Pull requests are welcome. But please, create first a bug report in Launchpad, particularly if you plan to make major changes, to make sure your patch will be merged into sakura. If you'd like to contribute with translations, use the translations framework in Launchpad or send me directly the translated po file.

License

GPL 2.0


Enjoy sakura!

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].