Ubuntu / Apple :: Overriding Rm's Default Behavior
Jul 16, 2011
Within the last few weeks, I've been beginning to familiarize myself with Terminal. I know within the syntax, you can add options such as -i or -v.When I enter the command rm, I want Terminal to automatically go interactive (which would be the -i option) without me having to add it to the command. Meaning, I'd rather type rm Test.doc than having to include -i like this rm -i Test.doc. This way, whenever I execute the rm command, I won't have to worry about adding the -i option because I know that Terminal will automatically ask me if I want to delete the file or not before I do.
View 5 Replies
ADVERTISEMENT
Jun 14, 2011
I constantly work on several workspaces, and whenever I open an internet browser or anything, I'd like a new instance of the program to open. The default behavior takes me to the workspace that currently has an open browser, and this page is usually already very crowded. Can I override this default behavior on Unity?
View 3 Replies
View Related
Jun 21, 2010
I'm using ubuntu 10.04 on mbp 5.1 and change of FN/F behavior after _EVERY_ kernel update is getting really ridiculous.On update "a", I gey F-keys without FN; after upgrade to kernel "b", I get media keys by default, then again F,...I _really_ don't want to change pommed.conf after every reset (and re-reset it)
View 2 Replies
View Related
Feb 8, 2010
Based on my experience with external devices such as USB microphones and USB speakers, PulseAudio always defaults to the motherboard/built-in device rather than any USB device.My expectation is that if someone is using an external USB device to supplement what is on the motherboard/built-in, they are going to be doing that to overcome a limitation of the motherboard/built-in devices, and therefore it is logical that when external USB devices are present on a system, these be the default. (For example, I want sound from my beefy set of Logitech USB speakers and not from the tinny notebook speakers).
It is no problem for me to manually set/reset the active device, however I believe that the average user expects to plug in a USB microphone or speakers and assume that the system will automatically change the default. Furthermore without this action, some users not used to the Linux audio settings will be led to believe that the USB devices are not supported, when in fact it is simply a problem that they have not been selected for use rather than the motherboard/built-in devices.I think this warrants me entering a bug report, but I wanted to hear what others think before proceeding to enter a bug report.Is the default behavior of PulseAudio towards USB devices wrong? What do you think?
View 4 Replies
View Related
Nov 15, 2010
For example, when I run top I usually press "C" so I can see the explicit command being run not the executable name if you will.
Is there a way I can modify top such that when I do:
% top
The result is initially displaying the command line and not the executable command?
For example I see initially:
chromium-browser
But would prefer to see:
/usr/lib64/chromium-browser/chromium-browser --type=plugin --plugin-pat
View 2 Replies
View Related
Dec 22, 2010
Ive installed maverick meerkat on my mid 2009 mbp and now whenever i start the computer it automatically boots into ubuntu instead of my mac os 10. how do i go about changing the boot sequence without having to install refit and pressing the option key all the time.
p/s: i dont like using refit because it takes 30 seconds just for the option screen to appear on boot up. oh and yeah, go easy on me cause im a noobie
View 1 Replies
View Related
Jan 27, 2010
My ISP offers me a static IP and 2 dynamic IPs. I want to use the static one.
When I run
Code:
But the next morning (not every morning though) my IP will be the dynamic one again. Something seems to be overriding it. The last time it changed was today at around 8:30 AM.
View 9 Replies
View Related
Jul 24, 2009
When my headphones are plugged in, I'd like the audio to cut out from the regular speakers. I am using pulseaudio if that helps. Everything else, audio-wise, is running fine.
View 14 Replies
View Related
Apr 3, 2010
I'm maintaining a very modest network at home, with OpenSUSE as OS on the server. I got the DHCP and routing working by following the instructions in the wiki. However, every time I run dhclient on the server/router, it appears my own DHCP server assigns an address to the internal network card despite the fact I specifically assigned it to be static using Yast. The situation resolves itself when I restart the network services with the command /etc/init.d/network restart. Otherwise no problem, but it also seems the internal network card gets a "new" IP from my server every time the external card requests one from the ISP. This is more of an issue.
View 5 Replies
View Related
Aug 25, 2009
I am a complete stranger to Linux and don't know a thing about this . But my cousin has installed Fedora Linux ( she says it is Linux on Unix , Red Hat Nash ) on my laptop . The laptop was having Lotus symphony earlier and it had only single partition . As a result the Linux had overridden the existing OS and all the data is lost.
My requirement is to retrieve the lost data before I format my system again.. If it is possible to recover the lost data and if yes how to do that.
View 1 Replies
View Related
Aug 17, 2010
have an inherited base class that has some virtual members and I wish to overide these members in the derived class. So for example I have the following base class called B and the derived class called D. I will illustrate them both below. I am finding I get a linker error when making the project and cannot work out why this should be so.
Code:
class B {
public:
[code]...
View 14 Replies
View Related
Jun 29, 2010
Every time I update certain packages with rpm/yum, they reset certain permissions on their files / directories which I have intentionally changed for various reasons. Is there a way I can override the permissions that the packagers have specified in the RPMs, and force it to keep the permissions/owner/group that I've set?On a Debian system, I would just use "dpkg-statoverride". I can't find any equivalent for RPM systems (CentOS 4 & 5 in my case).
View 1 Replies
View Related
Dec 15, 2009
I find it very frustrating that documentation suggests using PEERDNS=no in /etc/sysconfig/network-scripts/ ifcfg-eth0 in order to override resolv.conf information only to find out that both NM and network init scripts ignore DNS1, DNS2 and DOMAIN settings.So my question is how do I correctly configure resolv.conf settings that will persistently override dhcp information on a F12 system that has NM removed and uses the network service scripts?
View 3 Replies
View Related
Nov 17, 2010
I have an odd problem since preupgrading from Fedora 12 to Fedora 14.
My power management settings are set to never put the monitor to sleep, yet after a certain amount of time, lo and behold, the Fedora box has gone blank and I have to enter my user information and password to get back to my gnome session.
In the power management preferences I have "never" selected for both putting the computer or display to sleep.
In the screensaver preferences "Lock Screen After" is *not* checked. (And if I click "advanced" I also note that "Power Management Enabled" is also *not* checked).
I'd just as soon not have to "log on" to this machine every time I'm away from it for a while.
View 1 Replies
View Related
Jun 16, 2010
My issue is with linux routing tables using iproute2, coupled with the iptables MARK target. When I create a rule to lookup a table with iproute2, and the routing table routes an address as type unreachable (or blackhole, or prohibit), if a higher priority rule does a lookup to another table that routes the address as type unicast but that higher priority rule also matches on a fwmark, the packet to that address is never generated locally to even go through iptables packet filtering/mangling in order to mark it, because the lower priority rule that doesn't match on a fwmark says it's unreachable. For example, I have 2 rules installed with ip:
Code:
10: from all fwmark 0x1000 lookup routeit
20: from all lookup unreach
ip route list table routeit
[code]....
Now, in the packet filter, I have an iptables rule to mark packets to destination 10.0.0.5 with 0x1000 in the mangle table and OUTPUT chain. When I generate a packet locally to 10.0.0.5, all programs get ENETUNREACH (tested with strace). However, if I take out the route entry that 10.0.0.0/8 is unreachable, it all works fine and the routes in the routeit table get applied to marked packets (I know because my default gateway would not be 1.2.3.4, but wireshark shows packets being sent to the MAC address of 1.2.3.4).
The best I can surmise is that when generating a packet locally, the kernel tests the routing tables in priority order but without any mark to see if it is unreachable/blackhole/prohibit, and doesn't even bother generating the packet and traversing iptables rules to see if it would eventually be marked and thus routed somewhere. Then I assume after that step, it traverses iptables rules, then traverses the routing tables again to find a route. So is there any way around this behavior besides adding fake routes to the routing table (e.g. routing 10.0.0.5 to dev lo in the unreach table in this example)?
View 2 Replies
View Related
Aug 13, 2011
I have installed Ubuntu 11.04, 64 bit and now I am trying to install/configure MFC-7420 scanner part (printer works fine)I tried to follow the steps listed at http://ubuntuforums.org/archive/index.php/t-590793.html, but I don't have etc / udev / rules.d/45-libsane.rules file to edit and can not continue with the remaining steps of the guide.
I also tried to follow the steps provided by the Brother Solution Center http:[url].... I have downloaded brscan2 64 bit and installed without error but when I tried to install the brscan-skey-0.2.1-3.amd64.deb using >sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb I get the following error:
************************************************** **************************************************
sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb
[sudo] password for aUser:
dpkg: warning: overriding problem because --force enabled:[code].....
Which dependencies am I missing? or What am I doing wrong?
View 1 Replies
View Related
Sep 5, 2011
I just bought a new graphics card and installed it. it works perfectly although my sound worked perfectly this morning and I think the graphics card is overriding my built in sound card. I need help fixing the sound. The graphics card I bought is an ATI Radeon Cedar HD 5450 The sound I want to use is HDA VIA VT82xx
when I run alsamixer I get Card:
HD-Audio Generic
Chip: ATI R6xx HDMI
[Code]....
View 3 Replies
View Related
May 7, 2011
Neither Ubuntu's Unity or KDE respond to the function keys on a regular Apple USB keyboard. I can plug in a non-Apple keyboard and they work just fine. What needs to be changed or configure so that F1 and company on the Apple keyboard work as on other keyboards?
View 1 Replies
View Related
Apr 22, 2010
This morning I bought an Apple wireless keyboard and I got it connected through Blueman. It works like a charm, but I have on problem;
When I log out I can log back in by typing in my password. However, when I restart the computer it seems that bluetooth is not loaded yet and I cannot enter my password. So I have to log in using my wired keyboard, and then disconnect & re-connect to my wireless keyboard using blueman before I am able to use the wireless keyboard.
Is there any way that I can already auto-load bluetooth and connect to my keyboard before I log in?
View 4 Replies
View Related
Mar 24, 2010
I'm trying to use an Apple wireless keyboard with Ubuntu 9.10 (Karmic) but the fn key is not working at all. If I start up xev and hit the fn key it generates no event. What do I need to do for it to work. It seems as if it should work when viewing pages like
[code]...
View 9 Replies
View Related
Jun 9, 2011
So i have this simple c++ program, which has an array of ints and a pointer to it. Then i have to change one element in the array. Problem is that on ubuntu(netbeans) it works the first time i change the element, then for the other times there is no change in the array after leaving the function.
First i thought it was a bug, but i tried the code on win(visual studio) and it worked like it should.
I don't understand what the problem is? Im not using any platform specific function(that i know of )?
View 12 Replies
View Related
Apr 22, 2011
I've got an old iMac g3 on which I'd like to install Ubuntu Dapper Drake.Here's the problem:I insert the disk in the computer.Keep pressing "C" till this comes out:Quote:"The default option is "live" bla bla bla but in case of problems use "Live video=ofonly"I write "Live".The orange progress bar appears, but the the screen becomes black.I still can hear sounds: the classic ubuntu log-in music, but I can not see anything: I guess the live has started, but the screen is just black.By pressing CTRL-ALT-BACKSPACE I'm able to come back to shell.
Once rebooted, I try "Live video=ofonly".Again the orange progress bar, but then this message comes outQuote:"Failed to start the X Server, It is likely that is not set up correctly. Would you like to view the server output to diagnose the problem?"Even if I dont select anything, some random words appear in the screen, too fast for me to read them.Then I'm back to shell.I read here (that the problem is caused by Xorg and that the solution can but editing his configuration by using Quote:sudo nano /etc/X11/xorg.confBut I just don't know when to do that: Ubuntu is not installed yet and there is only MacOS 9.2 on that machine.
View 2 Replies
View Related
May 17, 2010
Ubuntu 64 bit is installed on the hard disk with two partitions: one for Ubuntu, another is NTFS partition called Shared. Before upgrading to 10.04 Shared volume was available. To mount it, it was necessary to enter the password.After upgrading to 10.04, I see two volumes: Shared and Shared_. Places menu contains Shared item. When I click it, it opens without password, and shows /media/Shared_, with correct contents. Original Shared volume appears in the media directory:
Code:
root@alex-64:/media# ls -l
total 12
lrwxrwxrwx 1 root root 6 2010-04-21 19:49 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2010-04-21 19:49 cdrom0
drwx------ 2 root root 4096 2010-05-09 08:25 Shared
drwx------ 1 alex alex 4096 2010-05-17 08:56 Shared_
Shared volume is empty. Can this be fixed? It is OK to work with Shared_ volume?
View 3 Replies
View Related
Jun 3, 2010
I upgraded to Lucid from Karmic a few weeks ago. The upgrade went fine. Then I decided to move my exit, maximize, and minimize buttons to the right side. I used Ubuntu Tweak to do this. Since that time I have very odd behavior after I boot Lucid.The booted system comes up with an X for a cursor. There are no exit, maximize, and minimize buttons on my window bar. Finally, I can open a terminal, but cannot type anything in it.Sometimes I can get things back to normal by using Ubuntu Tweak to move the buttons to the left or right (depending on where they were before the boot). Sometimes I have to open System>Preferences>Appearance> and change Visual Effects from None to Normal or vice versa.I have tried metacity --replace (after getting the terminal window to allow me to type in data), but after I reboot, things are back the way they were. I have an Nvidia GeForce 7300 LE on board graphics card, and I am using the Nvidia current version driver. When things are working correctly, System Monitor shows a compiz process running but not a metacity process. Is this correct?
View 8 Replies
View Related
Apr 12, 2011
I just tried uprgading from 10.10 on my daughter's pc to 11.04(beta) as we wanted to find out about Unity et al. I thought the upgrade went well but on reboot when the desktop comes up, it's all funky in behavior - mouse is jump, arrows don't reliably work the menus - odd background images show up in graphic blocks. Do you think I can salvage this, or should I am I stuck reloading back to 10.10?
View 1 Replies
View Related
Dec 2, 2010
I have been given an Apple Ibook that wont boot
View 9 Replies
View Related
Dec 4, 2010
i connected my apple ipod in ubuntu 10.04..its showing msg that" do no disconnect" but there is no trace of ipod in the system,not even any icon in desktop too
View 3 Replies
View Related
Feb 19, 2010
I have script that is called from a startup init script before login. It has some different behavior than if it ran from a login script. It doesn't allow to have input characters deleted on a line and doesn't allow for the break command. It's part of Live CD, I'm going to make publicly available, so I want to boot straight to into the script.
View 1 Replies
View Related
Apr 2, 2010
I have a screensaver set to run after 10 minutes and then the screen is set to turn off after 30 minutes, but it seems that it never consistently stays off (after the 30 minutes), and very often turns back on and runs the screensaver instead. It seems to be in an endless cycle without me doing anything to wake it. Is there any way to fix this? It's killing my power usage. Karmic, core2duo, nvidia 7600GT gfx cards using latest nvidia drivers (but also happened on 190, and I think 185)
View 2 Replies
View Related
Apr 10, 2010
I have been having a frustrating issue with Ubuntu 9.04 on both my laptop and desktop machines for several days now. An Icon shows in the panel telling me there was a problem with updating. Attempts to update hangs on waiting for headers @ 99% but ultimately times out. I have not been able to update successfully for some time. Add to this the fact that DeVeDe will not respond. Trying to run DeVeDe from the Applications menu does nothing, running the program from the command line does nothing. Attempts to uninstall return this warning:
Code:
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
devede
Attempts to start Synaptic return this:
Code:
E: The package devede needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
View 1 Replies
View Related