Ubuntu :: Default Directory For Gedit?

May 8, 2011

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


ADVERTISEMENT

Ubuntu :: GEDIT DEFAULT Snippet - Doesn't Automatically Activate The Document

Mar 12, 2010

I'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 Related

Ubuntu :: Default Contents For The File That Opens - When Run Gksudo Gedit /etc/grub.d/05_debian_theme

Jan 9, 2010

The default contents for the file that opens when you run gksudo gedit /etc/grub.d/05_debian_theme in terminal.

View 3 Replies View Related

Ubuntu :: FileZilla Not Opening Remote Files And Not Recognising The Default Editor Gedit?

May 26, 2010

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?

View 1 Replies View Related

Debian Multimedia :: Can't Make Default Paper Size Stick In Gedit?

Jun 1, 2010

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 Related

Ubuntu :: Installing Explorer - Command Gedit User.reg (gedit:2573): Gtk-WARNING ** Cannot Open Display

Jan 12, 2010

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

View 3 Replies View Related

OpenSUSE :: Gedit With Sudo - (gedit:7137): Gtk-WARNING : Cannot Open Display

Feb 8, 2010

I 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?

View 9 Replies View Related

Software :: Scroll One Line Each Time Like Gedit Does When Scrolling In Gedit?

Oct 29, 2010

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 Related

Ubuntu :: Putting The Game In A Different Directory To What Is Default?

Jun 6, 2010

I am having trouble trying to install a game which has to be sims 3 the loader and everything loads fine. i am having trouble putting the game in a different directory to what is default.

View 3 Replies View Related

Ubuntu :: Change Users Default Home Directory?

Nov 8, 2010

how to change when running command "adduser" or "useradd" the placement of the users home directory. Have tried editing the /etc/default/useradd file with no results.

I want it to be placed in /var/www And I would also want to know how more folders and files can be created in the home directory automatically.

View 6 Replies View Related

Ubuntu Servers :: Add A Directory In Adition To Default 'www' To Apache2?

May 11, 2011

I have been searching the web and Ubuntu forums all day looking for an answer to what I initially thought would be a simple thing to do. I have set up a lamp server and started creating my network site, however was not long before I ran into an issue with fire fox not allowing me to access locally linked files that are shared on the network which works fine in IE. after several hours of trying to find a work around, I have been unsuccessful in creating a link that would work in both IE and FF.
so I got this bright idea see, to just make the website include the network shared content, unsharing them of course and simply adding them to my Apache server, well the more I read the more confusing it all became. do I use simlinks or do I create a server for each location/hard drive?
I really need a how to for big dummies on adding additional directories to Apache similar to adding virtual directors to IIS for windows.

View 3 Replies View Related

General :: Default Directory For New User?

Mar 17, 2011

