Ubuntu :: Getting GVim To Play Nice With Unity
May 24, 2011
my idea is to have gvim working like gedit in ubuntu 11.04: when you open a file thru unity's dash, and if there's already an open editor, it opens the file in a new tab.To make nautilus open more than one selected files in gvim's tabs, i used to change the exec line in /usr/share/applications/gvim.desktop to "Exec=gvim -p --remote-tab-silent %F". This trick is working ok in nautilus and also in unity, just like the way I was planning.
However, when i try to open gvim itself without specifying any files (from unity's dash or a launcher set) it fails. Can anyone please help me with this ?
View 1 Replies
ADVERTISEMENT
Oct 19, 2010
Does anyone know the class name for Empathy's chat windows and buddy list? On Ubuntu 10.10:
System->Preferences->CompizConfig Settings Manager->Window Management->Place Windows->Fixed Window Placement
Trying to grab the Empathy window class doesn't produce any results and adding "empathy" as a windows class to control only affects the "about empathy" window and not the conversations or the contact list.
It'd be nice if Empathy behaved like the rest of my programs and allowed me to restrict it to a specific workspace. Not sure what class I should be using.
View 3 Replies
View Related
Jul 20, 2010
I use Vector Linux 6 (based on Slackware 12.1) and I set the encoding to UTF-8 because I use Spanish characters. The problem is that when I try to open files with accent marks, for instance, with xpdf they all look garbled. How can I get xpdf to display the names correctly?
View 9 Replies
View Related
Jun 4, 2010
So some flash games don't seem to play nice with Ubuntu. Some do. I have no problem playing Cursed Treasure, but when I try to play, say, Learn To Fly, the opening page loads, but then when I click the "play" link, it does nothing.
Also, using the latest release of Ubuntu.
View 1 Replies
View Related
Apr 16, 2010
I have vmware workstation installed on my OS and I am now trying to setup several iso.'s as virtual machines inside of vmware.
Here are some of the iso's:
Now, I get as far as the 'Gues Operating System Installation' part and then at the bottom I see a prompt saying "could not detect which operating system is in this disc image. you will need to specify which operating system will be installed". Aren't my iso's operating systems? or are they just apps?
View 1 Replies
View Related
Oct 29, 2010
Ideally, I would be able to have Jack (for supercollider) coexisting happily with other apps that use the audio system, specifically --
Rhythmbox (yes, there are other players but this one interfaces cleanly with my iPod) Oracle virtualbox (which I use for NaturallySpeaking)
The typical recommendation around the web is to configure ALSA to pipe its audio through Jack, which I tried according to [URL]. With that .asoundrc, I could choose ALSA as the driver for VLC and it output okay. But I'm not sure how to tell rhythm box to use ALSA instead of pulse audio. Worse, when I changed my virtual machine's configuration for ALSA (instead of the default pulse audio), the audio connection died -- the alsa ports disappeared from qjackctl's Connections window, and NaturallySpeaking didn't pick up any audio. This is fairly serious because I depend on dictation software to deal with an RSI (dictating English, not code of course) and I'd rather not have to stop Jack just to dictate something.
Rhythm box and virtual box both work perfectly with pulse audio connecting directly to the hardware. In the past, I've gotten pulse audio to route through Jack but it's dicey -- xruns are common and sometimes the audio gets choppy.
What next? I suppose getting the ALSA configuration right is the best thing, but early tests were not exactly encouraging.
(edit) PS I'm using virtualbox for DNS because wine failed me. Completely Plus wine's jack option for audio IO did not work with NS at all. NS works really well in virtualbox so I'm keeping that one.
View 9 Replies
View Related
Feb 10, 2010
Trying to get gentoo to play nice with grub2. failing so far. here's what i got in my 40custom file (doens't work):
menuentry "Gentoo-Linux" {
set root (hd0,7)
kernel /boot/kernel-2.6.31-gentoo-r6
initrd=/bin/bb
}
when i run grub-update btw it finds gentoo by itself but doesn't add it to the menu.
View 5 Replies
View Related
Jun 1, 2011
Each day I need to copy N files from a source location to a mirror at a specific time (where N is very large). Let's say I tell multiple CPUs to each run an rsync simultaneously on a subset of the files (network and disk bandwidth are not an issue). Ideally each CPU would be responsible for a disjoint subset of the N files, but in practice this is sometimes hard to guarantee. (Some of the source files might be "claimed" by more than one CPU.) As a result, sometimes rsync I and rsync J will both try to copy file F at the same time.
Using rsync -avz --delete --temp-dir=/tmp remote:/path/to/source/ /path/to/dest/, let's say rsyncs I and J both see this situation to start:
[Code]...
Now rsync J finishes copying but generates an error when it tries to move its version of FileB to /path/to/dest/ because there's already another FileB there that it didn't see when it started.
Does one of rsync's many options somehow handle this situation? Ideally I'd like an option that tells rsync, "Believe in yourself. You can do no wrong. Feel free to overwrite anything your little heart desires." so that it wouldn't complain about the FileB that has suddenly appeared mid-execution
View 1 Replies
View Related
Jun 17, 2010
I want to set my main PC as a remote desktop so I can use it for programming and data storage remotely. I plan to control it with my netbook running Ubuntu Netbook Remix. If I disable compiz I can successfully connect and manipulate my desktop remotely, but I can't do it with compiz enabled on any settings. Is there a way to fix this issue? Would I have the same problem if I installed KDE?
View 1 Replies
View Related
Feb 12, 2011
i need the unity web player to play some games on my computer but i can because i dont run windows so how do i install the web player?
View 3 Replies
View Related
Nov 12, 2010
In ubuntu 9.10 i installed gvim editor..... if i opened that it shows like following and opened editor and also compiled.... wats this? Anything need to install?
View 2 Replies
View Related
Jun 10, 2010
Is it possible to open text files in gvim in tabs not opening anothe rgvim window for every text file? Just like it is done in gedit: open a file the open another file and it opens in a tab.
View 2 Replies
View Related
Jul 17, 2011
1. I didn't like the icon theme and changed it to Ubuntu Mono Light. But is there a way to get the Min/Max/Close buttons to how they are in Radiance when maximized, or is that dependant on something else?
2. Is there a way to disable the Unity dock, but not the Unity feature where the Min/Max/Close go into the command bar?
View 3 Replies
View Related
Mar 26, 2010
For gvim :hi Include guifg=#8040f0 Is it possible to get #8040f0 in vim?
View 1 Replies
View Related
Feb 21, 2011
After upgrading Squeeze, Gvim and Vim seems to be broken. So I went back to 7.2 by compiling from source. However I am failing to compile the gui version under Debian. I tried the configure options, apt-get build-dep vim etc but nothing seems to work. Does anyone know a straight way to make it work? Or even a way to find the previous version of vim gtk?
View 1 Replies
View Related
May 25, 2010
I get this error when I start gvim:
Code:
View 1 Replies
View Related
May 25, 2011
Recently, I've installed vim like so:
hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean
So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:
[Code]...
View 2 Replies
View Related
Sep 13, 2011
set lines=999 columns=999
doesn't work, and
au GUIEnter * simalt ~x
only works for Windows.
View 2 Replies
View Related
Jul 6, 2010
I'm new to vim and gvim, but I feel its power so I want to learn it. I've been searching very long how to use gvim keyboard shortcuts but I simply cannot find out what is for example the vertical splitting command '^Wv'? I've tried (ctrl/super+ a lot of things) (and other combinations, but without success).
View 2 Replies
View Related
Apr 8, 2010
I use ":!shell_command<enter>" OR ":sh<enter>" in gvim to execute shell commands or to get a shell. But I am getting an 'sh' shell. Is there a way to get the 'bash' or 'csh' shell from within gvim?
View 1 Replies
View Related
Jan 4, 2011
I have to share gvim binary over the NFS for users on a x64 machine. I can't find it over the internet. Is there anyway I can convert the vim-X11.rpm to .bin? or achieve the same in any other possible way.
View 1 Replies
View Related
May 8, 2011
Just moved to Ubuntu 11.04 with unity and only have one problem...For most of my desktop needs I prefer to have the Unity Launcher up all the time (fullscreen apps don't cover it), and have set this option with ccsm.
However, when I watch mythtv, it is also under the launcher (and the top panel as well). How can I force mythtv to cover the launcher?
What I really need is a keyboard shortcut to hide the launcher, but the only shortcut is for "show launcher". (I guess the devs assumed everyone would want it hidden by default).
This, by the way is not my usual way for viewing mythtv. I have a projector attached to the desktop PC and it doesn't get a Unity Launcher by default (in Twinview), so no probs. However, occasionally I want to watch something on my computer screen, and that is when this issue arises.
View 2 Replies
View Related
Sep 30, 2010
I have freshly installed an Ubuntu 10.04.1 by internet.
All is running well, but my nice values are all set to 0. Is there a script that handles these at boot time? How can I reset them to "appropriate" or "normal" levels (e.g. not all at 0)? I know in other installs, my nice levels vary depending on the process and the user.
Attached is a screen shot of my gnome-system-monitor, and aside from init, which I had set to -15, all others are at 0.
Computer specifications:
Linux AMD-LNX000 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
AMD Athlon 64 Processor 3000+
[Code]....
View 6 Replies
View Related
Apr 3, 2010
I have a minor problem with gvim. My gvim never maximizes. Whenever I try to maxmize it automatically shrinks from right side and bottom. Don't know if anyone else faces this problem, but I have faced this even after re-installing the system It is not a show stopper but surely an irritant.
I am using openSUSE 11.2, KDE 4.3.5.
View 2 Replies
View Related
May 16, 2010
I use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark
However, gvim has black on white text. How do I do either of the following: Set the background of gvim to black Check in .vimrc if I'm using gvim I tried this: I started up gvim, and typed echo &term. The answer was "builtin_gui". So I wrote the following into .vimrc:
if &term == "builtin_gui"
set background=light
else
set background=dark
endif
Somehow, it didn't work.
View 1 Replies
View Related
Nov 12, 2010
I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box. Is there something I need to install on the remote machine? I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.
View 1 Replies
View Related
May 8, 2011
I loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I also loved editing text files with GVim.
However, if I double clicked file on Nautilus to open a text file in Gvim, then saving a file will take about 10 seconds and GVim will hang for that amount of time. The major irritant is that I cannot continue editing while the text editor is waiting for the write to finish, this delay interrupted my workflow and thought process and saving becomes a painful process. The other problem is that I don't think simply uploading a file should take that much time.
I'm aware of GVim's internal FTP support, but they are not as well integrated with Nautilus's FTP and it suffers from the same problem.
So a few question:
Is there a way to make GVim or GVFS to save in background while I continue editing?
Why is GVFS so slow? Is there any way to set GVFS to use a single persistent FTP connection instead of creating a new FTP connection each time?
I'm on Gentoo Linux x86-64.
View 1 Replies
View Related
Mar 19, 2010
I'm working on RHEL5 dealing with AS (ActionScript) files in Linux GVIM Editor but everything is in blue color. Can i set color coding for my keywords?
View 3 Replies
View Related
Mar 25, 2010
Running Slackware current and KDE4. Every time I start up, gvim autostarts as soon as the KDE desktop shows. There is no command in .kde/Autostart for this. I have ticked always start with an empty session in the session manager. I cannot see why gvim is starting every time. How can I stop this?
View 5 Replies
View Related
Mar 21, 2010
In windows when I install gvim/vim, it automatically installs a context menu in explorer that lets me edit a file in gvim by simply right clicking and pressing v. For someone who edits a lot of files and is really used to vim, it is super-convenient. I want to do the same thing in nautilus. So I installed nautilus-actions and added to the context menu of editing with gvim. That wasn't hard. The hard part is getting that keyboard key to bind to that context menu item. Currently when I right click and press v, it sends the item to trash. I want it such that when I right click a file and press v, it edits the file in gvim. How can I do that? I want a good solution, and am willing to switch file managers/window managers if need be. This particular shortcut key is very important to my user experience.
View 1 Replies
View Related