date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,475,704,615,000
I am having too many artifacts when doing right click (second click) of mouse with the touchpad of UX303UA in Debian 8.5, which is problematic in inspection etc with Mathematica. Goal to fix: Default Shift+fn+f10 to bring the mouse second click does not work in my hardware (don_crissti) Characteristics of the system ...
No supported solution in Gnome 3.14 of Debian 8.5. Let's hope the next release of Gnome at Q1-Q2 2017 will target the feature.
How to second-click by Shift+F10 in Debian?
1,475,704,615,000
I.e. what I want is the Linux equivalent of Windows Public/Pictures. The problem is that Linux file manager Nautilus doesn't apply default ACLs when you move a file into a folder/directory (nor good old set-group-id). Not even in the expected case, where the file is only in one directory at a time, i.e. it hasn't als...
I saw another approach suggested in Docker bug comments. There's a FUSE filesystem which alters permissions. There's a performance impact just from using FUSE, but FUSE isn't as bad as you might think. Check out http://bindfs.org/ Example line for /etc/fstab, which allows users who have been added to the photos gro...
Shared, read-write, photo directory tree, for normal users
1,475,704,615,000
I want to organize my VNC connections using the bookmark feature integrated in vinagre 3.18.2. Since the GUI obviously does not support the adding of sub-folders I had a look at the bookmarks file in ~/.local/share/vinagre/vinagre-bookmarks.xml. However due to a lack of documentation I could not figure out, what the c...
Found the answer at vinagre-bookmarks-migration To introduce a sub-folder do <folder name="folder name">[..]</folder> Where [..] may be items or further sub-folders. Update: I created a simple XSD file to parse the bookmarks: <?xml version="1.0" encoding="utf-8"?> <!-- Vinagre bookmarks XML Schema Description Mainta...
Add sub-folder to vinagre 3.18.2 bookmarks
1,475,704,615,000
In GNOME3 under Fedora 21, is there a way to disable the bottom status bar that pops up every time the mouse cursor touches the bottom of the screen? Something similar to the extension No Topleft Hot Corner that disables the Activities hot corner in the top left of the screen.
Notifications (and this whole bar) have been reworked in newer releases of GNOME, starting with 3.16. That means the easy fix is to upgrade to a newer GNOME release, and since you're on Fedora, that's easily done simply by going to a newer Fedora release. Fedora 23 is just out, and, actually, this is good timing for a...
How to disable GNOME3 bottom hotbar
1,475,704,615,000
How do I set the default folder order in Gnome? I'm talking about setting 'type order' as default so the folders will always be listed at the top, and other files after them. Here is the image: You see that everything is listed by the type, and I want this to be the default order so when I reboot, it won't reset.
you will be able to achieve this by opening nautilus preferences as follow: open a nautilus window > click on "files" from top menu > preferences (as showed here) And then from there setup the Default view. Specifically Arrange items: by type
Default Folder Order in Gnome
1,475,704,615,000
I'd like to configure Google Chrome as my default web browser on Arch Linux. I've already done the following: Made sure I have a ~/.local/share/applications/google-chrome.desktop which has an Exec line that contains a %U Pointed everything related to web browsing in ~/.local/share/applications/mimeapps.list to googl...
Not sure what the issue was, but after uninstalling Firefox and deleting the following files everything seems to be working: ~/.local/share/applications/wine* ~/.local/share/applications/defaults.list ~/.local/share/applications/mimeinfo.cache I'm not sure if it was the uninstall of Firefox or the removal of those fi...
Why doesn't Google Chrome show up in the "Default Applications" list in Gnome 3?
1,475,704,615,000
The machine was running Debian wheezy and was recently upgraded to Jessie. Everything has worked fine for some time. However, after a reboot today the desktop won't load. /var/log/messages shows gnome-shell: segfault at 0 error 4 in libupower-glib.so.3.0.0 I have tried reinstalling gnome-session, gdm3, libupower. (So...
This may probably a bug, you should report it...and the solution.. Temporary install another desktop and waiting for reply, if you have ability, compile it yourself. PS: first you can find your system installed glib version, then compile the same version of glib replace stock one, have a try...
Desktop Fails with "Oh no! Something has gone wrong."
1,475,704,615,000
I have Ubuntu 15.04 and GNOME 3.16 installed. This PPAs are enabled: deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu vivid main deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu vivid main Interestingly, GDM runs in TTY1 and TTY7. Is there a way to fix this? I would like that GDM runs only in TTY7...
Based on this response, I have done the following and it works. sudo nano /etc/gdm/gdm.conf In this file, I added the following line. FirstVT=7 In /etc/gdm/gdm.conf you can set what the 1st terminal should be the graphical interface. FirstVT=7 will make GDM check tty7 first (by the way: this could mean it ends ...
Why does GDM start in TTY2 and TTY7
1,475,704,615,000
OS: Kali Linux version 1.1.0 gnome version 3.4.2 Using screen, I press CTRL + a and | but nothing is being split. Only the words "No other window" appears in the bottom. Here is other things I tried CTRL + a and capital S CTRL + a and b CTRL + a and c CTRL + a and | (Pipe key) none of the above fixed it for me...
Try, in sequence: CTRL+a, | # create a new pane CTRL+a, <TAB> # goto the new pane CTRL+a, c # start a new shell in the pane
can't split terminal using screen
1,475,704,615,000
Is there a way in Gnome Shell to define a shortcut that will bring up the Overview such that the Workspace List is already showing and available for clicking -- similar to the viewport selector in Compiz? Note: I'm using Gnome's terminology for this question. I have recently (been forcibly) migrated to Gnome 3/Gnome S...
I have found a solution to my problem. I don't know the default behavior of the Overview w/o extensions (because I installed the Workspace Grid extension almost immediately), but it turns out that my experience is not the default behavior with Workspace Grid installed. Indeed, the Workspace List is supposed to appear...
Gnome Shell shortcut directly to Workspace List overlay?
1,475,704,615,000
I'm using Centos 7. gnome-shell --version Gnome Shell 3.8.4 does this mean I'm using Gnome 3.8.4? can I upgrade to Gnome 3.10? Are there any how-tos?
Q1: does this mean I'm using Gnome 3.8.4? Yes you're using GNOME 3.8.4 from that gnome-shell output. Q2: can I upgrade to Gnome 3.10? Yes but I've found no repositories that offer it as of yet so your only recourse is to compile it yourself from sources. You can make this a little less painful by trying to use th...
Gnome 3.8.4 can I upgrade to Gnome 3.10?
1,475,704,615,000
I noticed an almost half a centimeter thick transparent bar on the bottom of my screen, which is there on top of every other window, and doesn't seem to be interacting with anything, or the mouse. Also, when I try to take a screenshot, it's not in the screenshot. This is how it looks like, and I'm not really sure how ...
So after talking to Gnome developers here, turns out one can investigate this the the "looking glass", which you can get by pressing alt+f2, and then lg. Then you click on the target icon on the top left of that panel, and choose the gray transparent area, if it selects it, then it's an application, if not, it's somet...
Gnome3 v40 transparent bar on the buttom
1,475,704,615,000
I have currently arch linux installed with Gnome 3.38.3. With Psensors, I am unable to show the temperature in the system tray. In the settings of psensor, there is application indicator, from where we can choose what to show in the system tray. But that section is greyed out for me. Hence I am unable to choose it. Ar...
I was unable to show the Psensor readings. But I was able to find a substitute for it. It is a gnome shell extension called Vitals. Over there numerous statistics can be displayed in the system tray. I personally use temperature, ram usage, CPU usage.
Unable to show psensor readings in system tray Arch, Gnome 3.38
1,475,704,615,000
When configuring reportbug, I have an option to store the password for the remote smtp service in $HOME/.reportbugrc. How can I make it use an existing password stored by GNOME Web (Epiphany) or Evolution in GNOME keyring instead, so that I do not need to update $HOME/.reportbugrc if the password in GNOME keyring chan...
Ended up defining an alias in ~\.bash_aliases. alias reportbug-pass='reportbug --smtppasswd="$(secret-tool lookup eds-origin evolution-data-server e-source-uid 7f1e149e069bd66ab5aa1a734baa113943cdf0ee)"' Using that alias instead of calling reportbug directly invokes reportbug with --smtppasswd already passed to it. N...
How to configure reportbug to use smtp password from gnome-keyring?
1,475,704,615,000
I am setting up a new system that is running CentOS 7 and Gnome 3.28.2. I've used CentOS from the command line before but this is my first time using Gnome. I have found that Gnome does not seem to remember the password for my Network-Attached Storage. When I connect to my NAS, Gnome asks me for the user name and pass...
I figured out a solution. Originally I was reconnecting to the NAS by going to Files > Other Locations > Connect to Server. This always asks for my credentials, even if I check the box to remember them. I got around this by bookmarking the shared folder on the NAS. If I click on the bookmark in Files, it connects and ...
NAS password not saved in Gnome / CentOS 7
1,475,704,615,000
I'm making some shortcuts to games I would normally run via terminal. For instance, UT2004: cd "$HOME/Unreal Tournament 2004/System/" ./ut2004-bin-linux-amd64 My work so far: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=true Path=/home/nick/Unreal Tournament 2004/System/ Exec="/home/nick...
The way I worked this out was to have a start-up script that changes to the correct directory and then starts the game. startup.sh : #!/bin/bash cd /path/to/game game cd "OLDPWD" And then in the .desktop file use : Exec=/bin/bash /path/to/startup.sh
GNOME ".desktop" shortcut: Specify Start-In path
1,475,704,615,000
form terminal, when I try to run a .jar-file I receive: $ java -jar ./RemoteDroidServer/RemoteDroidServer.jar Exception in thread "main" java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204) at java.awt.Window.<init>(Window.java:536) at java.awt.Frame.<init...
I had the same problem with the AWT-library on a Mobian-LXDE-System (https://wiki.mobian-project.org/doku.php?id=desktopenvironments#lxde). The solution was as simple as installing the default-jre package. Credits go to: https://stackoverflow.com/questions/5241850/running-java-gui-applications-through-a-linux-terminal...
.jar-file fails to start on fedora gnome3
1,475,704,615,000
The Battery indicator icon is not visible in the top panel. I am running Fedora 30 with GNOME. I tried restarting upower but it failed. $ sudo systemctl restart upower Job for upower.service failed because the control process exited with error code. See "systemctl status upower.service" and "journalctl -xe" for detai...
The problem is caused by the issue described here. https://bugzilla.redhat.com/show_bug.cgi?id=1708991 Due to snapd and ``SELinux``` issues. Updating your system should fix it now.
Fedora - Battery indicator fails to display in top left panel
1,545,052,371,000
In GNOME 3 when I copy some text to clipboard from an application and then exit from that application, the clipboard doesn't hold the copied text (the clipboard is empty). My question is as follows: How do I make GNOME 3 to not remove the contents of the clipboard when the application I copied text from exits?
The problem indicated in the question is so called "Clipboard Persistence bug", which is described, for example, in Ubuntu Wiki. The best workaround for Gnome 3 is to install Clipboard Indicator Gnome extension which is available at the following link: Clipboard Indicator. If you're on Ubuntu, pay your attention that ...
Preserve contents of clipboard when a programs from text from copied exits
1,545,052,371,000
I installed ArchLinux with the gnome desktop (but only the minimal packages) So far I tried gnome-software and gnome-applets while gnome-contorol-center and gnome-settings-deamon are installed. Thunderbolt is working (at leat the thunderbolt dock works with my thinkpad T580 but only when I turn off thunderbolt securit...
As pointed out by @don_crissti the feature to configure thunderbolt security levels through the gnome-control-center will only be available in verion 3.30 (with the exception of fedora who backported this feature for fedora 28). The underlying system deamon boltd and the command line tool are however already available...
Which package contains the functionality of gnome to configure thunderbolt through the gnome control center under ArchLinux?
1,545,052,371,000
I use my machine (GNOME desktop) on my home wifi, at public wifi locations and with no wifi connection. How can I set up a trigger so that as soon as my machine connects to the internet, it establishes my default VPN connection? In other words: as soon as I connect to my home wifi as soon as I connect to a public acc...
First, make sure your VPN password field is set to "Store the password for all users". This workaround is required even on a single-user system. (See related bug.) Then, rather than using the GNOME system menu (in the top right corner) to edit your network settings, launch the nm-connection-editor GUI as follows: Fro...
Can I trigger VPN connection based on online status?
1,545,052,371,000
For my grandparents' desktop, I need to show the generic names for apps in the activities menu and panel. I am using gnome 3. Is there a way to do this, maybe in gsettings?
You can use Menu Editor - menulibre. Works on more than GNOME.
app Generic Names in Gnome 3 panel and menu
1,545,052,371,000
I have noticed that the Debian Desktop icons burn through i.e. show up on the screen when they should not in some dynamic cases Assistive technology On Screen Keyboard On Debian reportbug active while moving mouse on top of terminal links I will add here a screenshot if I manage to capture one while the effect is oc...
I keep getting those artifacts long time. Their amount decreased to none after changing Gnome start with Wayland instead of X11. So I think conflicts of X11 with the processes caused those artifacts, indicating a software problem, not a hardware problem.
Why Debian 9.1 Desktop Icons burn through in Gnome 3.22 on X11?
1,545,052,371,000
I just installed arch on a encrypted LVM. After the boot process gnome3 tries to start but it looks like I installed the wrong driver. The whole system freezes, its not possible to enter another tty. Is there a way to prevent the gui from starting direct after the boot process? I used sudo systemctl enable gdm.servic...
The arch installation media should help you here. Boot into it and follow the directions to mount your encrypted drive and then arch-chroot into the system. Once you are in, you could disable gdm.services. Alternatively, you could install the proper drivers. To be sure that the driver is the problem, you might want to...
Arch - prevent GUI from start
1,545,052,371,000
Today, I upgraded from Gnome 3.18 to 3.20 and started experiencing some strange graphical issues when changing focus from one application to another, either by alt-tab or clicking the new window with the mouse. So far, I have only seen this issue with gnome-apps (those that have the gnome-specific headerbar, such as N...
Turns out this is a bug in the Numix themes and it is being tracked here.
Gnome 3.20 graphical glitches when switching applications
1,545,052,371,000
I work under Debian Testing with Gnome shell 3.14.2 on a Lenovo Thinkpad X1 Carbon (3rd gen.). I would like to create a custom 'screenshot' command based on scrot: scrot -s -b '%Y-%m-%d_%H:%M:%S_screenshot.png' -e 'mv $f ~/Myfolder' I put this line in a file .scrot.sh and created the Shortcut command via /bin/sh ~/sc...
... the bug behind is pretty bad... I found this post which links to enter link description here. To make it short, the command is indeed /bin/sh /path/to/script where script is a shell script containing scrot -s -b '%Y-%m-%d_%H:%M:%S_screenshot.png' -e 'mv $f /home/$USER/Myfolder' ... but assigning this to a shortc...
How to define a custom screenshot in Gnome 3 and to assign it to a keyboard shortcut?
1,545,052,371,000
I want to add command scrot -s as custom shortcuts via gnome-control-center keyboard. The accelerator key was Super+S. but it didn't works. If i remove -s or try other interactive command like xkill, they works fine. Also, scrot -e 'mv $f ~/Pictures/scrot/' is works fine too. So my question, why scrot -s didn't wor...
First, i tried strace parent processes like systemd and Xorg.bin, but i'm new to strace so i can't figure out. Then i thought it might related to permission issue (su -, sudo, ...etc). So i plan to press the shortcut key as root. So i quickly realized i can use sudo xdotool key Super+s to test it. Then what's surprisi...
how to create custom shortcuts for scrot and gnome-screenshot interactive mode
1,545,052,371,000
I am a new Fedora 20 64-bit user and I used Gnome Tweak Tool to customize the appearance of the UI. However, I was not able to get the active application from the top bar. I am providing a screenshot to visualize the situation, Google Chrome is the active application and it is shown in the upper bar, I want that entry...
The shell extension TaskBar proved useful in my case, it can be accessed via this link. In order to disable the active application icon I went into the preferences of this shell extension then under the Misc tab I switched the slider to on next to the Hide Default App Menu. I do not know if this is the expected effect...
Fedora 20 Gnome 3 DE upper bar
1,545,052,371,000
So, somehow I accidentally upgraded to Gnome 3.8 (Don't ask me how, I have no idea). And after a reboot, none of my peripheral devices or interfaces are working. The built in mouse and keyboard do not respond and I have to unplug and replug them before I get any response. Additionally, my realtek ethernet controlle...
This sounds like a partial/incomplete dist-upgrade that has left the kernel and kernel-modules out-of-sync. Look at the output of uname -a (uname -r for just the kernel rev) and the modules in /lib/modules/$(uname -r) lsmod should show various modules are loaded. dmesg might show why they aren't loading. An interface...
Debian Squeeze not detecting any hardware after Gnome 3.8 upgrade
1,545,052,371,000
Just upgraded from Debian "Squeezy" to "Wheezy". When I logged in the menus were fancier as I expected with Gnome Display Manager 3. However the issue that occurred was the duplicate UI-elements. The UI-elements such as "Applications", "Places", the Clock and so forth had two instances each. What I've tried so far: ...
It was some spooky settings or cached data from Gnome 2 that was messing with the interface. I saved the important files to an external drive and emptied the home folder, (including .*-files).
Gnome 3 UI menus are duplicated
1,386,256,220,000
I got the following problem: Well, just installed Fedora 19 alongside to my Debian installation. While GNOME Shell is working perfectly fine when running with Debian, there are some strange display errors (e.g. coloured backgrounds of icons; when opening the dash (where all installed applications are listed) the backg...
For this card, i should think is nouveau driver. Try the propertary driver in the nvidia page.
How to fix display error with GNOME Shell on Fedora 19?
1,386,256,220,000
I get an error trying to add a printer on Debian Wheezy that FirewallD is not running. I am trying to add a remote printer. There is no firewall on this computer, iptables blocks nothing, and there is no firewalld in the apt repository. Also system-config-printer, which apparently can work around this, is also no long...
There was a mirroring error for the Australian Debian Mirror, I only just spotted the md5 checksum error on apt-get update. Using the main debian site worked, and I now have system-config-printer.
Adding printer from Gnome 3 on Debian Wheezy, Firewalld not running
1,386,256,220,000
I have been an avid user of RSSOwl & now have ported mine OS to Fedora 18. Everything works fine including the transfer of .rssowl2 (backup folder) to new Fedora. However when minimised or exited to tray tray icon is missing... notifications are OK I too can right-click tray icon... /* Details Added */ RssOwl can be...
I'm not familiar with that app, but I know that means your icon theme doesn't have the required icon, i.e apps/24/XX.png, A stupid solution is copy it from somewhere, i.e check the Icon= line in /usr/share/applications/XX.desktop, and copy it to your theme dir. P.S does the app icon show correctly when you search for...
Tray Icon Missing Rssowl Fedora 18
1,386,256,220,000
I have been using Linux Mint 12 with Gnome 3 and I'm very happy with it except about the fact that it get very slow software updates, hoping that Linux Mint 13 will have Gnome 3.4 and Linux kernel 3.2 shall wait for it? Or shall I install Debian based Linux Mint which gets rolling updates? What would be a better optio...
If you can't afford to live with the risks of a rolling release distro (sometimes things will break and updates won't be smooth - this from my experience with Arch), wait for Mint 13. Otherwise, the Debian-based Mint should be OK.
Wait for Linux Mint 13 or install Linux Mint Debian version?
1,386,256,220,000
I've just installed Arch and I have installed gnome, but when I type startx I have the following problem waiting for X server to shut down Server terminated successfully (0). Closing log file.c: xterm: not found /etc/x11/xinit/xinitrc: line 55: xterm: command not found What should I do?
If you have created a ~/.xinitrc then there's no way that startx should be pointing to /etc/X11/xinit/xinitrc since this is the system-wide file. All .xinitrc basically is, is a shell script which starts desired clients according to the user's preference. The clients placed in this file will all be ran in the backgrou...
Desktop Manager doesn't start with xorg
1,386,256,220,000
In Gnome 3.14 On Line Account Settings, if I add a Google account, under "use this account for" I can switch Documents on/off. This in my understanding should synchronize my documents with my Google Drive. So I would expect to see some folder like "Google Drive" on Nautilus showing my Google Drive contents. But I can'...
The 'documents' app in gnome is supposed to sync with online resources (google docs, ownCloud, oneDrive). I don't have 3.14, but in 3.10 the application is seriously slow and sucktastic. It's totally useless. https://help.gnome.org/users/gnome-documents/stable/
GNOME 3.14 and Google Drive integration
1,386,256,220,000
I love the UI of GNOME 3. I tried it in Fedora and Mint; is there an ideal Linux distribution/version for GNOME 3?
Gnome aims to be distribution-independent. However, it happens to be that: Fedora is the only major distribution shipping Gnome 3 as a default right now. Other distributions either have other defaults or no particular default. (And I'm sure there are some awesome smaller distributions defaulting to Gnome; I don't mea...
Is there an ideal operating system for GNOME 3? [closed]
1,420,476,502,000
Used to be able to right click on the tab and change the title. Not sure how to do this anymore. Just upgraded to Fedora 21. EDIT: I have switched from gnome-terminal to ROXterm
Create a function in ~/.bashrc: function set-title() { if [[ -z "$ORIG" ]]; then ORIG=$PS1 fi TITLE="\[\e]2;$*\a\]" PS1=${ORIG}${TITLE} } Then use your new command to set the terminal title. It works with spaces in the name too set-title my new tab title It is possible to subsequently use set-title again...
How to rename terminal tab title in gnome-terminal?
1,420,476,502,000
My terminal setup is gnome-terminal + tmux + zsh with vi bindings. In applications like vim or even in the zsh's command line vi editing mode, I need to frequently hit the ESC key but there is a small delay before the effects of this key take place. See GNU Screen makes Vim ESC key slow After some experimentation, I f...
Here's an actual fix. Add the following to .tmux.conf: set -s escape-time 0 As mentioned in the comments: The server may need to be restarted.  tmux kill-server kills the server; you may need to restart it.  Alternatively, you can reload the configuration file from the command prompt inside tmux by typing your tmux p...
ESC key causes a small delay in terminal due to its Alt+ behavior
1,420,476,502,000
I have tested this with both Ubuntu 12.04 and Debian 7. When I do echo $TERM I get xterm But if I use the dropdown menu "help" > "about" then it says gnome terminal 3.4.1.1. Does this mean I am using just gnome-terminal? Or just xterm? Or is gnome-terminal an extension of xterm? I'm confused.
What is $TERM for? The $TERM variable is for use by applications to take advantage of capabilities of that terminal. For example, if a program wants to display colored text, it must first find out if the terminal you're using supports colored text, and then if it does, how to do colored text. The way this works is tha...
Which terminal type am I using?
1,420,476,502,000
When we use clear command or Ctrl+L in terminal, it clears terminal but we can still scroll back to view the last used commands. Is there a way to completely clear the terminal?
You can use tput reset. Besides reset and tput reset you can use following shell script. #!/bin/sh echo -e \\033c This sends control characters Esc-C to the console which resets the terminal. Google Keywords: Linux Console Control Sequences man console_codes says: The sequence ESC c causes a terminal reset, which i...
How do I clear the Gnome terminal history?
1,420,476,502,000
I am running an application with command $ grails run-app which prints log in terminal like below. What I want is search a particular text (say user authorities) in this log so that I can verify further. One way using Logging Apis to write in text file but I want to search it in a terminal at the moment. I found sim...
Ctrl+a (default screen command prefix), [ (enter copy mode) followed by ?SEARCH_TEXT seems to work. Press n to go to the next occurrence. From there, you can copy words, lines, regions, etc to dump into files or paste later on (with Ctrl+a, ]).
search text on the terminal output
1,420,476,502,000
I'm on Arch linux, and when I open a new terminal tab, it always goes to $HOME. How can I make it so that when I open a new tab, it opens the shell in the directory I was in previously?
There is a bug related to this issue All you need to do is add the following line to your .bashrc or .zshrc: . /etc/profile.d/vte.sh At least on Arch, the script checks if you are running either bash or zsh and exits if you are not.
gnome-terminal: keep track of directory in new tab
1,420,476,502,000
when I ssh to a server over the internet in a gnome terminal tab, if I lost internet connection, the terminal tab will be hang and not accept any input. Why is it hang? Is there some way to activate the terminal tab, i.e. make it continue running the local shell process? Is closing the terminal tab the only way?
SSH connection goes down automatically after a specified period of time set by ClientAliveInterval and ClientAliveCountMax parameters and their client-side equivalents. If these timeouts are quite high you will experience a frozen shell. However, if you use OpenSSH you don't have to wait for a timeout and can force cl...
terminal hang when lost connection and ssh is on
1,420,476,502,000
Is it possible to export a gnome-terminal profile to another computer? I create a terminal profile using edit>preferences and save it as "def". I would like to save the configuration in a file and use it another computer. I try to grep "def" within .config/dconf/ and find Binary file dconf/user matches Is it possible...
You can use dconf(1) to dump and load the gnome-terminal profiles. I got the basic command usage from this source: https://gist.github.com/reavon/0bbe99150810baa5623e5f601aa93afc To export all of your gnome-terminal profiles from one system, and then load them on another, you would issue the following: source system: ...
How to export a gnome-terminal profile?
1,420,476,502,000
I am creating Log-Reports which are viewable through the Web-browser. Is there an easy way to make links clickable in Linux Terminal? (Gnome-Terminal) I am copying those links and manually open my web-browser to achieve that right now.
If the links are output as full URLs, they should be clickable when you hover over them (with the mouse pointer) while holding Ctrl down.
Terminal - create hyperlinks
1,420,476,502,000
I'm currently using Fedora 18 gnome-terminal, then started tmux multiplexer in it. After I connected to a CentOS 5 server via ssh command, I find: ls result has no color tmux, screen, hexedit, htop all failed to start with error message like: open terminal failed: missing or unsuitable terminal: screen-256color It s...
$TERM is to tell applications what terminal they're talking to so they know how to talk to it. Change it to a value supported by the remote host and that matches as closely as possible your terminal (screen). Most Linux systems should at least have a screen terminfo entry. If not, screen implements a superset of vt100...
Prevent SSH client passing TERM environment variable to server?
1,420,476,502,000
I have a script which runs in the background (without terminal windows or TTY) and occasionally does something. I now want it to do another thing when it does something and it is to open a Gnome Terminal window and execute 2 commands. Actually, I only need to execute 1 command but I want to make the terminal window st...
gnome-terminal treats everything in quotes as one command, so in order to run many of them consecutively you need to start interpreter (usually a shell), and do stuff inside it, for instance: gnome-terminal -e 'sh -c "echo test; sleep 10"' BTW, you may want the window to stay open even after commands finish their job...
Open Gnome Terminal window and execute 2 commands
1,420,476,502,000
I would like to setup my gnome terminal's background(#002b36) and foreground color in ubuntu 13, using bash script. I tried gconftool but couldn't succeed. GCONFTOOL-2(1) User Commands GCONFTOOL-2(1) NAME gconftool-2 - GNOME configuration tool...
Method #1 - Using dconf Background You can use the dconf tool to accomplish this, however it's a mult-step process. DESCRIPTION The dconf program can perform various operations on a dconf database, such as reading or writing individual values or entire directories. This tool operates directly on...
set gnome terminal background/text color from bash script
1,420,476,502,000
I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny I open terminal and run Midnight Commander in it. Now I need to quit by pressing F10. But When I do this I'm getting terminal menu: How to get MC menu and not terminal one by pres...
Go to Edit->Keyboard Shortcuts And uncheck "Enable the menu shortcut key" to turn it off. Reference link : here.
Pass F10 to the application in Gnome-terminal [duplicate]
1,420,476,502,000
I realize the default of the Nemo's right-click "Open in Terminal" is to launch "gnome-terminal"; however, my installation is opening "xfce4-terminal" instead. A while back when "gnome-terminal" was broken, I installed "xfce4-terminal" as an alternative.  I configured the system-wide defaults to call "xfce4-terminal" ...
Nemo uses the gsettings configuration. This restored the intended behavior: $ gsettings set org.gnome.desktop.default-applications.terminal exec gnome-terminal On Ubuntu it's different for some reason: $ gsettings set org.cinnamon.desktop.default-applications.terminal exec gnome-terminal
How to configure Nemo's right-click "Open in Terminal" to launch "gnome-terminal"
1,420,476,502,000
There's a lot of questions around this, but it's because there are so many variables. I had to piece together instructions from many sites before I got this working. First, I could not easily set up the 16 solarized colour definitions in gnome-terminal (I did it by hand/clicking only to realise that I'd not got the or...
Solarized gives very specific colours. You can't really achieve these colours in a standard 256 colour palette. The only way you can achieve this is through setting up the exact colours in your terminal emulator, then apps think they're just using standard 16 colours (8 + 8 brights) but these have been accurately mapp...
How do I get the solarized colour scheme working with gnome-terminal, tmux and vim?
1,420,476,502,000
I'm writing a script which shows the git log for a directory when I cd into it. Such a log can be overwhelming, containing hundreds of lines. So far I have been limiting that to a hard-coded 30 lines with (... | head -n 30), cool on the big screen at Work, too big at home. I would prefer the log to take up about half ...
Terminal parameters are stored as $LINES and $COLUMNS variables. Additionally you can use special term-operation programm, for example tput: tput lines # outputs the number of lines of the present terminal window. tput cols # outputs the number of columns of the present terminal window.
How do I find number of vertical lines available in the terminal?
1,420,476,502,000
I'd like to set the terminal title to user@host so I can easily tell which machine I'm connected to from the window title. Is there a way to do this from SSH or from GNOME Terminal?
Yes. Here's an example for bash using PS1 that should be distro-agnostic: Specifically, the escape sequence \[\e]0; __SOME_STUFF_HERE__ \a\] is of interest. I've edited this to be set in a separate variable for more clarity. # uncomment for a colored prompt, if the terminal has the capability; turned # off by defaul...
Is it possible to set Gnome Terminal's title to "user@host" for whatever host I'm connected to?
1,420,476,502,000
If you have gnome-terminal running, and want a new instance of the program, you might think that running gnome-terminal & from a shell would do the trick. Astonishingly, this new instance behaves like some insipid Windows or Mac program; it only sends a message to the existing, running gnome-terminal to create a new w...
According to man gnome-terminal, the option you're looking for appears to be the confusingly-named --disable-factory Do not register with the activation name server, do not re-use an active terminal. However, the option is apparently removed in more recent releases so should not be relie...
Run true multiple process instances of gnome-terminal
1,420,476,502,000
I need to run several Bash scripts (the same script with different variables to be precise) at the same time. To keep the number of tabs under control, I wish to group them in a single terminal tab. The scripts regularly output, which I check for any problem. If I send them to the background as ./script.sh 1 & ./scrip...
After testing different methods and programs, I found that the pragmatic solution is GNU Parallel. I post this answer as it may help others. GNU Parallel has not been built for this task, but perfectly serves the purpose. If running the scripts as parallel -u ::: './script.sh 1' './script.sh 2' #(and so forth) All sc...
How can I run multiple Bash scripts simultaneously in a terminal window?
1,420,476,502,000
I am running Fedora 17 gnome (shell) 3 and gnome terminal 3.4.1.1. I am a user of both gnome-terminal and mc(Midnight Commander). As default gnome-terminal has always used F10 (which I need while using mc), to opening the top menu. So was this time. I was able to disable that behavior in the settings, as always. Which...
Here is a simple solution for the problem described: For GTK 3 apps like gnome-terminal and nautilus just create (or edit if you have one) the file ~/.config/gtk-3.0/gtk.css with following content: $ cat ~/.config/gtk-3.0/gtk.css @binding-set NoKeyboardNavigation { unbind "F10" } * { gtk-key-bindings: NoKeyboardNavig...
Why does F10 in gnome-terminal open the right-click menu?
1,420,476,502,000
How could I execute a script in Shell when a shortcut key is pressed. Essentially what I need is when a shortcut key is pressed the script should read from a file and display that content in the terminal.
You can use the builtin command, bind to map a keyboard shortcut so that it executes a command/shell script. Example Say we want to run the command, pwd, when we press the F12 key. $ bind '"\e[24~":"pwd\n"' Now when I press F12 at my prompt, $: $ pwd /home/saml Determining keyboard shortcuts You can use the followin...
How to execute a script in shell when a shortcut key is pressed
1,420,476,502,000
I opened a terminal on Ubuntu using Ctrl+Alt+T and a different terminal by going to a directory and then right clicking and choosing "Open in Terminal". I did an echo $0 in both cases. In the first case: $ echo $0 -bash In the second case: $ echo $0 /bin/bash Why this difference?
If the output of echo $0 command is -bash it means that bash was invoked as a login shell. If the output is only bash, then you are in a non-login shell. man bash says somewhere at line 126: A login shell is one whose first character of argument zero is a -, or one started with the --login option. See more abou...
Why 'echo $0' gives different result for two different terminals?
1,420,476,502,000
I am using GNOME Terminal 2.7.3 and zsh 4.3.9 (x86_64-unknown-linux-gnu) Home and End are not working. Nothing happens and nothing gets displayed when I press them. but they work when I press shift + Home (Scrolls to the beginning of shell output.) and also work in other GUI programs. I googled and tried the following...
Escape sequences sent by function and cursor keys consist of an escape character followed by printable characters. Press Ctrl+V then Home. This will insert the escape sequence literally. Then add a bindkey instruction to your ~/.zshrc. The instruction is likely to be (note O, not 0): bindkey '\e[OH' beginning-of-line ...
Home key not working in terminal
1,420,476,502,000
Double clicking on a word in gnome terminal selects the whole word. Unfortunately, this selection doesn't include colons such that URLs aren't completely selected, e.g. with http://foo.example.org/ only //foo.example.org/ is selected. How do I configure this selection behavior such that complete URLs are selected? S...
How much is selected on double click can be configured via adding additional character classes to the default set. That means that adding a colon and other special characters that may show up in URLs leads to double click also selecting complete URLs. This can be configured via the gnome config database. For that one ...
Double click selection in Gnome Terminal
1,420,476,502,000
Usually my terminal prompt was username place$ now it only shows bash-4.2$ and all the color settings have been lost (on the terminal profile I have the same color scheme, but it just don't show colors) I don't have any idea of what happens (and I don't know how to search for this). It changes from nothing, I was wo...
The prompt variable $PS1 was probably not set, so the built-in default \s-\v\$ is used. When bash starts up interactively, it sources a configuration file, usually either ~/.bashrc or ~/.bash_profile, presuming they exist, and this is how a fancier prompt is set. From man bash: INVOCATION [...] When bash is invok...
Terminal, Prompt changed to "-Bash-4.2" and colors lost
1,420,476,502,000
I'm running gnome 3.10.1 on Arch with Zsh. I'm facing that problem that when I create a new tab or window from a terminal window, it resets the current dir to my home dir. I've already tried this: gnome-terminal: keep track of directory in new tab, but it didn't work. I tought that maybe it could be some configuration...
It seems like you have to enable the "Run command as a login shell" option in order to make it work like it should. The print bellow is in Portuguese, but this is the configuration I've got it to work.
Gnome-terminal and Zsh: keep current directory on new tab/window
1,420,476,502,000
On my Linux host, Ctrl+C does not seem to work and I do not know how to proceed to make it work. I am using Ubuntu 10.04 with bash 4.1.5(1), and working in Gnome-terminal. When I pressed Ctrl+C while this script was running, it did not cause it to quit. #!/bin/bash for i in `seq 500` do ps -e > /dev/null ...
Try to do this $ stty sane and see if it fixes the problem, also check if the intr is set correctly using $ stty -a If you find that intr is set to something different than ^C, then you can also fix it by typing $ stty intr ^v^c
Ctrl+C does not work in gnome-terminal
1,420,476,502,000
When running top -n1 | head the terminal's cursor disappears. Running top -n1 brings it back. Tested in gnome-terminal and tilix in Ubuntu 16.04 and CentOS 7.5. Running top -n1 | tail doesn't have this issue, so I think, something at the end of top output let the cursor reappear which is not executed when printing t...
I wasn't able to recreate this behavior everywhere, but it does show up on Ubuntu 18.04 It is instructive to examine hex dumps of the top output: $ top -n1 | head -n1 | xxd 00000000: 1b5b 3f31 681b 3d1b 5b3f 3235 6c1b 5b48 .[?1h.=.[?25l.[H 00000010: 1b5b 324a 1b28 421b 5b6d 746f 7020 2d20 .[2J.(B.[mtop - 00000020:...
Cursor disappears when running `top -n1 | head`
1,420,476,502,000
I'm using bash version 4.3.42(1)-release in an ArchLinux/Gnome environment. When I type my commands some of the written characters gets transformed in some weird ones. Overall, all displayed text looks strange. My character encoding is set to Unicode (UTF-8). I also checked my input language, which is correct. Since ...
For terminal emulators, you should choose a monospace (a.k.a. fixed with) font. The letters are positioned in a grid, rather than as it would look nice according to the width of each individual letter.
Strange character overlap in terminal
1,420,476,502,000
In a small bash script I'm running I am attempting to chown a new directory that is created. I've added: sudo chown $USER:$USER /var/www/$sitename sudo chmod 775 /var/www/$sitename after the line where I mkdir (sudo mkdir /var/www/$sitename). For some reason the chown is not executing. I can execute it manually but w...
If for some reason, $USER is not set, you can use the id command to obtain the identity of the real user. So the first time you use the $USER variable, you can use the shell expansion to supply a default value. Change the chown line in your script to: sudo chown "${USER:=$(/usr/bin/id -run)}:$USER" "/var/www/$sitena...
Using chown $USER:$USER inside bash script
1,420,476,502,000
Is there any way that we can edit the terminal preferences like background, colors, etc., from within the command line itself? The terminal is Gnome-terminal. I'm using Ubuntu 14.04 trusty tahr.
Here's what I did: Install gconf-editor sudo apt-get install gconf-editor Fired it up from terminal gconf-editor Went to apps>gnome-terminal>profiles>Default inside gnome-editor This will open up the key-value pairs for preferences. Edit the value corresponding to the required key. Thanks for pointing me in the dir...
Changing the preferences of Gnome-terminal from within the terminal
1,420,476,502,000
I like to work in Linux without using the mouse, because of that I would like to know if there is any method to set a keyboard shortcut to set gnome-terminal tab title.
From Edit -> Keyboard Shortcuts... you can set a shortcut to Set Title. I don't have a default one.
Keyboard shortcut to set gnome-terminal tab title
1,420,476,502,000
I am trying to configure my bash ~/.inputrc to these settings (Note: ←, → mean the left and right arrow keys) Ctrl + ← - should jump back a word Ctrl + → - should jump forward a word Currently I have this in my ~/.inputrc and it doesn't work. Ctrl + arrow produces nothing. "\eC-5C":forward-word "\eC-5D":backward-wor...
Gnome-terminal (more properly VTE) imitates some version of xterm's escape sequences. How closely it does this, depends on the version of VTE. The relevant xterm documentation is in the PC-Style Function Keys section of XTerm Control Sequences. What you are looking for is a string like \e[1;5D (for control left-arrow...
What is the gnome-terminal ANSI escape sequence for "CTRL + arrow/s"?
1,420,476,502,000
Running in xterm (or gnome-terminal) the following command sets the so-called "Icon Name": echo -en "\e]1;some_value\a" What does this do? Note that it is possible to set both "Window Title" and "Icon Name" to the same value with the same command, so I don't understand how "Icon Name" could be a path to, say, an imag...
A long time ago, there was a window manager called twm—actually, it still exists and runs perfectly well. Instead of minimizing a window to a bar at the bottom of the screen (or similar) like MS Windows, Mac OS X, and many modern window managers, it shrunk them to labeled icons ("iconfify"). The Wikipedia twm article ...
In xterm, what is "Icon Name"?
1,420,476,502,000
I'm running Awesome WM on the latest Arch Linux with Gnome Terminal and the default bash. I've managed to get this working, but I wonder if any form of improvement is possible with this implementation. The question does NOT relate to opening new tabs, only to spawning new terminal windows with Awesome WM. I have rewri...
After a few days of testing and asking around, this seems to be the easiest implementation. It could be done with a global state which Awesome WM reads, however to keep predictability and ease of implementation I'm keeping this. ~/.bashrc function cd { command cd "$1" pwd > /tmp/terminal_pwd } Afterwards I can op...
Spawn new terminal window with the same directory as the previous window
1,420,476,502,000
Something equivalent to Windows' "cmd prompt here", that will open a gnome-terminal on a specific folder?
There is a nautilus (gnome's file manager) extension for that: http://packages.debian.org/sid/nautilus-open-terminal That is the package for debian. You should look in the repository of your distribution for a similar package.
Is there a "Open terminal here" from File Browser?
1,420,476,502,000
I'm trying to learn how the $LANG variable behaves with gnome-terminal (and its character encoding preference option). I've been using iso8859-1 (latin1) as my main character-set and all my filenames are encoded as such. For the following tests I'll do an ls -l of a directory with Spanish accented characters in thei...
Your setting for LANG must match the terminal's. More precisely, your setting for LC_CTYPE (the character encoding) must match the terminal's encoding, the other locale settings don't need to match. And the terminal's encoding is usually specified by an option of the terminal emulator and not by a locale variable. The...
Effect of $LANG on terminal
1,420,476,502,000
I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't like to touch it every time. After googling I found Ctrl+Shift+(Up/Down) does this on other Linux systems. But it doesn'...
On more recent versions of gnome-terminal, Shift+Ctrl+↑ and Shift+Ctrl+↓ work for scrolling by line, but I have no way of checking for 2.31.
How to scroll in a terminal by line in GNOME Terminal 2.31.3?
1,420,476,502,000
gnome-terminal: $ sudo update-grub [sudo] password for user: Generating grub configuration file ... Found background image: .background_cache.png Found linux image: /boot/vmlinuz-3.16.0-4-amd64 Found initrd image: /boot/initrd.img-3.16.0-4-amd64 done tty1 as accessed by Ctrl+Alt+F1: $ sudo update-grub [sudo] passwor...
They're coming from the kernel. You'll see them also by running dmesg Kernel messages are displayed on virtual console by default; they aren't in X terminal emulators (such as GNOME Terminal).
Why can issuing the same command create more output in tty than in pts/gnome-terminal?
1,420,476,502,000
Could someone explain this? I'm using gnome-terminal. First, some information: # echo $TERM xterm # infocmp xterm Reconstructed via infocmp from file: /lib/terminfo/x/xterm colors#8, cols#80, it#8, lines#24, pairs#64 # tput colors 8 I wrote simple script to create codes for extended set of colors: # Output file (cu...
The TERM environment variable is a way that you, the user, can tell programs (e.g., emacs, grep, less, ls, and vim) what kind of terminal they are running on, so they will know its parameters, including what capabilities it has and what escape sequences they need to issue to access them.  This exists because it’s too ...
Why xterm displays 256 colors (not xterm-256color)?
1,424,268,416,000
I'm running Fedora 21 which comes with gnome 3.14. In older versions, when I resized a terminal, a little box would appear that showed the dimensions of the terminal (in columns and rows, not pixels; defaulting to 24x80). Now when I resize the terminal, this box doesn't appear. How do I re-enable this feature, or oth...
From some quick searching, it doesn't look like there is a way to get gnome to display the dimensions. You can run these commands inside the terminal window to get the lines and columns respectively: tput lines tput cols
How do I determine the number of rows and columns in a gnome-terminal window while resizing? [duplicate]
1,424,268,416,000
How can I change the transparency of the Terminal windows in Ubuntu with a command? I already know about the profile method but want a command so that I can quickly swap between transparent and opaque. My terminal is GNOME Terminal 2.30.2
You can use gconftool with the key /apps/gnome-terminal/profiles/Default/background_type (you might have to use a different profile name than "Default"): gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type solid gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type t...
Changing gnome terminal transparency with a command in Ubuntu?
1,424,268,416,000
I use Gnome-Terminal for a lot of my work, and like separating my windows by color based on the task that I'm doing, so I've set up several profiles using the Preferences GUI. I found some color themes online that I like and would like to use as a base for some of my profiles, including any that I create in the futur...
The color palettes are all hard-coded so adding custom themes to gnome-terminal built-in Prefs Menu is not possible unless you are willing to patch the source code and recompile the application. One way of setting a custom color themes for your profile is via scripts. Have a look at how solarize does it: gnome-termina...
How to add color themes to Gnome-Terminal's GUI preferences?
1,424,268,416,000
Possible Duplicate: Getting 256 colors to work in tmux I want to set my terminal to 256 colors. I normally use the Gnome terminal which is shipped by default in Ubuntu but I also downloaded Terminator and tried Xterm and all them return 8 when I call tput color inside Tmux. How can I arrange to have 256 colors in ...
Even though OP answered the question in the above comments, I'll add the details here for easy reference. The quick solution is to add the following to your .tmux.conf file: set -g default-terminal screen-256color For more detailed info, check out the Tmux page on ArchWiki, or this helpful answer to the same question...
Terminal 256 colors don't work through Tmux [duplicate]
1,424,268,416,000
I am trying to modify the Gnome Shell preferences (in this case the key bindings) using the terminal. I have tried: gsettings set org.gnome.Terminal.Legacy.Keybindings switch-to-tab-1 '<Alt>1' But it is giving me an error: Schema 'org.gnome.Terminal.Legacy.Keybindings' is relocatable (path must be specified) So I am...
Thanks to @don_crissti's help and the answer they pointed me to. In order to change Gnome Terminal keybindings a path must be provided for the schema (as it is relocatable). So we need to define both a schema and a path: GSETTINGS_SCHEMA=org.gnome.Terminal.Legacy.Keybindings GSETTINGS_PATH=/org/gnome/terminal/legacy/k...
Configuring Gnome Shell key bindings from the command line
1,424,268,416,000
On mu Ubuntu 12.04 setups my tmux clipboard copy and paste commands are setup as follows: set -g prefix M-a unbind C-b bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" This worked great for the longest time up until a month or...
The xsel utility is similar to xclip, but implemented a little differently. Normally I would expect them to behave in the same way, but they don't make exactly the same X library call, so it's possible that in some corner cases xsel will work but not xclip, or vice versa. Try: bind C-c run "tmux save-buffer - | xsel -...
tmux xclip copy no longer working
1,424,268,416,000
I used to be able to copy&paste (or type if I load respective keyboard layout) any kind of characters (eg. é ö ñ ß و 好) in my console/terminal. Now I bought a new computer and it does not work any more, only English/ASCII characters (but in other programs, e.g. firefox, it still works). Distribution: Ubuntu. Terminals...
Locales are built upon request, because they can take a lot of space. You need to activate the locale by generating the associated data. Ubuntu undoubtedly has a GUI where you can set this, but I don't know where it is offhand. Run this once and for all in a terminal: locale-gen en_US.UTF-8 You may need to log out an...
terminal: non-english characters
1,424,268,416,000
How can one progmatically change the background colour of a terminal window, based on the hostname you ssh into? i.e When I am ssh'd into live embedded systems on production hardware, I wish the terminal background to change to red - to "maintain awareness" of which server I am on. Having just the hostname in PS1 is ...
You can use the ssh LocalCommand to emit the ANSI escape sequence to change background color, and have a section per host (or host pattern) to select the appropriate color you want to correspond to the remote host. If your production servers follow a naming convention like "starts with prod", you can try the followin...
How to automatically change terminal background, based on ssh hostname?
1,424,268,416,000
I would like to use screen (from GNOME Terminal, via ssh) like I use GNOME Terminal without screen, or as close as possible to that. Specifically: In GNOME Terminal, I can scroll back using the mouse wheel, the scrollbar or Shift+PgUp/PgDn. In screen, I have to go to copy mode (Ctrl+A,[) to be able to scroll back (mo...
Perhaps you cannot have what you are asking. From the terminal's standpoint: screen is a full-screen (no pun) application just like vi or less. the terminal implements scrolling and an alternate screen. when the terminal is in alternate-screen mode, it does not add to its scrollback area as it would in normal mode. i...
Make screen work like a terminal (scrolling + alternate screen) [duplicate]
1,424,268,416,000
When i type Ctrl+Left or Ctrl+Right within Guake or gnome-terminal the last one's behaviour turns to a some kind of non-usual mode: - key acts like arrow up and + like arrow down, v runs Nano, etc. How can i disable this feature ? UPD: my friend told me that's X.org hotkeys... How can i disable 'em? Googling does not ...
The solution was pretty elegant and simple: editing /etc/inputrc and disabling vi mode. Here's the renewed inputrc file: # /etc/inputrc - global inputrc for libreadline # See readline(3readline) and `info rluserman' for more information. # Be 8 bit clean. set input-meta on set output-meta on #set editing-mode vi # ...
Why does Ctrl+Arrow make my terminal switch to a strange mode?
1,424,268,416,000
With the help of Display command in xterm titlebar I've got gnome-terminal changing the title to reflect the running command, so that I can see which terminal Mutt is running it. But what I'd really like is to push my Mutt status up to the title. I have this in my .muttrc: set status_format = "%n new | %M in %f [%v]."...
mutt can already do this. man muttrc ts_enabled Type: boolean Default: no Controls whether mutt tries to set the terminal status line and icon name. Most terminal emulators emulate the status line in the window title. ts_status_format Type: string ...
Set terminal title from within Mutt?
1,424,268,416,000
According the gnome-terminal usage: You can also scroll up or down one line at a time by pressing Control+Shift+Up or Control+Shift+Down. In this document shows: Control + Shift + Up / Down can scroll up or scroll down the gnome-terminal one line. And, yes, they can! Now, I want to re-map these two shortcut keys, l...
[OPTIONAL] I'm a vimer too and I feel uncomfortable with the default Ctrl position so I remapped the Window's Meta to be an additional Ctrl key. NOTE: you'll need xmodmap. remove Control = Control_L Control_R remove mod4 = Super_L Super_R add Control = Control_L Super_L [STEPS] To remap Ctrl + J and Ctrl + K in Kons...
How can I remap the shortcut keys for scroll down/up in gnome terminal
1,424,268,416,000
When I use clear command to clear the screen. It is not cleared (see screenshot when I scroll up a bit after command done) So I double the command to get right behavior: $ clear && clear && DD=0 ... Why do I need to double the command to get cleared screen? UPD Actually if I just clear I got cleared screen. But I c...
The important thing to note here is the tag on the question. This behaviour is specific to GNOME Terminal and any other terminal emulators that are built upon libvte. You won't see this in Xterm, or in Unicode RXVT, or in the terminal emulator built into the Linux kernel, or on the FreeBSD console. What happens in g...
Why `clear` do not clear whole screen?
1,424,268,416,000
I know that I can set a TMOUT variable to automatically end a bash session after a specified period of inactivity. However, what I want is to apply that only to my 6 built-in virtual consoles, which are accessed by ctrl+alt+{F1...F6}. I almost always use a Terminal app when I want to open a terminal. When I leave my c...
You could check if you are running in a graphical terminal and only set TMOUT if you are not. An easy way to do this is the tty command: tty - print the file name of the terminal connected to standard input When run from a GUI terminal emulator: $ tty /dev/pts/5 When run from a virtual console: $ tty /dev/tty2 S...
Can I set a bash timeout only for virtual consoles (ctrl+alt+{f1-f6})
1,424,268,416,000
In gnome-terminal if I choose File->"Open Terminal" or "Open Tab" I get a new window in the same directory as the current window. I would like to create a gnome-terminal profile that starts in a particular directory. I have experimented with the "run a custom command" option in the "Title and Command" section of the...
I did some testing, and the following worked for me as a custom command: sh -c "cd /path/to/dir; exec bash"
Set starting directory for gnome-terminal profile
1,424,268,416,000
Is it possible to select a different language for a specific application? On some systems I run Fedora15/Gnome in German, but want to use the Terminal in English including for the simple prompt questions like: Y/N instead of j/N = Ja/Nein etc.
You can launch any program with a different language by setting the LC_MESSAGES environment variable (or LANG to include other regional settings besides display language such as sort order, number and date formatting, etc). $ LANG=en_US gnome-terminal Keep in mind that anything you launch FROM that terminal will inhe...
How to get gnome-terminal in English?
1,424,268,416,000
xterm has a modifyOtherKeys option that tells it to construct an escape sequence for various key combinations that are normally not available. That option can be enabled in .Xdefaults, or with a control sequence from within the terminal (echo -n -e '\033[>4;1m' does the trick for me). This option allows for more key c...
No, but there's an open bug asking for this: https://bugzilla.gnome.org/show_bug.cgi?id=730157
Does gnome-terminal have an equivalent for xterm's modifyOtherKeys?
1,424,268,416,000
I probably misconfigured something, but I don't know what. (see UPDATE 1 and 2 below) In gnome-terminal, when I hit Alt (without any other key), it immediately sends ^[< to the terminal (I tested by hitting Ctrl+V before Alt). Since I use Alt+Tab a lot, this is very unfortunate, because the control sequence will, for ...
It is a hardware defect and was confirmed by the manufacturer. Replacing the keyboard solved the issue. Thanks for helping to investigate!
gnome-terminal: strange control characters on Alt key
1,424,268,416,000
I am trying to use the solarized color scheme in VIM using gnome terminal (Ubuntu). When I run vim without tmux, it looks great, see below: If I add the following commands to my .bashrc # tmux configuration tmux attach &> /dev/null if [[ ! $TERM =~ screen ]]; then exec tmux fi and start the terminal with tmux,...
The value of $TERM must be screen-256color, so that Vim correctly detects the availability of 256 colors. (tmux reuses the terminal definitions of screen, as this tool implements similar multiplexing.) You either need to set the correct value for TERM inside tmux adding the line set-option -g default-terminal "screen-...
VIM solarized color scheme looks wrong when using tmux
1,424,268,416,000
I'm new to unix. I typed this command in ubuntu terminal: pwd | echo I expected to see the output of pwd in terminal(/home/fatemeh/Documents/Code/test) but the output was just a single empty line. why this happens?
echo does not do anything with standard input; it only parses its parameters. So you are effectively running echo which, by itself, outputs a single empty line, and the standard input is discarded. If you want to see the behavior you are trying to implement, use a tool designed to parse standard input, such as cat: $...
why piping pwd and echo does not work? [duplicate]
1,424,268,416,000
I've become stumped trying to get my terminal to show unicode characters. I've set the LOCALE/LANG environment variables to en_US.utf8: locale LANG=en_US.utf8 LC_CTYPE=en_US.utf8 LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US...
The solution was much simpler. I had to go to the GUI settings for gnome-terminal, visit Terminal -> Set Character Encoding -> UTF-8. -- To keep this as the default in Ubuntu (and sorry to find out that it's a distro-specific solution in this SE forum): gconftool --set --type=string /apps/gnome-terminal/profiles/Defau...
gnome-terminal unicode chars not showing - Locale is set to en_US.utf8
1,424,268,416,000
I used to keep my working directory when opening a new tab in gnome-terminal and want to restore this functionality. My research pointed me to sourcing /etc/profile.d/vte.sh in my ~/.zshrc (I use Z shell), however that does not change the problem, my new tabs still get opened in ~. How can I restore this functionality...
A very simple workaround for you would be including a function in your ~/.zshrc that remembers the working directory and changes into it when opening zsh: cd $(<>/dev/shm/$USER-pwd) __cd(){ \cd "$@" pwd >/dev/shm/$USER-pwd } alias cd=__cd We use /dev/shm instead of /tmp to avoid disk writes, although /tmp co...
vte.sh does not keep my gnome-terminal directory in new tab
1,424,268,416,000
When copying text from gnome-terminal with zsh trailing whitespace is also copied. For example copying the following clearly adds a vertical scollbar on stackexchange site as trailing whitespace the width of the terminal is included: $ echo $0 ...
I assume you have $RPS1 variable set (I have current directory there). If you just unset it with unset RPS1 then trailing whitespace should disappear.
Trailing spaces when copying from gnome-terminal using zsh