New answers tagged

0 votes
Accepted

Change terminal color theme to black ink on white paper in Q4OS

I have solved the problem by installing a newer version of Q4OS. Now the terminal window has a Settings tab which allows me to choose the theme I want.
user avatar
0 votes

Change color of title bar in Konsole terminal emulator

I've got some clues it might not be 100% answer for my original. When I added below code at the front of the css file, konsole finally started to response. QWidget, QTabWidget::pane, QTabWidget::tab-...
user avatar
  • 13
0 votes

redirect TTY input to output without serial cable

Would socat be helpful? description: socat is a relay for bidirectional data transfer between two independent data channels. Each channel may be a file, pipe, device (serial line etc. or a pseudo ...
user avatar
0 votes

Arch, Gnome - how to change the default terminal?

Try this command: gsettings set org.gnome.desktop.default-applications.terminal exec <your-terminal-here>
user avatar
1 vote

Using chown $USER:$USER inside bash script

The accepted answer by @tim-cutts would not work if you call the script itself with sudo: sudo ./myscript.sh A more simple version of this answer would be to use logname: curuser=$(logname) chown $...
user avatar
0 votes
Accepted

problem with DNS resolution in CLI

Modern web browsers may use DNS-over-SSL or DNS-over-HTTPS services and bypass the regular DNS services configured in the operating system, as those are claimed to be more secure than regular DNS. In ...
user avatar
  • 68.5k
1 vote
Accepted

Adding/permitting "staff" to read/write in folder

You want to change the group of a single directory: chgrp staff ./directoryName Remember that all commands come with documentation, so man chgrp can help to confirm this.
user avatar
  • 90.4k
0 votes

Script for Exporting File Metadata to CSV?

It seems .aaxplugins are binary files containing executable code for professional audio workstation software. So, chances are, there's little scripting tools outside these workstation software that ...
user avatar
0 votes

Change color of typed text in Remmina

The problem is not at Remmina, it is actually because of the server terminal display. You have to check for the $TERM at the terminal for color setup. I think, 99% in your case, the echo $TERM is not ...
user avatar
  • 103
-1 votes

How do I change the default Linux console font to Adobe Source Code Pro font semi-bold?

According to the console-setup man page, you can't do what you're wanting to do: Valid font faces are: VGA (sizes 8x8, 8x14, 8x16, 16x28 and 16x32), Terminus (sizes 6x12, 8x14, 8x16, 10x20, 12x24, ...
user avatar
  • 174
1 vote

How can I set up my Github Account to work in each terminal session?

If you trust the machine you are on (ie no one else has access to it, no remote admins, no remote backups, etc) then you can use the relatively insecure "store" credential helper. In $HOME/....
user avatar
0 votes

Nano can not find previous occurrence while searching with alt+Q shortcut

Check the ~/.nanorc, if there is a bind M-Q ... string - remove it. Or, if the binding is done in a system wide /etc/nanorc, then you can add unbind to the local ~/.nanorc Latest versions are also ...
user avatar
  • 1,411
1 vote
Accepted

Kitty terminal: I don't have any colors on PS1 bash prompt

I think it will work with the following code in your ~/.bashrc I don't know if you need to tamper with the variable TERM, but it is there in my ~/.bashrc. I borrowed it years ago, and don't know/...
user avatar
  • 4,805
0 votes

How can I automatically run a terminal command on every startup?

You can use the power of SystemD automation. I would suggest just adding the commands to the .xinitrc, but since you use Wayland, I'm afraid that wont work. You can also try adding a script with the ...
user avatar
  • 37
0 votes

How can I automatically run a terminal command on every startup?

There are plenty of solution on the internet to this question, you can see some answers here and here. The quick question would be something like (at least for Debian like OSs), and I'm assuming that ...
user avatar
  • 350
1 vote

Dumb terminal agetty keyboard layout filter

Some "dumb" terminals have a built-in setup menu, sort of like "BIOS settings" for a terminal. Those settings will usually include a selection of keyboard layouts. But a Heathkit ...
user avatar
  • 68.5k
1 vote

How to show iTerm2 completion suggestions in a menu while typing

I finally find out what was used, it is Fig, which adds "IDE-style autocomplete to your existing terminal". I've just downloaded it, now giving it a try for real experience. You can download ...
user avatar
  • 111
1 vote
Accepted

create zsh function with argument for ldapsearch

You can scroll down to the end for the solution, but because it is important to understand what is actually happening, here is the full breakdown. The answer is three-fold: 1. The command you provided ...
user avatar
  • 1,915
1 vote

True color support in TTY

The Linux console supports ECMA-48 SGR codes, including 24-bit RGB colour specifiers: for (( i = 0; i < 256; i++ )); do printf '\e[38;2;0;0;%dma\e[0m' "$i" done printf '\n' However ...
user avatar
0 votes

True color support in TTY

No. The actual terminal is running in "text mode" of the video card. There are several text modes. And by historical reasons the maximum coloring is 16 colors. Some time, long ago the text ...
user avatar
  • 1,411
-1 votes

How can I automatically run a terminal command on every startup?

You didn't mention Ubuntu flavor/DE or if this needs to be done right at boot or can be done after you log in. If you can do it post login just add it to your session autostart. Other wise you can add ...
user avatar
  • 19
1 vote

How can I automatically run a terminal command on every startup?

You can use systemd, e.g. https://wiki.archlinux.org/title/systemd/User#Writing_user_units For Gnome you could use this: https://www.addictivetips.com/ubuntu-linux-tips/autostart-programs-on-gnome-...
user avatar

Top 50 recent answers are included