In a terminal I have Alt-C
and Alt-V
shortcuts to copy/paste.
That's why I want make the same to system wide.
How to remap system wide shortcuts Ctrl-C
and Ctrl-V
to Alt-C
and Alt-V
?
Ubuntu 18.04
I read in some article that
Ctrl+P - to display previous command
Ctrl+N - to display next command
But in my terminal it doesn't work. What might be a problem here?
I really would like to display previous/next command right away without using arrow.
And I know about !!
UPDATE: I'm under zsh shell, can I have that functionality under zsh shell?
I was experimenting with WiFi settings and after that I've set everything back but doesn't work as it was before.
Is there a way to reset wifi setting as it was at the first start?
I have two servers, they're identical (I believe), production and staging servers.
And I have upstart script in /etc/init/
folder.
description "Discoure process"
setuid deploy
setgid deploy
respawn
respawn limit 3 30
start on runlevel [2345]
stop on runlevel [06]
script
exec /bin/bash <<'EOT'
echo \"$HOME/.rbenv\"
cd /home/deploy/discourse/current
bundle exec bluepill load config/discourse.pill --no-privileged --base-dir tmp/bluepill --logfile log/bluepill.log
EOT
end script
On the staging server it works well, but when I'm running that script on production server then the HOME variable is empty, the code echo "$HOME/.rbenv"
is evaluating to "/.rbenv"
What might be a problem here? Thanks
I want to run upstart job. I've created upstart file and put it to /etc/init
folder
#/etc/init/myjob.conf
description "test job"
start on runlevel [2345]
exec /home/megas/test.sh
and then created script in home directory
#/home/megas/test.sh
#!/bin/sh
echo "test job, reporting..."
Then I'm trying to run
sudo start myjob
but got message
start: Job failed to start
What I'm doing wrong? How to create upstart job?
I have a linode instance, I was successfully connecting to it via ssh.
But I've decided to rebuild my instance and then I can not connect to that instance via ssh.
The linode works correctly because I can get access via Lish (lonode ssh)
I've tried to clear known_hosts with:
ssh-keygen -R 212.71.xxx.xx
But I still getting message:
ssh [email protected] -v
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 212.71.238.74 [212.71.238.74] port 22.
debug1: Connection established.
debug1: identity file /home/megas/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/megas/.ssh/id_rsa-cert type -1
debug1: identity file /home/megas/.ssh/id_dsa type -1
debug1: identity file /home/megas/.ssh/id_dsa-cert type -1
debug1: identity file /home/megas/.ssh/id_ecdsa type -1
debug1: identity file /home/megas/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1.1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA c5:c3:a7:c0:5a:25:a1:64:c4:04:0c:42:bb:46:f6:96
debug1: Host '212.71.238.74' is known and matches the ECDSA host key.
debug1: Found key in /home/megas/.ssh/known_hosts:1
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/megas/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/megas/.ssh/id_dsa
debug1: Trying private key: /home/megas/.ssh/id_ecdsa
debug1: No more authentication methods to try.
Permission denied (publickey,password).
How to resolve this problem? Thanks
In previous versions of Ubuntu I could press the combination of keys several times (Ctrl+Alt+Num4 or Num6) to re-size window to different width.
Now this functionality doesn't work on Ubuntu 12.04. Though it possible to place to left/right/top/bottom corners with different width so left/right placement should work somehow.
How to restore the left/right placement with changing width?
My application is sending HTTP requests to some server and I want to see the actual data that it is sending out. Some specifics I would like to see:
What is the best and simple way to accomplish this?
I'm trying to install deluge through synaptic package manager
but I got problem:
deluge:
Depends: python-libtorrent but it is not going to be installed
I have tried reinstall python-libtorrent by apt-get and also I got problem:
The following packages have unmet dependencies:
python-libtorrent : Depends: libtorrent-rasterbar6 (= 0.15.7-1) but 0.15.9+svn.r6292-0ubuntu1~natty is to be installed
How actually I can install deluge? Thanks
After this command
sudo apt-get install openal
I got this message:
E: Unable to locate package openal
In different audio sources the level of sounds are different. It's very annoying to set the level of sound on almost every media content. Sometimes, when previously you had something quiet, you had to adjust it louder and after some time you want to play another media - bang! it unexpectedly breaks your headphones, the sound is so loud!
So, is there some plugin/feature which can automatically adjust the level of sound on every media content?
When I was installing the application (tracker-0.10.24) I've got this message:
Package requirements (glib-2.0 >= 2.26.0
gobject-2.0 >= 2.26.0
gio-unix-2.0 >= 2.26.0
dbus-1 >= 1.3.1
dbus-glib-1 >= 0.82) were not met:
No package 'dbus-1' found
No package 'dbus-glib-1' found
I can go to ubuntu packages and install them step by step, but I think here's should be more convenient way. How to install all these libraries?
I'm under Ubuntu 11.04 using RubyMine IDE.
I can't copy any text from this IDE by shortcut key Ctrl+C
, in another applications it works well. The copy function from context works well in RubyMine.
Interesting fact that I worked with RubyMine under Ubuntu 11.04 as guest OS in virtual machine (Ubuntu was in classic mode). Shortcut key worked well there.
It seems to me that here's some intersection between Ubuntu's and RubyMine's shortcut keys. How to detect this intersection and how to fix it? Thanks
Since Ubuntu 11.04 has removed the session save feature, is it possible to write a script to open certain applications in specified workspaces and set their position? Please provide an example (for terminal, browser and etc.).
On windows I used BitComet torrent client which has great feature - download files in preview mode so I can see movies right away.
uTorrent declared to be able to download files in preview mode but in real it doesn't.
Which torrent client has real preview mode?
I've changed shortcuts for terminal to copy, Ctrl+C, paste, Ctrl+V, and interrupt the application, Ctrl+J.
Copy and past works fine but interruption doesn't.The terminal just doesn't react on Ctrl+J shortcut. So then I should put command stty intr ^J
for every session to make terminal work properly.
Is there the possibility to fix this problem?
I opened and changed startup programs in Startup Application Preferences. Then after reboot the preferences didn't change, they are the same as it was before. Why I can't change nothing and how to really setup Startup Application Preferences? Thanks.
I've installed System Load Indicator and set 'autostart' in preferences. For some reason it doesn't load at starting system.
How to find out the name/command of this application and then I can add it to "Startup Applications Preferences"? Thanks.
I've just installed Ubuntu 11.04 and there no internet connection.
Firstly I've tried sudo apt-get install aptitude
, but it says that there's no installation for this.
Then I downloaded on USB memory apt_0.8.3ubuntu6_amd64.deb
package (as I understood that this package has aptitude installation) and installed it. Then I tried sudo apt-get install aptitude
and again no success.
How to install aptitude without internet connection?
I've installed compiz setting manager. I interested in winodw management section, grid plugin. The short key for "put center" is KP5, i assumed that is Ctrl+Alt+5. But when I using this combination nothing changed. The num is on on the numpad. What exectly should I press to move window to the grid? Thanks.
UPDATE: Maybe the problem caused by virtual machine? I'm running Ubuntu as guest machine. But another hotkeys work well.