Ubuntu :: Default Contents For The File That Opens - When Run Gksudo Gedit /etc/grub.d/05_debian_theme
Jan 9, 2010The default contents for the file that opens when you run gksudo gedit /etc/grub.d/05_debian_theme in terminal.
View 3 RepliesThe default contents for the file that opens when you run gksudo gedit /etc/grub.d/05_debian_theme in terminal.
View 3 RepliesAny time I'm following a tutorial or guide on something that involves gedit, the files I'm attempting to edit are opened as blank and I can't save them even if they weren't blank because it strangely thinks they aren't there. (see attachments)
View 2 Replies View RelatedI'm using Fedora 10 with XFCE. Every time I open Gedit, it opens a instance on every workspace. The circle icon on my window border is selected (meaning, enabled on all workspaces). When I disable it to appear on one workspace, then close and restart(program), Gedit opens normal (current workspace). Question is: How to keep this current configuration? If I restart my system, and start up Gedit, it appears on all workspaces again.
View 1 Replies View Relatedgksudo nautilus sets the background to default (Because nautilus is rendering the desktop) I set the gconf key to stop it rendering the desktop, but this only affects the icons. How can I get it to give me back my background? Edit: Fixed the desktop (--no-desktop option on nautilus command) - need to find how to kill the nautilus process automatically when I close it.
View 9 Replies View RelatedI already had ubuntu 32 bit version 9.10. but due to some tool compatibility reason I need even the 64 bit version 9.10. I dint want to delete 32 bit version so I wanted to install both on my system. I have windows vista as well.
So I booted with 64 bit version of Ubuntu, went on with the installation, until the point were it asks to choose the partition. 32 bit version had 16GB allocated and 10GB free. so I thought I will make new 8GB partition from the 10GB free space. So I selected the partition and clicked on change, and specified 8GB and ext4 format and mount point as "/". I clicked on continue and in a few seconds it popped up with an ERROR message, which I can't remember exactly, but it meant to say that it could not make the changes as the disk to which the changes were made is in use. So I should not use it until I reboot. So I rebooted and now I have grub error : file not found and grub rescue> prompt.
I tried to boot with the 64 bit CD again with the option of trying ubuntu without making any changes and it does show the 16 GB partition, but when I mount that partition I do not see any folders in the partition except for a folder named "lost+found". I try to view the contents of this and it says I do not have the permissions.
I've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.
I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.
I configured the shortcut Alt+G to fire up mini editor gedit, which is fine. But when I press Ctrl+O to open a file, it searches directory /, the very root. While I want it to open automatically in /home/urdata/java/, for instance. The man-page doesn't tell me and the Preferences... inside gedit do not cover it, it seems.
View 1 Replies View RelatedHow can I set 7ZIP to be the default program that opens .rar files? I am using Ubuntu 10.04 32bit LTS
View 2 Replies View RelatedDue to a motherboard issue, I need to edit a parameter in the "etc/default/grub" file.
However, the problem is, that file doesn't exist.
Grub does seem to be installed, I can get into grub from the command line etc.
This is a fresh install of Ubuntu Server - 10.04.2 LTS
Brand new box, no previous installs of anything, no other operating systems etc.
Is there somewhere else that file could reside ? I tried find -name '*grub*' and got plenty of files, but none are the one that I need.
Is there someway to generate this file ?
I remember when installing from the CD it asking about grub, but I don't recall which option I chose, it was whichever one was the default.
This thing won't reboot right after power loss etc until I can edit that value... which at the moment seems to not exist....
Btw, I'm not a total linux noob but far from an expert, so I may need any answers "dumbed down" a bit.
EDIT (more info):
It seems that I have regular "grub" and not "grub2" installed... I'm assuming that is part of the problem ?
My version: grub-install (GNU GRUB 0.97)
Does this version of grub allow you to edit options etc ?
Specifically, what I need to do, is edit this value: GRUB_CMDLINE_LINUX_DEFAULT
I need to add "reboot=a" to this line.
I have been helped by repo in this post [URL]..Here's a quick resume: I made changes in the grub menu for just one boot I selected the first option Ubuntu with Linux 2.6.35-27-generic edited the Linux /vmlinux ro quiet splash by adding irqpoll to the end. I rebooted and the system booted correctly into the GUI.
I then tried to edit the /etc/default/grub file by booting into the recovery mode, opening a terminal, using command sudo vi /etc/default/grub and adding irqpoll to the end of the GRUB_CMDLINE_LINUX DEFAULT="quiet splash". Followed by update-grub to update the /boot/grub/grub.cfg file
Unfortunately when I try to reboot I find that the system will not boot and hangs as before on the purple screen after a logon. I know that I have edited the /etc/default/grub file correctly because I have confirmed this by reviewing the file. So my question is why does the "one boot method" work but the edit file method not work ? I must be doing something wrong.
I am trying to change to boot order in grub, but I keep running into the same problem.I find instructs me to go to /boot/grub/menu however that file doesnt exist on my computer. in my /boot/grub directory file names go from memrw.mod to minicmd.com with nothing in between.I am using an up to date release of Karmic Koala.
View 2 Replies View RelatedI'm a ruby on rails programmer, and I installed a snippet that supports .rhtml or .html.erb code (the rails code) in GEDIT HOwever, everytime I make a new .html.erb file, the snippet doesnt automatically activate the document. I have to manuelly go up to View=> Highlight Mode => Scripts => RHTML How can I set it so that all the files that have an .html.erb or .rhtml extension automatically use that snippet?
View 1 Replies View RelatedI'm studying an OS programming book, in particular network sockets. I have two questions(2nd one is down at the bottom). There is something I don't quite understand. What if this piece of code, which sets sigpipe's default action to ignore and opens a socket:
Code:
if ((u_ignore_sigpipe() != 0) || ((sock = socket(AF_INET, SOCK_STREAM, 0)) == -1))
return -1;
[code]....
I just started using FireFTP instead of FileZilla because I got fed up with FileZilla not opening remote files and not recognising the default editor Gedit.
I really want to use keyboard shortcuts with FireFTP, which is possible according to the help docs on-line, but there is no option to use shortcuts anywhere even having enabled FireFTP to open in a new window. I tried it in Shiretoko 3.59 and Firefox 3.18 with no luck.
I just tried removing FileZilla and it does not appear in my list of installed apps. It appears in the full list as uninstalled but when ticking the box to install gives this message. FileZilla FTP client cannot be installed on your computer type (i386). Either the application requires special hardware features or the vendor decided to not support your computer type. I already have FileZilla..so how is that?
I am using the Gnome desktop in Lenny 5.03The default Gedit paper size is "US Letter", which is almost right for my HP Laserjet 4L, except that about .5 inch at the top and .25 inch at the left margin are cut off.I have defined a "Custom Size" under File -> Page Setup -> Manage Custom Sizes... with margin settings that solve the problem, but this "Custom Size" only remains the default Paper Size for printing until Gedit is closed.Using what appears to be the same gnome dialog from epiphany and evolution, the Papersize settings stick, but not from Gedit. I cannot locate any configuration file to edit, and nothing in the gconf editor seems to apply.
View 4 Replies View RelatedIs there any gedit plugin, which expands folders of file browser side pane and shows currently editing file, while user switches between tabs?
View 1 Replies View RelatedI'm using Fedora 15 on my Dell Inspiron 17R (dual booting with Win7) I'm trying to edit the GRUB menu after an update, but when I try to gedit the menu.lst file, I'm getting an error.
(gedit:1884): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. Terminated Is this an error I can resolve? Did I do something to break it
I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:
Code:
#!/bin/sh
exec tail -n +3 $0
[code]....
My system is an Acer Aspire One Happy netbook. It runs Windows 7 OEM. I installed Ubuntu Netbook Remix, which works fine. Unfortunately, I put GRUB in the MBR (I wanted it on Ubuntu partition in order to use Win 7 bootloader). Acer netbooks seem to have a particular MBR (in order to run e-Recovery Management), which is different to the standard Windows 7 MBR.
Moreover, in the internet there are instruction to restore Acer MBR, but they do not seem useful, since I do not find the MBRWRWIN.EXE and RTMBR.BIN files on the hidden partition. Is there a way to tell GRUB to remove itself and restore the previous content of the MBR (something like the old "lilo -u")? Does GRUB make a copy of the content of the MBR before installing itself? Where is it, if it is so?
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
I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.
View 4 Replies View RelatedWe have some large files with sampling data in it. Don't want to delete these files. But want to quickly overwrite the file with 0s and/or 1s and preserve the original file size.
View 3 Replies View RelatedI set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
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?
View 3 Replies View RelatedI have one install that I have managed to get anything that I cannot right click and choose what I would like to open it in to open in Movie Player (totem) and for the life of me cannot remember where setting is. Did this before but cannot seem to remember how I fixed it. Anything under Places drop down menu you cannot right click on and select to open so opens in movie player.
View 1 Replies View RelatedI created a password-protected .doc file in Windows yesterday using the latest version of OpenOffice (3.2.1)Opening the file worked perfectly; double-clicked the file, OpenOffice popped up and prompted me for the password, then it let me edit the document as usual.Tried it on another computer with Microsoft Word; worked perfectly as wellFor some reason though, it won't work in Ubuntu (10.10). I'll double-click the file, it'll open with OpenOffice and prompt me for the password, but once it opens it's in "Read Only" mode.I tried it on another Windows computer, just to see if it would work, and it did.I right-clicked the .doc file and looked at the permissions: (picture edited for privacy)Every time I tried changing it from "Read-only" to "Read and write" it automatically (and immediately) switched back to "Read-only"
View 6 Replies View RelatedI created the document in gedit and save button is disabled. It says "Changes to document 'Unsaved Document 1' will be permanently lost. saving has been disabled by system administrator"
View 9 Replies View RelatedOk, so I'm trying to do this: [URL]
The problem is, when I get to the part where I have to open the file in gedit, it says it can't open it, file not found, or something or other..So, when I manually browse to the directory '.local/share/..' there is no folder named 'applications,' only a text file. When I open it, it appears to be the home launcher file, but its in the wrong place and has the wrong name. What's going on? Shouldn't there be a folder there with my applications in it?
I would like to know how I can replace a string in one file with the complete contents of another life.
View 10 Replies View RelatedI have two files list1.cfg and list2.cfg both files contains differentrecords details like
List1.cfg
NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME LINE2:
CITY:25:C:City:
[code]....
Now I want to append contents list2.cfg to list1.cfg(It ispposible using cat list2.cfg >>list1.cfg) but I want to check if content of (record) in list2.cfg is present in list1.cfg then dont append it otherwise append it.