I have created a Linux (openSUSE 11.2) fileserver and have successfully created 40 users who map to the Linux box for the purpose of backing up files on their Windows computers. The existing users all sync their files to /mnt/sync_data/home/username. The problem is that when I create new users their home directory (I hope I'm understanding this correctly)is: /home/username. I don't know how to redefine the home directory from /home/username to /mnt/sync_data/home/username.

View 2 Replies View Related

Ubuntu :: Make Nautilus Search In Current Directory By Default

May 14, 2010

I work on Ubuntu 10.04 with Gnome.When I open a directory, I can search with Ctrl-f (edited Ctrl-F instead of F3). However, the search starts in my home directory (the home directory is the default). That can be fixed by adding new criteria in the search results. However, I would like to change the default directory always to the directory or folder from which I start the search.How can I convince Nautilus to search by default for files and folder names in the current directory or folder (the one from which I start searching)?

View 8 Replies View Related

Ubuntu Networking :: FTP Server - Setting Default Directory Per User

Jun 21, 2010

I am using VSFTPD as my FTP daemon. I want it to be set up so that my user (cj) will have a default directory of / when I log on to the FTP server and I want the secondary account (guest) to have it's home directory as the default location without any access to the root of the drive.

I need my account to have the default as / because the FTP client that I use in Windows won't go up to the parent directory of the default. Therefore, I cannot access the rest of my drive.

When I set "local_root" to "/" , it brings both users to the / directory when they sign in, even though the guest account is set to open the home directory with the "chroot_list_enable". It seems like the local_root option overrides the chroot_list_enable option.

Is there any way to set the default directory for each local user separately?

Also, Let me know if this is impossible with this FTP daemon

View 2 Replies View Related

Ubuntu :: NFS Mounted Directory \ The Owner Is The Default Superuser Of The System?

Nov 8, 2010

mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.

View 4 Replies View Related

Fedora :: Changing The Default Mount Directory

Feb 24, 2011

When I add an external device it is automatically mounted by Fedora to /media. Does anyone know if it is possible to change the default mount directory to something else (like /mnt) ?

View 14 Replies View Related

Red Hat / Fedora :: Finding The Default Repository Directory For Yum?

Apr 24, 2011

How can i find the default repository directory ?? one of the reasons why i need to know this is so that i can place any new downloaded .rpm files in that directory and then use
> yum install filenameto install that package .. (does that make sense ?? is that a good idea ??)I just installed a new linux and i am trying to get familiar with the enviroment I know that yum gets the source directories from /etc/yum.repos.d but i really couldnt understand the files in there.

View 5 Replies View Related

General :: Glftpd Multiple Or Non-default Directory?

Mar 18, 2011

I've had enough fighting my glftpd installation by myself, here's the thing.. I got an glftpd server running nicely and all, I've been using the default glftp/site/ directory as incoming/storage/file-folder. However the disk space on my OS-disk is running low and I was hoping to expand the storage with another disk..

I formatted a ext3 disk just as any other and mounted it to a /media/diskdirectory but now what?.. at first I was hoping to merge the disk so that newer files would be stored on the new hard drive while keeping the old ones in place but that seemed hard to achieve so I copied the entire /site/ folder to the new disk so that I could point glftpd to use that directory instead and here's my problem. Simply trying to edit the glftpd.conf or site command change homedir did not work, I have tried mounting, mount --bind, linking(?) all of which without great results.

The mount --bind thing worked though my uploaded files were written to both directories(both hard drives), the old glftpd/site/ and the new mount --bind:ed /media/disk/site directory.Basically I want to use a hard drive that is not the OS drive as the default download/upload directory in glftpd how do I accomplish that?

Of course I tried searching the forums and the glftpd resources available and all I found was an old thread from 2006 that didn't get answered.[URL]..

View 1 Replies View Related

Server :: Can Change Default Ftp Session Directory

Apr 9, 2010

i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress?

View 7 Replies View Related

Server :: SSH Into Particular Directory - Locale Set Back To Default

Jul 20, 2011

So, I wanted to give myself a short cut to not just login to a remote server, but also change into a particular directory once I got there. This was harder than I expected, but this finally worked when I wrapped this up into a shortcut:
ssh -t user@example.com 'cd /var/www/mydir; bash'
And I just alter the directory path to make another shortcut to a different place on the same server. This does work, however, it seems when I log in this way, some of my environment is lost, and my locale is set back to the default "POSIX". That's not good. I'm running Gentoo Linux (amd64).

View 3 Replies View Related

Debian Configuration :: Change Default Ftp Session Directory?

Apr 10, 2010

i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress?

View 6 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related

General :: Default Group Owner Of Files In A Directory?

Sep 10, 2010

have recently installed ubuntu server on a new machine. I have added 3 users and I have assigned them to a group.The three of us work together on a lot of stuff so what I would like to do is to have a specific folder made the groups folder. All files that are created or moved into this folder should automatically be owned by the group. I.e. all 3 of us should have the right to read and write to these files.

View 11 Replies View Related

Server :: Apache - A Default Index.cgi When Directory Is Browsed ?

May 20, 2010

I've set up Apache once or twice in the past, but my memory is escaping me on something simple. This time the OS is Cent5 with Apache/2.2.3

When a user browses to: [url] <nothing else> I get as expected, a '403 'You don't have permission to access' because directory browsing is off for obvious reasons :-) If I enter the full URL to the script: [url]it works as expected. No issues there.

