Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
88 views
The key combination Alt + 6 for copy in nano does not work in GNOME terminal emulator Tilix
The key combination `Alt + 6` for copy in `nano` does not work in `tilix` **Does anyone know how to fix this?** I had a look through all the key commands, but did not find any entry for `Alt + 6` being already in use.
The key combination Alt + 6 for copy in nano does not work in tilix **Does anyone know how to fix this?** I had a look through all the key commands, but did not find any entry for Alt + 6 being already in use.
nath (6094 rep)
Dec 17, 2023, 06:42 AM • Last activity: Mar 29, 2024, 08:53 AM
0 votes
1 answers
429 views
Tilix - open new tab in the same diretory as current tab
Does anyone know, how I can configure the gnome terminal emulator `tilix` to open a new tab automatically in a new window? [![enter image description here][1]][1] As you can see on the screenshot, I opened a new tab in a vertically tiled window from the path `dir1/dir2/dir3/`. Every new tab gets ope...
Does anyone know, how I can configure the gnome terminal emulator tilix to open a new tab automatically in a new window? enter image description here As you can see on the screenshot, I opened a new tab in a vertically tiled window from the path dir1/dir2/dir3/. Every new tab gets opened in the users working directory. How can I make tilix to open new-tabs in this same directory from witch I opened it?
nath (6094 rep)
Mar 5, 2024, 08:25 PM • Last activity: Mar 8, 2024, 10:36 PM
2 votes
2 answers
3887 views
Can I launch Tilix in dropdown mode under Wayland?
I launch Tilix in dropdown mode (aka Quake mode) via a keyboard shortcut mapped to: tilix --quake After upgrading to Tilix 1.7.7 I get a regular window and a notification "Quake mode is not supported under Wayland, running as normal window". Is there any way to still launch dropdown mode under Wayla...
I launch Tilix in dropdown mode (aka Quake mode) via a keyboard shortcut mapped to: tilix --quake After upgrading to Tilix 1.7.7 I get a regular window and a notification "Quake mode is not supported under Wayland, running as normal window". Is there any way to still launch dropdown mode under Wayland?
lofidevops (3349 rep)
May 3, 2018, 09:04 AM • Last activity: Dec 26, 2023, 09:42 AM
7 votes
4 answers
4525 views
bash: /usr/bin/sed: No such file or directory
On a test server I purposefully deleted `?????` in `/` - I was expecting the symlink `/lib64` and the `/media` directory to be deleted. All went well (everything broke), but then I was curious about the output below: [root@testserver /]# ls bin boot dev etc home lib lib64 media mnt opt proc rh_share...
On a test server I purposefully deleted ????? in / - I was expecting the symlink /lib64 and the /media directory to be deleted. All went well (everything broke), but then I was curious about the output below: [root@testserver /]# ls bin boot dev etc home lib lib64 media mnt opt proc rh_share3 root run sbin srv sys tmp usr var [root@testserver /]# rm -rf ????? bash: /usr/bin/sed: No such file or directory [root@testserver /]# ls bash: /usr/bin/ls: No such file or directory bash: /usr/bin/sed: No such file or directory I see that some packages have sed as a dependency, but I'm not understanding why it's calling sed for something as simple as pressing Enter [root@testserver bin]# rpm -q --whatrequires sed krb5-libs-1.17-18.el8.x86_64 ca-certificates-2019.2.32-80.0.el8_1.noarch dracut-049-70.git20200228.el8.x86_64 crypto-policies-20191128-2.git23e1bf1.el8.noarch policycoreutils-2.9-9.el8.x86_64 authselect-libs-1.1-2.el8.x86_64 cups-filters-1.20.0-19.el8.x86_64 open-vm-tools-11.0.0-4.el8.x86_64 authselect-compat-1.1-2.el8.x86_64 dhcp-client-4.3.6-40.el8.x86_64 nfs-utils-2.3.3-31.el8.x86_64 autofs-5.1.4-40.el8.x86_64 Why does the line bash: /usr/bin/sed: No such file or directory show up? Obviously sed is considered missing, but why is it being called at all? It is also not mentioned if I just run a strace -o bash bash. I know sed stands for stream editor - is every bash command run through sed, or what else could be going on? The OS is an OOTB RHEL 8.2 (Oopta) with a GUI. **EDIT** Below is the output of set | grep sed: [user1@testserver ~]$ set | grep sed local command=$(HISTTIMEFORMAT= history 1 | sed 's/^ *[0-9]\+ *//'); COMPREPLY=($( compgen -W "$( bpftool help 2>&1 | command sed -e '/OBJECT := /!d' -e 's/.*{//' -e 's/}.*//' -e 's/|//g' )" -- "$cur" )); COMPREPLY+=($( compgen -W "$( bpftool -jp btf 2>&1 | command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" )) COMPREPLY+=($( compgen -W "$( bpftool -jp map 2>&1 | command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" )) COMPREPLY+=($( compgen -W "$( bpftool -jp map 2>&1 | command grep -C2 "$type" | command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" )) COMPREPLY+=($( compgen -W "$( bpftool -jp prog 2>&1 | command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" )) COMPREPLY+=($( compgen -W "$( bpftool -jp prog 2>&1 | command sed -n 's/.*"tag": "\(.*\)",$/\1/p' )" -- "$cur" )) type=$(bpftool -jp map show $keyword $ref | command sed -n 's/.*"type": "\(.*\)",$/\1/p'); COMPREPLY=($( compgen -W "$( command sed -ne 's|^iface \([^ ]\{1,\}\).*$|\1|p' /etc/network/interfaces /etc/network/interfaces.d/* 2>/dev/null )" -- "$cur" )); COMPREPLY=($( compgen -W "$( printf '%s\n' /etc/sysconfig/network/ifcfg-* | command sed -ne 's|.*ifcfg-\([^*].*\)$|\1|p' )" -- "$cur" )); COMPREPLY=($( compgen -W "$( command ls -B /etc/sysconfig/interfaces | command sed -ne 's|.*ifcfg-\([^*].*\)$|\1|p' )" -- "$cur" )); COMPREPLY=($( compgen -W "$( printf '%s\n' /etc/sysconfig/network-scripts/ifcfg-* | command sed -ne 's|.*ifcfg-\([^*].*\)$|\1|p' )" -- "$cur" )); local included=$( command sed -ne 's/^[[:blank:]]*[Ii][Nn][Cc][Ll][Uu][Dd][Ee][[:blank:]]\{1,\}\([^#%]*\)\(#.*\)\{0,1\}$/\1/p' "${configfile}" ); COMPREPLY+=($( compgen -W "$( { LC_ALL=C ifconfig -a || ip addr show; } 2>/dev/null | command sed -ne 's/.*addr:\([^[:space:]]*\).*/\1/p' -ne 's|.*inet[[:space:]]\{1,\}\([^[:space:]/]*\).*|\1|p' )" -- "$cur" )) [[ $# -ge $OPTIND ]] && echo "error: $FUNCNAME("$@"): unprocessed arguments:" $(while [[ $# -ge $OPTIND ]]; do printf '%s\n' ${!OPTIND}; shift; done); local hosts=$( command sed -ne 's/^[[:blank:]]*[Hh][Oo][Ss][Tt][[:blank:]]\{1,\}\([^#*?%]*\)\(#.*\)\{0,1\}$/\1/p' "${config[@]}" ); local argtype=$( LC_ALL=C $1 --help 2>&1 | command sed -ne "s|.*$prev\[\{0,1\}=[&1 | command sed -ne 's/.*\(--[-A-Za-z0-9]\{1,\}=\{0,1\}\).*/\1/p' | sort -u )" -- "$cur" )); COMPREPLY+=($( { LC_ALL=C ifconfig -a || ip link show; } 2>/dev/null | command sed -ne "s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]].*/\1/p" -ne "s/.*[[:space:]]HWaddr[[:space:]]\{1,\}\($re\)[[:space:]]*$/\1/p" -ne "s|.*[[:space:]]\(link/\)\{0,1\}ether[[:space:]]\{1,\}\($re\)[[:space:]].*|\2|p" -ne "s|.*[[:space:]]\(link/\)\{0,1\}ether[[:space:]]\{1,\}\($re\)[[:space:]]*$|\2|p" COMPREPLY+=($( { arp -an || ip neigh show; } 2>/dev/null | command sed -ne "s/.*[[:space:]]\($re\)[[:space:]].*/\1/p" -ne "s/.*[[:space:]]\($re\)[[:space:]]*$/\1/p" )); COMPREPLY+=($( command sed -ne "s/^[[:space:]]*\($re\)[[:space:]].*/\1/p" /etc/ethers 2>/dev/null )); COMPREPLY=($( compgen -W "$( command ls -RL $modpath 2>/dev/null | command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p' )" -- "$cur" )) COMPREPLY=($( compgen -X '' -W '$( command ps axo comm | command sed -e 1d )' -- "$cur" )); COMPREPLY=($( compgen -X '' -W '$( command ps axo command= | command sed -e \ COMPREPLY=($( compgen -W '`command sed -e "y/|/ /" \ COMPREPLY+=($( compgen -W "$( command sed -ne 's/^\([^[:space:]#|]\{2,\}\)|.*/\1/p' /etc/termcap 2>/dev/null )" -- "$cur" ));
cutrightjm (5555 rep)
Sep 19, 2020, 06:36 AM • Last activity: Mar 10, 2021, 05:44 AM
1 votes
0 answers
395 views
How can I install Tilix on Deepin 15.11 properly?
I installed Tilix by using: wget https://github.com/gnunn1/tilix/releases/download/1.9.3/tilix.zip -P $HOME/Downloads sudo unzip $HOME/Downloads/tilix.zip -d / sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ After running tilix in Terminal I get: object.Exception@../../../.dub/packages/gtk-d-...
I installed Tilix by using: wget https://github.com/gnunn1/tilix/releases/download/1.9.3/tilix.zip -P $HOME/Downloads sudo unzip $HOME/Downloads/tilix.zip -d / sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ After running tilix in Terminal I get: object.Exception@../../../.dub/packages/gtk-d-3.8.5/gtk-d/generated/gtkd/gtkd/Loader.d(125): Library load failed (libvte-2.91.so.0): libvte-2.91.so.0: cannot open shared object file: No such file or directory I went for the manual installation because sudo apt install tilix leads to E: Unable to locate package tilix How can I solve this problem? _Edit: Other approaches._ Doing sudo apt update && sudo apt install tilix returns the same error, and apt-cache search tilix returns nothing. Content of _/etc/apt/sources.list_: ## Generated by deepin-installer deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free # deb-src http://packages.deepin.com/deepin lion main contrib non-free Files in _/etc/apt/sources.list.d_: brave-browser-release.list sublime-text.list transmissionbt-ubuntu-ppa-groovy.list brave-browser-release.list.save sublime-text.list.save transmissionbt-ubuntu-ppa-groovy.list.save Doing wget http://packages.deepin.com/deepin/pool/main/t/tilix/tilix-common_1.7.9-2_all.deb wget http://packages.deepin.com/deepin/pool/main/t/tilix/tilix_1.7.9-2_amd64.deb sudo dpkg -i tilix-common_1.7.9-2_all.deb sudo dpkg -i tilix_1.7.9-2_amd64.deb sudo apt install -f leads to: dpkg: dependency problems prevent configuration of tilix: tilix depends on libgtkd-3-0 (>= 3.8.2); however: Package libgtkd-3-0 is not installed. tilix depends on libphobos2-ldc-shared78 (>= 1:1.8.0); however: Package libphobos2-ldc-shared78 is not installed. tilix depends on libvted-3-0 (>= 3.8.2); however: Package libvted-3-0 is not installed. ---------- **Solution** I did sudo apt install apt-file sudo apt-file update And `apt-file search libvte-2.91.so.0` shows libvte-2.91-0: /usr/lib/x86_64-linux-gnu/libvte-2.91.so.0 libvte-2.91-0: /usr/lib/x86_64-linux-gnu/libvte-2.91.so.0.4600.1 After this, the following worked: wget https://github.com/gnunn1/tilix/releases/download/1.9.3/tilix.zip -P $HOME/Downloads sudo unzip $HOME/Downloads/tilix.zip -d / sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
mykahveli (225 rep)
Jun 7, 2020, 02:07 PM • Last activity: Jun 11, 2020, 04:17 PM
1 votes
2 answers
1181 views
Running tmux sessions inside tilix terminal emulator
**Background**: I use Tilix as my main terminal emulator. In the Tilix preferences (attached screenshot), I have set it up so that when Tilix is launched, it will run this command: ``` /usr/bin/zsh -c "if [[ $(tmux ls 2>/dev/null | grep -q -E '^main.*attached.*'; echo $?) -ne 0 ]]; then tmux attach...
**Background**: I use Tilix as my main terminal emulator. In the Tilix preferences (attached screenshot), I have set it up so that when Tilix is launched, it will run this command:
/usr/bin/zsh -c "if [[ $(tmux ls 2>/dev/null | grep -q -E '^main.*attached.*'; echo $?) -ne 0 ]]; then tmux attach -t main || tmux new -s main; else /usr/bin/zsh; fi"
Tilix Preferences This checks: - if a tmux session named main is running and a window is attached to it - If it fails, it will then try to attach to the tmux session named main - If that fails, then it will go ahead and create a new tmux session named main and attach to it - Else (If successful), just launch plain zsh The reason for all this complexity so that when I launch tilix for the first time, it will launch it with tmux running and connected to it. Any **new tilix session** or **new tilix window** lauched will not create or try to connect to the existing tmux session named main. (Tilix has its own multi window and pane which is not to be confused with tmux sessions) What I would like to know if it is possible to condense the codeblock above, or if it is possible to come up with a better version of the codeblock above.
GMaster (6837 rep)
May 8, 2020, 03:10 AM • Last activity: May 8, 2020, 08:11 AM
1 votes
1 answers
431 views
Tilix -e nvim doesn't load my bash/zsh environment / profile
I put `tilix -e nvim` command for shortcut in my xfce. Then I do `:!echo $PATH` and doesn't get my regular `$PATH` value. The same for `:echo $PATH`. If I put command in whisker menu, I got the same. But when I run it from my shell `$PATH` is loaded as expected. How can I pass my `.profile` or `.zsh...
I put tilix -e nvim command for shortcut in my xfce. Then I do :!echo $PATH and doesn't get my regular $PATH value. The same for :echo $PATH. If I put command in whisker menu, I got the same. But when I run it from my shell $PATH is loaded as expected. How can I pass my .profile or .zshrc to tilix when run it through xfce shortcut or whisker menu?
neochar (11 rep)
Jun 26, 2018, 12:21 PM • Last activity: Jul 14, 2018, 11:16 PM
1 votes
0 answers
998 views
Tilix - read out list of set key-commands used by tiling terminal emulator for GNOME
Is there a way to read out the key-commands used by the tiling terminal emulator [Tilix](https://gnunn1.github.io/tilix-web/) from the command line as a list to stdout? [![enter image description here][1]][1] [1]: https://i.sstatic.net/p92sl.png
Is there a way to read out the key-commands used by the tiling terminal emulator [Tilix](https://gnunn1.github.io/tilix-web/) from the command line as a list to stdout? enter image description here
nath (6094 rep)
Jan 29, 2018, 05:53 PM • Last activity: Jun 13, 2018, 01:37 PM
0 votes
0 answers
125 views
No titlebar and no scrollbars in a gtk3 app in Plasma desktop
I'm using a GTK3 app called _Tilix_. It's a terminal app. I have 2 computers with KDE Neon based on __Ubuntu 16.04 LTS__. In one of them, _Tilix_ works ok. In the other one, no title bars and no scrollbars are painted. It is like they were transparent. Investigating a little, I've seen it uses the g...
I'm using a GTK3 app called _Tilix_. It's a terminal app. I have 2 computers with KDE Neon based on __Ubuntu 16.04 LTS__. In one of them, _Tilix_ works ok. In the other one, no title bars and no scrollbars are painted. It is like they were transparent. Investigating a little, I've seen it uses the gtk3 theme called _Breeze_. No theme customization. I've tried to compare both computers, and to reinstall _Tilix_. How can I solve this? I think there must be some theme misconfiguration.
david.perez (131 rep)
Apr 18, 2018, 02:23 PM • Last activity: Apr 18, 2018, 03:26 PM
Showing page 1 of 9 total questions