General :: Add A Keystroke Using VI?
Nov 1, 2010I have a co-worker who is trying to add the ^1 to his vi file as a single character. Can this be done? I have searched and searched but do not see a way to do it.
View 10 RepliesI have a co-worker who is trying to add the ^1 to his vi file as a single character. Can this be done? I have searched and searched but do not see a way to do it.
View 10 RepliesI have a Logitech Media Play mouse with many buttons. I'm using xbindkeys to create some shortcuts to programs e.g. firefox, gnome-terminal--these work wonderful. What I cannot figure out is how to get the buttons to work for the media player(Ubuntu>System>Keyboard Shortcuts>Sound). I set shortcuts using my win key and letters, hoping to use xbindkeys to send out a keystroke. I have tried to use xmacro but to no avail. xdotool was not helpful, I think it may be outdated(desktop/workspace functions did not work).
My preferred option would be to get mouse events to keystrokes working with xbindkeys and program x(x being whatever works); however, just getting my media buttons to interact with the media play is my ultimate goal.
The <Esc> key has an equivalent two-keystroke sequence within vim, I think I remember.
View 8 Replies View RelatedI've watched with envy as one of my friends is able to erase a URL in the address bar of a browser and paste in another one using a keystroke combination on his windows machine. How can I do that in Linux?
I think he uses CTRL-V in Windows. This combination pastes in Fedora Linux (FC 12 Gnome and previous versions), but it doesn't erase what's there first.
I have two machines one Ubuntu Lucid and one Kubuntu Lucid. They share a bluetooth keyboard through a KVM switch. As of last week both were working. At this point my KDE machine disconnects from the keyboard on the first keystroke. The Ubuntu machine is still okay. What I've tried/checked so far without success
I can connect my keyboard through Kbluetooth but it disconnects when I start typing. The timeout time is set to none. I tried rebooting and then reinstalling the software to no avail. I replaced the batteries in the keyboard. Plugging the bluetooth usb adapter directly into the KDE box. Removing and then adding the trust I find this in the syslog:
2010-09-18 12:09:42 godel bluetoothd[1911] link_key_request (sba=00:1BC:0F:F1:E7, dba=00:22:48:87:B3:49)
2010-09-18 12:09:42 godel bluetoothd[1911] Encryption failed: Permission denied(0x5)
Here's the kbluetoothrc from my home folder
[KBlueLock]
[Code]...
I'm trying to do something a little crazy with my netbook, and I'm looking for some sage advice. Since I'm trying to maximize free screen space on my 10" netbook, I have top and bottom the panels auto-hide. No problems there, and since I use a lot of keyboard shortcuts (some default, some custom) I don't even use the touchpad unless I absolutely have to. My most common apps are shortcutted, and I've got Alt-F2 for everything else. However, by hiding the top panel, I don't have a clock on the screen. This is fine in essence, but when I want to know the time, I have to mouse up to the top of the screen. Not horrible, but it goes against my nature!
So my question is: Is there any way to make holding a key/combo display the time, then have it disappear when the key is released? I would love for this to happen when I hold the windoze key, as it is currently unused.
(btw, my windoze key will soon be an Ubuntu key, the good people at System76 and their free sticker set:[URL]... I know how to add custom keyboard shortcuts, but other than launching a clock app, I have no idea how to make this happen, or if it's even possible.
Running Slackware 12.0 (2.6.29.4), performed an entire package update via slapt-get --upgrade, after the upgrade keyboard is not recognizing every keystroke. I have searched the forums for similar issues, but due to the broad verbiage as to how to describe the problem, I have yet to find a solution.
I'd prefer not to have to upgrade to Slackware 13.0 or my kernel. Prior to performing upgrade, keyboard was working as expected. This really puts a damper on things, I type very fast and use the terminal 75% of the time. Having to backspace and retype is getting annoying.
Please, if anyone has any ideas, I am open to suggestions. Thanks.
I am trying to install Fedora 14 or 15 into a 2008 R2 Hyper-V environment. I can successfully run the install and log into the system as a user. I need to install the integration components so the mouse works. However, I can't find a way to get a terminal window open so I can mount an .iso with the installers.
View 2 Replies View RelatedIs there an equivalent command that will perform the same task as ALT+F4 keystroke? I want to create a simple script that lirc can use so I can set up a button on my remote to close program windows that pop up (like when plugging in usb thumb drives, inserting a dvd, and other windows), and avoid having to remote desktop or go into CLI to kill the window.
View 9 Replies View Relatedcauses a 'p' to appear in tty7 but not the program running in 7 to react as though a 'p' had been pressed.
View 12 Replies View RelatedWhen you open up a file browser, if there are tons of files in some directory, it will be tedious to locate the desired one mannually. For most of the file browsers, the desired file will be located automatically by obtaining the focus when you type the filename. I don't believe that Nautilus doesn't have this feature.So, there must be something I can configure with. Note that I'm just using the default Nautilus with fresh Ubuntu installation.
View 4 Replies View RelatedI have been looking for a way to make whatever window that has focus react as if I middle-clicked into it (paste selection buffer), using only the keyboard. I installed xmacro, xbindkeys, ruby, and xclip to get this working. For Debian/Ubuntu, you should be able to do this:
[Code]...
I just spent a few days ripping out all the broken/buggy apps that are in the opensuse 11.2 official repos so I can finally get working software(openoffice, thunderbird, wine, eclipse, rubygems, rails, and a few others required getting the "official" versions from their respective websites to avoid strange behavior and outright broken functionality).
All of which makes updating more annoying and time-consuming. Why are opensuse packages so different anyway? Anyway, the last thing that I have noticed to fix is Konsole. For some really bizarre reason ctrl+z and ctrl+c do not work without a third keystroke: enter.Maybe this is something new with the KDE team, since they seem bent on making simple things that already work more complex, but given my experience with crappy packages in the suse repos, I am thinking this is the problem. I have looked over all the config settings that I can find and nothing fixes this affront to productivity.
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose
I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:
homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA
I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?
I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?
View 2 Replies View RelatedPackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less.
View 1 Replies View RelatedII'm a front-end web developer, I've always developed on Windows with technologies like XHTML, CSS, Javascript and Flash, I've dabbled with PHP and MySQL. I am well used to Windows workflows and tools, from Photoshop to Notepad++, Filezilla and WAMP server stacks to After Effects, and a swathe more - but always on Windows.I'm at a point where I think I need to start seriously developing on a Linux box, specifically at the moment to create web apps based on Node.js, but compiling tools and programs has become a task I'm more frequently required to do.
My question? I need to get my hands on a user-friendly install of Linux, but which one? I need common interface developer tools (lists welcome) to replace... well as many tools I have on Windows as possible.I need to be readily connected to the internet, I need OS updates to not destroy my workflow by crashing the OS, as I've seen Ubuntu do to various friends. I want efficiency, I need to be able to customise what I need to in order to perform development tasks.I guess this could be a long list, but - I don't have practical working knowledge of the Linux OS, nor how it "compares" to Windows (excuse my faux pas). I'm obviously willing to learn, but I'm far, far more keen to just... continue interface development, just on Linux instead of Windows.
A friend of mine helped me set up a server which includes Squirrel Mail.It?s CentOS 5.3.I have a person who would like to access Squirrel Mail at remote sites.My questions is, I can create an account on the server which has KDE and the usual general applications and he would have the remote access Squirrel Mail but he doesn?t need nor does he want to access KDE or anything else on my server. He just want an account so he can use Squirrel Mail.
View 1 Replies View RelatedI have the impression that not that many people understand the scope and limitations of GNU General Public License. This is somehow my basic understanding of it. If I take a program covered under the GNU license, first of all I have the right to get the source code. Second, I can modify it at will. Third, I can redistribute it as will too but the new code will necessarily will have the same GNU license. This made me wonder how people actually can charge for software derived from Linux, for instance, Red Hat. Well, my impression is that they really make profit only out of services. In this thread [URL] I think I found a lot of confusion, even from a moderator (not intended to offend). Red Hat is based on Linux and it is necessarily covered under GNU. Somebody probably bought the program from RHE and can make it available at no cost.
Nevertheless, the moderator decided to warn the user. In this article [URL] it says the following:"Our training is not designed to promote vendor lock-in. Though these courses are based on Red Hat Enterprise Linux, the source code for [RHEL] is available to the community via the GPL [GNU General Public License]," said Red Hat spokewoman Leigh Day. This thread [URL] shows yet more confused people. Is there is a glitch in this type of license that prevents programs like RHEL to be redistributed for free? Why their license page doesn't mention GNU license? Or the problem is just that people get overwhelmed by this license and are afraid to be penalized and get paralyzed? By the way, RHEL is just the example. The key question is about the license!!
I need to allow certain users (who do not have root access) to be able to stop and start specific daemons
View 2 Replies View RelatedWhat is the general opinion of the Mandriva and Debian distros? Mainly asking what kind of user you consider the distro to be for (beginners, advanced, total newb, whatever), and whether you think they offer as much to an extremely experienced user as they would to a newb.Those are my two favorite distros, and I really like Mandriva a lot. I'm trying to pick one to stick with throughout, but I'm not really sure if Mandriva is too automated and Windows-user oriented like Ubuntu (I haven't really delved into the deeper aspects of Linux so I have zero experience in this area now). This might sound a little elitist but I don't want to be using Mandriva and just be automatically dismissed as a newb on first impression just because I'm using Mandriva (although admittedly I am a bit of a newb at the moment, I don't plan on staying one).
View 4 Replies View RelatedIm trying to get a general understanding put simply.
View 6 Replies View RelatedFriends i am facing some issue with Linux i want to know how many kinds of file do we have in Linux and what are soft link and hard link mean and the difference. However i want to know also why do we use it in Linux
View 1 Replies View RelatedI have a computer on LAN running ssh. I can normally tunnel the GUI application usingssh computer-name -X program-nameBut I wam my full desktop to be running on a remote computer using ssh so that I can just use that computer remotely like a local desktop. For this I think I will need to run KDM (or GDM ) remotely, what configuration do I need to do to make this happen?
View 2 Replies View RelatedI'm wonder what the differences are, especially as it pertains to SharePoint. Why should I pick one over the other or does it matter? Also are there any Linux browser solutions for SharePoint, besides Wine + IE 6.
View 2 Replies View RelatedI have extra P4 PC (Dell Dimension 2400). And I would like to use this PC as NAS. What is the best way to make NAS from a PC.
View 3 Replies View Relatedtar cvf backup.tar -C / / # or tar cvf backup.tar /
produces an archive like etc/ and gives warnings
On the other hand produces an archive like
And gives no warnings. I got the last one from a Debian tutorial.
Which is best for a system backup, do they work exactly the same?
Is there no difference between tar -tvh producing
And tar -tvh producing
From an archive
At this dir /lib/modules/2.6.18-164.el5PAE/ have dir on the name build, if i use the command "DIR" i can see the it there but when i try to cd into this dir it's say " No such file or directory" i Need this dir cause i want to run vmware and it's the c header / kernel dir
View 6 Replies View Related