What I would *like* to do (and I'm sure I've done this before) is to set the cgi-bin up so if someone leaves off the script name: http://host.name/cgi-bin/ it serves "index.cgi" pretty much in the same way that if you browse to the root http directory, you index.html||php would normally serve. I just can't remember how to achieve this simple thing and I'm starting to wonder 'am I mad? - Did I do this before?'.

Sanity check - index.cgi exists and runs if you call it directly thus:

Code:

I have added:

Code:

That made no difference.

Tried:

Code:

For good measure, but that made no difference - and even

Code:

and no amount of playing with 'Options Indexes || -Indexes || +Indexes' helped me.

Like I say, I'm sure I've done it before (on Debian/Ubuntu) without the need to start playing with redirects or .htaccess - but I'll be blowed if I can remember how.

View 2 Replies View Related

General :: Set Default Permissions For Files Moved Or Copied To A Directory?

Jan 25, 2011

How to set the default file permissions on ALL newly created files in linux - but differs in important ways:

I want all files created in (or copied to or moved to) a certain directory to inherit a set of default permissions that is different from the system default.

Rationale: The directory in question is the "intake hopper" for an application. Users in a group place files in the directory, and the app (running under another user id in the same group) takes them and processes them. The problem is that the owner of each file placed in the directory is the user that placed it there, and the permissions are defaulting to "rw-r--r--"; I want to change that to "rw-rw----". The app doing the intake can't do that explicitly, because the user id the app is running under doesn't own the file in question, and the default permissions don't allow the app to chmod on the file! Obviously, the user could do a chmod after putting the file there - but I want to keep the "drop" by the user as simple as possible. (These folks are not linux-literate, they just drag and drop the files from their windows desktop to a (Samba) network share - i.e. they don't even know they are interacting with a linux system.)

umask seems too powerful: I don't want to set default permissions for every file created anywhere by these users - just those created in (or placed in) this directory.

View 3 Replies View Related

General :: Concept Of Umask - Default File And Directory Permissions

Apr 14, 2010

I am using Red Hat Linux 4 .There are some few questions in my mind related to umask. I want to know that is the default file and directory permissions ?

- When we use umask (022) command in terminal. and create a new file then the permissions applied for new file is for that session and when the system will reboot linux will take automatically its default permission from etc/bashrc or /etc/profile ?
- Can we make our own umask or the professional way is to follow 022 only ?
- What is the benefit of umask in Linux?

View 2 Replies View Related

Software :: Default Creation Time User Home Directory Permissions.

Jan 8, 2011

When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.

View 3 Replies View Related

Ubuntu Installation :: Missing Default Folder In Shorewall-common Directory After Installation?

Aug 13, 2010

I am setting up a mail server. After installation of shorewall-common, shorewall-doc

Following this link http://flurdy.com/docs/postfix/
For setting up
It requires me to copy thge content of /usr/share/doc/shorewall-common/default-config/rules to /etc/shorewall
cp /usr/share/doc/shorewall-common/default-config/rules /etc/shorewall/

But i observed that the folder default-config is missing. I have purge it apt-get and reinstalled but still it does it have that folder. What could cause this thing and how can i go about it?

View 1 Replies View Related

Slackware :: Default PATH - Python: Can't Open File 'SABnzbd.py': [Errno 2] No Such File Or Directory

Nov 24, 2010

I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory

View 5 Replies View Related

Ubuntu :: How To Get Statistics Under Gedit

Mar 24, 2010

i always use gedit to write and edit text file under ubuntu. However, i cant find the way to get some statistics, like how many times a word presents in the txt file

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved