General :: Tell GEDIT To Reload Currently Opened File?
Jul 29, 2010
I am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.
all my compressed files have gedit icons, and when I right-click them, instead of having the "unzip here" option, it just says "open with gedit". Why would this be the case??? How do I fix it? it's really inconvenient to have to open up my terminal and unzip everything that I want uncompressed, when I used to be able to just right click it and say "extract here".
I know GEdit has a bug which prevents it from opening a file with null () characters in it. This is a huge inconvenience for me because I frequently have to open big log files with only a couple rogue 's in them.
Sometimes I just run a quick tr -d '' < file.log > file.log.correct and open the correct file. This is a big nuisance. I would like to have maybe an external tool in GEdit that would execute the above command. I tried writing an external tool action (GEdit plugin) using just:
#!/bin/bash tr -d ''
Input is "current document", output action is "replace current document". But this isn't working. When I open the file, GEdit shows the familiar red warning; activating the external tool with the warning showing apparently has no effect (I think the script is being called but its input/output are not set).
If a file is opened from the common prompt with something like: gedit somefile & Is there a way to close somefile while leaving the instance of gedit still open? My idea is that sometimes I will have more than one file open in gedit. I run a script daily that updates to a log file. The log file is then opened and viewed with gedit.
We have ubuntu server and bind9 installed and setup.When I issue rndc reload or /etc/init.d/bind9 reload I got this:rndc: connection to remote host closedThis may indicate that* the remote server is using an older version of the command protocol,* this host is not authorized to connect,* the clocks are not syncronized, or* the key is invalid.If I issue named-checkconf /etc/bind/named.conf I got this:/etc/bind/named.conf.local:165: unknown key 'rndc-key'I got the key files in the right location but I'm not sure if we even need to use them.
My ubuntu partition is 19GB on 80GB hard disk. Then Reformat Hard Disk to 50GB and reload partimage image file. After reload the image file, using df to check Still 19GB.
I've noticed that emacs does not notice when an open file is changed on disk (unlike ,say, geany). Is there any way of making it watch for changes of files on disk?
I have this wma file that I want to play and I looked around and found alot of ways to make this happen. However, none has work for me. But first let me explain my problem. I have these wma files that just wont work but they worked once before. Now when I try to open the files all I get is some message that the file can not be opened. I have done many efforts to make it work including things like medibuntu. BTW, there was this once moment that when I tried to open the file it PLAYED! but then after it did not open.
I'm not 100% sure if this is the right spot for it, but I'm having trouble unzipping files. I've downloaded a good few fonts from dafont.com, from different authors and with different browsers and I still get errors. First I opened the .zip with Archive Manager
Code: 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=en_ZA.utf8,Utf16=on,HugeFiles=on,2 CPUs) Error: /media/42E6F8E2366C0906/Fonts/panhead.zip: Can not open file as archive Errors: 1
I then tried Code: ross@Ross-PC:~$ unzip /media/42E6F8E2366C0906/Fonts/panhead.zip and got this output Code: Archive: /media/42E6F8E2366C0906/Fonts/panhead.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: Cannot find zipfile directory in one of /media/42E6F8E2366C0906/Fonts/panhead.zip or /media/42E6F8E2366C0906/Fonts/panhead.zip.zip, and cannot find /media/42E6F8E2366C0906/Fonts/panhead.zip.ZIP, period.
I do have p7zip-full installed, but it isn't a .7zip file?
-The Mkv video file cannot be opened by the Mplayer due to something that I don't know. I try to open it via the gnome-terminal and end up with something like this:
The, I try to play it with VLC media player. Everthing seems fine but after few minutes, I can see the lagging of the video and distractions on the screen.
Then, I've open my Windows 7 and play the mkv files with the KMplayer, everything is fine. No lagging, no distractions.
I've already updated the ubuntu-restricted-extras. I've already installed the libxine1-ffmpeg and nothings good appeared.
I've already installed the mkvtoolnix-gui (which is i don't know what is it) but similar prob appear.
how did play mkv files? With no lags or disctractions?
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6 cp user.reg ~/user.reg.old gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
I have a server installed with a Fedora 8 and the other client PC were installed with Windows XP. Recently, I copied an educational courseware (this courseware is developed specially for Windows based PC) into the Linux-based server. I found that the .EXE (application file) :were unable to be opened in all of the clients and also the server. How can I solve this problem?
Is there any limitation on the number of file descriptors that can be opened. If yes how to find the maximum number of file descriptors that can be opened at a time.
My program need to monitor the foler to know which file under the folder is being opened/created for writing. I add the folder into watch list using inotify_add_watch, when a file -- say 'AA' -- is created, I'll get the event through read api call. But the inotify_event only have file name 'AA' and a event mask. these parameters can't help me to know how the 'AA' is created/openned. So I have to scan the /proc folder to get to know how is 'AA' created/openned. I don't think this is a efficient way, especially if there are lots of files are openned/created in a short time span.
E: Read error - read (0: Success) E: Problem closing the gzip file /var/lib/dpkg/status - close (0: Success) E: The package lists or status file could not be parsed or opened.
When I am opening the synaptic manager its showing the following error: E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report. So How can I open it?
I keep getting this messageCould not initialize the package informationAn unresolvable problem occurred while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:'E:Encountered a section with no Package: header, Eroblem with MergeList var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_bina ry-i386_Packages, E:The package lists or status file could not be parsed or opened.'
Looks like my package manager was severely screwed. Any package manager-related command I try to run results in the following message in the console:
Code:
E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened. Anything - aptitude, apt-get.
I removed all my sources.lists, I tried running apt-cache clean It didn't help. This is really serious. Not only am I unable to do anything with packages (update, remove, install), but the machine is really slow because of this.
Whenever I edit a spreadsheet in Gnumeric, I have to have an argument about saving the edited version. First, it says it wants to save it in Gnumeric's XML format instead of whatever format I opened it in, and then I get a dialog warning me the file already exists,is it OK to overwrite it? All my spreadsheets are either .odt or .csv. I just want to be able to open, edit and save without an argument every time. It's like telling a child that it's bed time and having the same argument every night, and it's getting on my nerves.Is there a setting where I can get gnumeric to obediently save the edited version, or do I just have to put up with the slower opening times of LibreOffice instead?
Reading package lists... Error! E: Problem parsing dependency Depends E: Error occurred while processing python-glade2 (NewVersion2) E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened.
the location bar at the top disappears every time I close and then re-open it, and I have to hit View/Location Bar to get it back. Is there a way to permanently keep it there?
If i type gedit while as root it give this warningQuote:(gedit:5655): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supportedGConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)And over the time, the paragraph block from GConf Error.... to ...was broken is repeated again and again