Ubuntu :: How To Change Privileges For Negative Nice Values
Jan 16, 2010
I've been searching for the answer to my question for quite some time on google, no luck. Due to my searchings I've become very familiar with nice and renice.
I have a script I use for launching a game installed with wine. I cannot/wont run this game as root but I need to be able to use nice --7. As of now I can't I -- ofc -- get "permission denied"..
So how do I make the full range of niceness ( [-19;20] IIRC ) available for all users on my system -- or even just for 1 user?
im on ubuntu, and i was trying to change the settings under System->preference->network proxy
When i click apply system wide, it asks me for my root password wich i provide and then it asks me for this other password, with this message: Privileges are required to change gconf system values. What is this? is there a way around it?
I'm currently using Fedora 12.I'm having trouble ripping a DVD. Every time I use cropdetect in Mplayer, it gives me negative x,y values which makes it impossible for me to use Mencoder to remove the borders. I shall display the info below. Also, may I add that I'm trying to use 2 pass encoding to recieve better video quality. I would like convert the DVD to an AVI file. I've compiled all the binary codes for various codecs so I'm not sure what's wrong.
Also, it can not find any audio tracks on the DVD either. I was successfully able to rip the trailor for a different movie on the DVD to avi which was track 3 no problem (wiith good quality sound that synced up)I'm new to Fedora and Mplayer/Mencoder, but "WinBlows XP" doesn't seem to help with ripping good quality videos so I decided to try something in Fedora.
My cpu is set via Gnome-power manager to automatically speedstep under demand....
the thing is i have a few nice level 19 processes running most the time that eat up all the idle time, this forces my clock speed up and as such makes the fan noisy and uses more power...
basically what i would like to do is to ignore process load with a nice over a certian level when determining weather to speed step.
I'm currently running on a really old computer with one proc and little memory. It's just enough to get skype running but it only works well enough if I change the nice level to -5 or lower. Now the person that uses skype in the house is really the wife, I don't want to teach her how to open htop in command line, fine the pid and then use the correct command to change the nice.What I am looking for is a script (sorry I don't know thing one about programming/scripting) that will change the nice priority periodically for all pid that are skype. This way call processes will get reniced as well. I know better then to run it as root/sudo, but I am at a loss (even searches came up with not much) on how to do this.
I've been using Ubuntu for like a year now. Whenever I want root privileges I just type sudo and enter my User password. I wanna know if there's a way to change this, in a way that My User password is: "ABC" and the password needed to have root privileges is: "ABC123". I have no problem using the terminal, I actually prefer it to any GUI, it just seems easier to me.
Recently I was going through some chmod manipulations and found the umask values to be 0002 by default in Fedora 11 distro. What I knew about the default values to be 022. I don't know whether this is a kernel modification in this distro or my system is in compromise(I doubt for the latter option, but not confirmed).
I'm running ubuntu 64-bit server edition so ill have to use the command line for this. i want to create or change a file in my own home folder, i have to do it as sudo, otherwise i get an error message saying "permission denied".
When I execute a sudo or gksu evolution (e.g. synaptic package manager) I find that the escalated privileges remain in effect for a period of time. Sometimes, not often, the notifier applet shows an icon indicating that escalated privileges are in effect.
What I would like to know:
What is the default amount of time which escalated privileges remain in effect on my system?
Is it possible, if so how, to change this amount of time?
My question is about TCP parameters in Linux. By now, I want to change the default values of:
Initial Timeout ACK Delay Idle Connection Timeout
I have a Linux Box with kernel 2.6.x and 2 ethernet interfaces. I know TCP is a stack that doesn't have anything to do with ethernet devices. Said that, the question: is there a way to set custom values for each interface? For example, a server listening to connections in eth0 would use one value for Idle Connection Timeout and another server listening to connections in eth1 could use a different value for that parameter.
According to the man page, the "recent" match of iptables accepts certain parameters (e.g. "ip_list_tot"). I'd like to change the values of some of them. All the solutions found on the web were about changing parameters for module, but my kernel was compiled without modules support (such that it can be used for installation booting as well). How can I change the match parameters for my non-modular kernel ?
I'm looking for a program that will add cookies to my web browser (firefox or chrome, preferably). The application would ask me for the Cookie's:Name
Content Domain Path Send For (type of connection) Expiration Date
If no one knows of an application that does this, does anyone know what files i could manually edit in order to change a particular browser's cookie values?
I was using Super+M keyboard shortcut yesterday to enable/disable the Compiz Negative theme (inverted colours), but now when I do the same keyboard shortcut it just opens the Mail/Chat/Broadcast menu next to the date/calendar/clock in the top panel.
I upgraded to Natty, some images appear in negative colours in Firefox, but not all. For example, photos on Facebook have negative colours, but not the thumbnail versions of the profile pictures do not. I have tried reinstalling Firefox in Synaptic to no avail. On another partition I have an installation of openSUSE 11.4 sharing the same /home (and therefore all Firefox settings etc), but no negative colours.
This only happens if I'm watching a video, but it happens in both VLC and movie player. The video's colors will be all messed up. I'm not sure if it's like sepia tone or negative tone but it's consistent. If it matters I'm using an NVidia card with updated drivers.
I seem to hit a combination of keys that makes my screen look like I am looking at a negative of a photograph. Does anyone know what the combination keys are to accomplish this, and how may I get my screen back to normal without rebooting.
I got my video files from my external hard drive to play, except that all the video's are all negative. Is there a setting to adjust this? I tyred to to go threw the player and see if I changed the settings some how.I even tried other players. I had been watching ..... videos earlier, it was a little choppy video but colours were fine, then I think loaded the flash players and after that the colour went to negative.
I'd be grateful if anyone could recommend any scanners that will take 35mm - and ideally the old 120/620 and 127 formats! - transparencies and negatives to digitise our old memories and family history.I'm in the UK and the machines use Ubuntu.
So, I upgraded to 11.04. Everything seems to running okay, but when I go to play a video file, the colors are all screwed up. It looks like they're almost negative in the way that they are displayed.
when I was first trying out Linux and installing Partitions, I did it right, but I used 200GB of Space, and so I decided I didn't want to use it VIA Partition and I wanted to use it VIA Wubi... and I didn't know the correct way to uninstall it... So I went to Windows Partition Manager and manually deleted the partition myself with the OS in it, but the thing is, it turned into 200GB of Unallocated space, and I couldn't give it back to my C: so it's just there... and now, a month *Present day* I want to install Mint 10 KDE and now... The big problem... I can't assign Linux Mint 10 to the unallocated space, only to the rest of the HDD... how do I assign it to the "Free" space? I tried "Specify Partitions Manually" but there was nothing that showed up. What would happen if I assigned negative 19% for Linux? Would it cause negative effects?
I'm running Gnome on my desktop and going to keep it for now. I've read that Evolution is integrated into Gnome and I cannot remove it without deleterious effects. So, possible to disable it without negative effects? If so how to do that? The only problems I've had relating to Gnome have been Evolution. I'll just copy email links and paste them in Gmail.
I need to convert an integer to a byte array of size 2 and vice versa. The code shown below works well for positive values but not for negative values. Also, using an array of size four makes the conversion works. However, I am limited to an array of size 2.
I have freshly installed an Ubuntu 10.04.1 by internet.
All is running well, but my nice values are all set to 0. Is there a script that handles these at boot time? How can I reset them to "appropriate" or "normal" levels (e.g. not all at 0)? I know in other installs, my nice levels vary depending on the process and the user.
Attached is a screen shot of my gnome-system-monitor, and aside from init, which I had set to -15, all others are at 0.
Computer specifications: Linux AMD-LNX000 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux AMD Athlon 64 Processor 3000+