Git Product home page Git Product logo

terminal's Introduction

Terminal

License GitHub release GitHub issues CI

A Material Design terminal.

Dependencies

Qt >= 5.10.0 with at least the following modules is required:

The following modules and their dependencies are required:

Installation

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
make
make install # use sudo if necessary

Replace /path/to/prefix to your installation prefix. Default is /usr/local.

Licensing

Licensed under the terms of the GNU General Public License version 3 or, at your option, any later version.

terminal's People

Contributors

gitter-badger avatar ibelieve avatar liri-ci avatar plfiorini avatar rafaelsamenezes avatar ricardomv avatar severen avatar timsueberkrueb avatar zigapk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

terminal's Issues

Flatpak support

A terminal that runs /bin/sh inside the Flatpak container is not much useful because it cannot access programs from the host system.

Run the shell with flatpak-spawn or the equivalent D-Bus service org.freedesktop.Flatpak.Development.

error: ignoring return value of function declared with

[ 29%] Building CXX object lib/CMakeFiles/qmltermwidget.dir/BlockArray.cpp.o
/home/omv/liri-terminal/BUILD/liri-terminal-0.1-20170221/lib/BlockArray.cpp:234:9: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result]
ftruncate(ion, length*blocksize);
^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
1 error generated.

patch

diff --git a/lib/BlockArray.cpp b/lib/BlockArray.cpp
index 3f36390..240852f 100644
--- a/lib/BlockArray.cpp
+++ b/lib/BlockArray.cpp
@@ -231,7 +231,8 @@ bool BlockArray::setHistorySize(size_t newsize)
         return false;
     } else {
         decreaseBuffer(newsize);
-        ftruncate(ion, length*blocksize);
+        if (ftruncate(ion, length*blocksize) == -1)
+                 perror("ftruncate");
         size = newsize;
 
         return true;

"Papyros.Core" is not installed

After compile, when you try to run:

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:25 module "Material.Extras" is not installed
qrc:/qml/main.qml:24 module "Material" is not installed
qrc:/qml/main.qml:26 module "Material.ListItems" is not installed
qrc:/qml/main.qml:28 module "Papyros.Core" is not installed
qrc:/qml/main.qml:25 module "Material.Extras" is not installed
qrc:/qml/main.qml:24 module "Material" is not installed
qrc:/qml/main.qml:26 module "Material.ListItems" is not installed
qrc:/qml/main.qml:28 module "Papyros.Core" is not installed
qrc:/qml/main.qml:25 module "Material.Extras" is not installed
qrc:/qml/main.qml:24 module "Material" is not installed
qrc:/qml/main.qml:26 module "Material.ListItems" is not installed
qrc:/qml/main.qml:28 module "Papyros.Core" is not installed
qrc:/qml/main.qml:25 module "Material.Extras" is not installed
qrc:/qml/main.qml:24 module "Material" is not installed
qrc:/qml/main.qml:26 module "Material.ListItems" is not installed
qrc:/qml/main.qml:28 module "Papyros.Core" is not installed

Settings don't take effect or persist.

When I try to choose the font of the terminal it has no effect on the font shown, upon closing and reopening terminal the settings change has reverted to blank. Similarly if I choose a specific shell e.g. bash, closing and reopening the terminal reverts the settings change.

Doesn't launch in liri-shell

I can start the app when in gnome on my arch installation,
not when in a liri-session though. It's pinned on the launcher
so it bounces a few, but nothing happens.
Why can this be? Only thing separating
me from sticking to a nice looking DE at last...

liri-terminal window is transparent

Cannot run, no windows to show.
and error log is here:

vanilla@vanilla-NBxxTA:~$ liri-terminal 
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed

Environment

vanilla@vanilla-NBxxTA:~/repos/packages/fluid/build$ screenfetch 
                          ./+o+-       vanilla@vanilla-NBxxTA
                  yyyyy- -yyyyyy+      OS: Ubuntu 20.04 focal
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.4.0-37-generic
           .++ .:/++++++/-.+sss/`      Uptime: 13m
         .:++o:  /++++++++/:--:/-      Packages: 2373
        o:+o+:++.`..```.-/oo+++++/     Shell: bash
       .:+o:+o/.          `+sssoo+/    Resolution: 2560x1440
  .++/+:+oo+o:`             /sssooo.   DE: GNOME 3.36.2
 /+++//+:`oo+o               /::--:.   WM: Mutter
 \+/+o+++`o++o               ++////.   WM Theme: Yaru-blue-light
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Orchis-light [GTK2/3]
       .+.o+oo:.          `oddhhhh+    Icon Theme: McMojave-circle-blue
        \+.++o+o``-````.:ohdhhhhh+     Font: SF Compact Display 11
         `:o+++ `ohhhhhhhhyo++os:      Disk: 46G / 477G (11%)
           .o:`.syhhhhhhh/.oo++o`      CPU: Intel Core i5-9400 @ 6x 4.1GHz [50.0°C]
               /osyyyyyyo++ooo+++/     GPU: GeForce GTX 1650
                   ````` +oo+++o\:     RAM: 2961MiB / 15850MiB
                          `oo++.      

Drop down tab selector

Traditional tabs take too much space, a drop down works best mobile
and looks good on desktop too.

Always use Material style

Currently we set Material only if the style is not already set, but in doing so we take whatever style the desktop environment has chosen for us.

This means Terminal will be ugly under KDE Plasma.

Overlay menu steals terminal focus

On Liri OS, when another terminal window is opened using the Open new window icon button, the terminal item of the original window doesn't respond to user keyboard input anymore.

Neovim breaks terminal output

Other console editors like vi/vim/nano work fine, but using neovim causes glitches on liri terminal, and no characters display until a new tab is created. On exiting the liri shell, parts of the NVim output are on the TTY as of 18d121a.

Versions:

neovim 0.2.2-5
liri-terminal-git 20180412.156.18d121a-1

on Arch Linux.

Improve Settings dialog look and feel

  • List item left and right margins should take padding into account to appear attached to the border
  • Vertical spacer to make the list compact
  • No hover effect on list items
  • Fixed settings dialog size

Liri-Terminal Doesn't Save Settings

Settings for Opacity and Font size are saved. Settings for Font Family and Color Scheme are not - i.e. after exiting and then re-opening Terminal, the Settings for Font Family and Color Scheme have reverted to some unintelligible default setting.

Manjaro Linux with Budgie DE, both completely up to date.

Liri-Terminal was installed using makepkg and this PKGBUILD:

``pkgname=liri-terminal
pkgver=0.2.0.r96.g4488847
pkgrel=1
pkgdesc="Terminal for Liri"
arch=("x86_64")
url="https://github.com/lirios/terminal"
license=("GPL")
depends=('fluid' 'qt5-gsettings')
makedepends=(git liri-cmake-shared)
replaces=('papyros-terminal')
_commit=4488847e19345f220992cd6752934cb22e2c43e6
source=("git+https://github.com/lirios/terminal.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
cd "${srcdir}/terminal"
git describe --long --tags | sed 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

prepare() {
cd "terminal"
mkdir -p build
}

build() {
cd "terminal/build"
cmake ..
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DBUILD_TESTING:BOOL=OFF
-DINSTALL_SYSCONFDIR=/etc
-DINSTALL_LIBDIR=/usr/lib
-DINSTALL_LIBEXECDIR=/usr/lib
-DINSTALL_QMLDIR=/usr/lib/qt/qml
-DINSTALL_PLUGINSDIR=/usr/lib/qt/plugins
make
}

package() {
cd "terminal/build"
make DESTDIR="$pkgdir" install
}

Screenshots available if needed.

Escape key not sent to interactive apps

On vim, while editing a file, I usually use the escape key to exit insert mode. However, Terminal does not pass the escape key to vim, and I have to use Ctrl+C to exit insert mode instead.

Versions:

vim 8.0.1542-2
liri-shell-git 20180412.1834.cc4e7cd5-1
liri-terminal-git 20180414.156.18d121a-1

allow pasting with context menu

Your issue may already be reported!
Please search on the issue track before creating one.

Expected Behavior

right klick should (when option is enabled) show a context menu with options for cut copy past/etc

Current Behavior

nothing

Possible Solution

settings item (also for some reason liri does not paste sudo commands even if i say paste anyways)

Steps to Reproduce (for bugs only)

Provide a link to a live example, or an unambiguous set of steps to
reproduce this bug. Include code to reproduce, if relevant.

Context

pasting commands from archwiki

Environment

Include as many relevant details about the environment you experienced the bug in.
endeavorOS
kde

it wont launch!!

soooo... i didnt actually download it from here... i downloaded it from my software manager (on linux mint), but still, it wont launch and i need that beutiful material design!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.