I came across very useful nautilus keyboard shortcut Ctrl-L - change view of location bar to display full folder address but can't find an option to make this changed view permanent. where can i find it? i don't mind editing config files
I have a bash script that I use to configure a vanilla Ubuntu (10.10 Maverick) installation to be exactly the way I want it. I make extensive use of gconftool-2 to configure the desktop, set up shortcut keys, etc.
Now, I'm trying to swap the CTRL and CAPS keys. I have found two ways of doing this: In Gnome, go to System -> Preferences -> Keyboard -> Layout -> Options and make the change in there. This works well, but I don't know how to script this; the setting doesn't seem to be stored in the usual place as I can't find it with gconf-editor. Add the line setxkbmap -option "ctrl:swapcaps" to my .bashrc file. That works too, until I suspend the machine & then resume it. At that point the CTRL and CAPS behaviour return to normal, until I cause .bashrc to be run again by opening a new shell. This behaviour has been reported as a bug in RedHat. Edited to add: JeffG on [URL] suggested adding the call to setxkbmap to my gdm.conf file in the script section; that resulted in a failure to load X on startup.
switching those keys that is both permanent, and can be scripted?
There must be a way to disable CTRL+Q for Nautilus, but google has failed me Actually, I usually have several permanent nautilus windows opened, and when I just hit CTRL+Q on the wrong window, it closed all of nautilus!
So I just "pkill nautilus" to restore the previous nautilus session (even if we can't control nautilus window session manually). But there are still a few things that could be improved for Nautilus. So for now, can we disable CTRL+Q shortcut for Nautilus?
I'm running Ubuntu 10.04 and I've been looking to customize what's given as my command prompt, and I learned how to do this by entering PS1="desired text" which is remarkably straight forward.
I'm a little stuck on how to make this permanent though. If you just type in that command, then when you close that terminal session and open a new one, it resets to the old/default prompt. I read the tutorial at:
and it referred to editing the .bashrc file in ubuntu. I found the bash.bashrc file in /etc/ and edited the line that said PS1=, however it didn't change my command prompt. I searched for other files relating to bash and in clear instances that PS1= was given, I changed it to see if the command prompt would change. This has been to no avail so far though.
Does anyone know which file needs to be edited/what needs to be done in order to make a customization of the command prompt permanent?
I use Ubuntu 10.04 and after installing the driver for my onboard video card, I can no long boot into Ubuntu. I'm thinking that if I was somehow able to remove it, this might fix the problem. Is there a way to do this, possibly from the boot cd?
Since the 10.10 upgrade my mouse clicks on my laptop have been behaving rather oddly. Sometimes it randomly does a middle click when i'm doing a left click, which is really annoying because it means that sometimes tabs close or my text gets random bits of text appearing in it. I've found that running this command "synclient tapbutton2=2 tapbutton3=0 rtcornerbutton=0 rbcornerbutton=0 clickfinger3=0" fixes it, but only temporarily, sometimes it only lasts like 10 minutes or so, other times it lasts till reboot. So, is there anyway to make these changes permanent?
All of these freezes happen either while I'm in Nautilus or I'm opening Nautilus. The usual Ctrl+Alt+Fx (x being one to six) to get into the backstage does not work. If I have some music open then it would start looping the last couple of seconds.Now generally I would go check the logs, but I see no nautilus logs so what should I check?This is all pretty recent. I think that this started to happen when one day exim4 (and some packages all marked exim) got updated but I cannot be certain. Major playing-around after that would be some Wine issues but the system froze once before all that Wine fun.So step one, what should I check?
i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:
# Generated by NetworkManager (obviously modified by this) nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work nameserver 126.96.36.199 nameserver 188.8.131.52
i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:
sudo /etc/init.d/dnsmasq start
it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.
PS: i have tried to write a shell script to do this and every which way i try it fails
I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
I have just booted to Puppy (for the first time in my life) on a 6 y/o amd type with a 40Gb HD, Ram: 512.I would like to make a permanent install of puppy onto the HD, I have read various pieces on how to install, defraging, repartitioning, differing file systems. However, i am a bit lost. The computer will be used for e-mail, web browsing, and watching the odd film (films installed on the drive) - I am unsure as to the best combination of file types and partition in order to keep puppy happy and keep some compatibility with the world outside of linux.
For instance, could i have a small partition with the puppy install and setting, and the rest on a format that would be compatible with windows/mac/linux? If so, how do I do this, pls bare in mind that my windows install is running but incomplete. I have the feeling this will be a really simple problem for someone to help me with,
When I enter my bootloader Grub I have to go to the system I want to load and press e to edit. Then I add vga=792 in the end of one line to change the tty resolution. How can I make this change permanent? My distribution is Debian Squeeze and there is no menu.lst in squeeze.
I have an eeePC 1005HA, with a Linux Mint 8 distro on it. Each time i start it, i slide down the lcd brightness to take the power consumption low, using the Power Manager Brightness Applet on the gnome panel and each time i restart the pc i have to repeat this over again,I'd like to make this change permanent.
The idea is that I got to grips with Linux a couple of times in the past; most recently in a Radio Astronomy class (where we had to use openSUSE and terminals 24/7). I loved it so much that I fired up Wubi on my laptop and I am having a play.
Then I loved it even more.
So here's the plan:
Find Windows (Vista) CD *sigh* Get 500 GB external Hard Drive Backup files to HD (60 GB max) Reformat Laptop & Reinstall Windows ====
To my understanding, this gives me a blank slate with a lot of room to play with because of the external HD. If this is not possible/too risky etc. then what are the best alternatives?
The plan is to make my primary OS Ubuntu. The way I figured, to keep things simple, is to keep the laptop's HD with Windows as 'normal'. I would thus install Ubuntu to the external HD, and put my files etc. on that.
Now, is that possible for a clean installation? Ideally, it would be fantastic if the boot can be configured so it would boot Ubuntu if the HD is connected, and Windows if not.
just can't find the answer for this one (after Google and these forums) So I want to configure my Synaptics touchpad in this fashion:
Code: synclient RTCornerButton=8 RBCornerButton=10 LTCornerButton=11 LBCornerButton=12 FastTaps=1 This line of code does what it's intended of it. However, the changes made don't really stick after a system reboot.I'll explain:
So, the "FastTaps" part works flawlessly (as intended). However, the corners bit doesn't work after system reboot!...and weird enough, if I set up a start up script with that bit of code on it it'll only remap the last two corners (LT and LB), because RT and RB always get automatically set to "2" and "3". It's obvious then that those corners are getting remaped somewhere I haven't found yet. I've already tried ppa:yurivkhan/ppa and adding new options to "usr/lib/X11/xorg.conf.d/10-synaptics.conf" to no avail either. how to make the remap of touchpad corners permanent? P.S. - I'm using Ubuntu 10.04 LTS with Macbuntu.
I would like to make group changes on serial ports permanent. I can become root and use chgrp:
chgrp uucp /dev/ttyaa00
but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.
I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device /dev/shm starts up at boot as Read-Only.
Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do: sudo chmod a+w /dev/shm Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?
This command is working like a charm. The only problem is, for some unknown reasons, this rule will be dropped at some point. I did not manage to identify what is causing this to happen. It occurs during night, but I have nothing about that in my log files. messages / firewall / ...) The only way I managed to reproduce this 'dropping' is this one: I type the command like as root. The command is effective and working fine. I open yast, I go to the firewall module, the I do a simple "save changes and restart firewall" (without changing anything). As soon as this process is finished, the iptables rule is gone.
-How can I make this rule permanent ?
-Is there a place where I can launch a script executing this rule, after the yast firewall module is 'touched' or something ?
I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?
I have a generic monitor which has problems with many Linux distros. We can boos Sugar on a Stick v2 by pressing <tab> at the Sugar splash screen and adding the boot parameter "nomodeset". I'm handy enough to do this, but my wife, well, not so much. So is there a way to make that boot parameter permanent?
I am using Ubuntu 9.10 Desktop Version and the entries did in /etc/resolve.conf all the time it is cleaning as and when i am restarting my systems. How to make is permanent solution to keep all the entries done in /etc/resolve.conf
I'm having some difficulty setting my txpower setting on my atheros wifi card. I am using ath_pci driver on ubuntu 8.1 64 bit. I can set the txpower to whatever, 12dBm for example, it accepts the change but quickly reverts back to a default value of 8dBm. Power saving is off. How can I make these changes permanent, or adjust the default value?
I have 3 layouts: USA, Russian and Hebrew. In Hebrew the W key is mapped to apostrophe, so Ctrl+W in Hebrew layout doesn't close tabs in Firefox. There is no workaround for it as I see by now, so I am trying to get it work this way:I want to map Ctrl+W in Hebrew layout(which is actually a Ctrl+') to be a Ctrl+w. Here is what I got from xmodmap:Code:$ xmodmap -pke | grep 25keycode 25 = w W Cyrillic_tse Cyrillic_TSE apostrophe WAs you can see, there are pairs for each layout, each pair tells what happens without and with the Shift key pressed.
I am doing a project on rdesktop. My aim is to setup a write/copy protected session. I have made rdesktop connection between two Linux machines using Xrdp.Next I want to disable the ctrl+x,ctrl+v keys and the cut and copy option in mouse right click at client side