Ubuntu :: Change Nice Priority At Launch?
Jan 12, 2010
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.
View 1 Replies
ADVERTISEMENT
Oct 11, 2010
I am trying to change the priority of child using nice() but still it runs first.
Code:
#include <stdio.h>
main(){
int pid,i,retnice ;
[Code]....
View 2 Replies
View Related
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?
View 1 Replies
View Related
Mar 27, 2011
I have installed Windows XP ,then Redhat but now when i am opening my system it automatically takes redhat . I want to change the priority to Windows XP . I want when I swich on the system it should open Windows Xp .. Is it possible to change this priority now .or I have to agin install redhat and change priority then during installation.
View 4 Replies
View Related
Mar 4, 2010
Whenever I start my PC, the information of 'First Boot device' in BIOS changes from hard disk to CD-Rom. It happens with new start, I mean, if I restart my computer after resetting First boot device to hard disk, then priority does not change. Just as I switch on computer, a black screen appears with the message:
CMOS - checksum error - defaults loaded
press F1 to continue, DEL to enter setup
Recently it used to happen, that PC was not reading my hard disk containing GRUB. I have 2 hard disks. I switched the power cables of two hard disks. After that, both hard disks were shown by BIOS but the above mentioned error started appearing. Also grub takes too much time to load. It takes almost 20 seconds. Earlier I was using 'Puppy Linux'. In that, Grub was loading in fraction of second.
View 6 Replies
View Related
Feb 21, 2010
I have created an error logger thread in my application using pthread_create(), I want this thread to have a lower priority than my application's priority so that the application would run properly. Is there an easy way to do this? I know that we can change priority for thread created with policies FIFO or RR, since I don't set the policy for my application, I don't know what to set for my thread.
View 4 Replies
View Related
Aug 8, 2010
I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab
#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none swap sw,pri=-1 0 0
#swap on same disk
UUID=13b70e65-f1c3-4728-920f-9e92467d1df0 none swap sw,pri=-2 0 0
[Code]...
Its opposite of what it is in fstab, and changes to fstab have no effect.
View 1 Replies
View Related
Sep 26, 2010
I've got two network card interfaces on my computer, one wireless and one wired. The wireless card is connected to the Internet and the wired is connected to the LAN. When only the wireless card is active, Internet works. As soon as i enable the second wired card, Internet stops working. And it seems like Ubuntu chooses the wired card for Internet as soon as it's enabled.
Are there any ways to solve this? So my Ubuntu box always chooses the wireless card for Internet traffic and let me use the wired device for LAN only?
View 1 Replies
View Related
Dec 9, 2010
I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.
View 5 Replies
View Related
Apr 10, 2010
I've tried googling, but can't manage to figure out how to change the priority order of the sound cards in yast. From yast > hardware > sound, I can see the (default) internal audio from the motherboard, and I can see the usb headset that I would like to be using as the default. How should I go about changing the priority order on these devices?
View 3 Replies
View Related
Nov 5, 2010
Is there a way to edit the themes in Ubuntu with more control then with the Customize feature? Customize lets you change the all the icons and folder icons to a particular set of icons but does not allow you to individually specify what icons to use for folders and file icons and what icons to use for the icons on the top launch panel that are on the right side of the panel by default like the Bluetooth Icon, UPS Battery status icon temperature and current condition icon in the calendar. Older versions of Ubuntu gave the user more control over how the launch panel looked, I thought I remembered an option to use 3-D icons on the launch panel in older versions of Ubuntu.
View 1 Replies
View Related
Sep 1, 2011
I'd like to know how to change the Unity Launch icons file association. For example; when i click the 'Files and Folders' icon and the side menu pops up with recent, favorites, etc. I click any of them and they associate those files or folders with Vuze. It also associates the trash can at the bottom of the menu, and any external hdd that i attach; but this only occurs when i open them through the Unity Launch Bar. I can go to the Home icon and open a folder and they open, or open the hdd off the desktop and its fine. It seems to only happen when i try to open them through Unity.
View 1 Replies
View Related
Sep 30, 2010
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+
[Code]....
View 6 Replies
View Related
Feb 1, 2011
I followed the tutorial on URL... on Ubuntu but I don't get all my mail in one nice big file instead, I get possibly every message, each one given a horrible filename URL..What could have gone wrong while following the tutorial?
View 3 Replies
View Related
Oct 19, 2010
Does anyone know the class name for Empathy's chat windows and buddy list? On Ubuntu 10.10:
System->Preferences->CompizConfig Settings Manager->Window Management->Place Windows->Fixed Window Placement
Trying to grab the Empathy window class doesn't produce any results and adding "empathy" as a windows class to control only affects the "about empathy" window and not the conversations or the contact list.
It'd be nice if Empathy behaved like the rest of my programs and allowed me to restrict it to a specific workspace. Not sure what class I should be using.
View 3 Replies
View Related
May 24, 2011
my idea is to have gvim working like gedit in ubuntu 11.04: when you open a file thru unity's dash, and if there's already an open editor, it opens the file in a new tab.To make nautilus open more than one selected files in gvim's tabs, i used to change the exec line in /usr/share/applications/gvim.desktop to "Exec=gvim -p --remote-tab-silent %F". This trick is working ok in nautilus and also in unity, just like the way I was planning.
However, when i try to open gvim itself without specifying any files (from unity's dash or a launcher set) it fails. Can anyone please help me with this ?
View 1 Replies
View Related
Feb 2, 2011
I am asked to look for a very nice sms gateway with a good GUI be it commercial or free. where can I find a nice smsgateway with GUI? I looked at kannel but it didn't mention any thing like GUI so am not sure I will go for it.
View 1 Replies
View Related
Jan 28, 2010
I'm trying to setup my Nvidia Graphics card on my DELL Latitude D620 machine. After the clean install, it does not want to show my the nice interface options, I can only see the effects
View 2 Replies
View Related
Mar 31, 2010
Currently running Ubuntu 9.04 on my Acer Aspire One D150, multi booting Win Xp, Win 7 and Ubuntu.Can I upgrade to Grub 2 and use one of the nice themes ?? Sora ?
View 9 Replies
View Related
Apr 1, 2010
When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.
[Code]....
View 4 Replies
View Related
Dec 1, 2010
i may have an issue or not with pulseaudio, under the system monitor i see a -11 under the nice colum for pulseaudio. does that indicate a problem or is it nothing to be concerned about?
View 1 Replies
View Related
Mar 27, 2011
Is there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 Replies
View Related
May 1, 2011
This is my first day with ubuntu 11.04. First impression was great but now I have a problem.
I tried to change the desktop switcher to rotate cube. On ubuntu 10.10 I had installed compiz fusion. So I went to compiz setting, I looked for rotate cube and I ticked it. When I did this a couple of windows asking about enableing and disableing poped up, and unfortunatley I clicked them without reading. I assumed they were just interface related...
Know when I open my laptop I don't have any main menu bar, or tool bar at the top of the desktop nor application icons on my left. I tried "CTRL+ALT+T" but the terminal does not open. I tried opening with recovery mode but unssuccessful.
View 9 Replies
View Related
Jun 4, 2010
So some flash games don't seem to play nice with Ubuntu. Some do. I have no problem playing Cursed Treasure, but when I try to play, say, Learn To Fly, the opening page loads, but then when I click the "play" link, it does nothing.
Also, using the latest release of Ubuntu.
View 1 Replies
View Related
Oct 21, 2010
Since TeamSpeak 2 doesn't come in a nice RPM anywhere, I am under the assumption that I have to go to TeamSpeak's website, download TS2, and install through their script. I did all of that, and I can successfully launch TeamSpeak, however there is no sound whatsoever. No mic, and no speakers either. TeamSpeak automatically forces mute microphone and mute headphones on me, and I can't uncheck them. Therefore, something must be wrong with TeamSpeak and my sound setup.
View 3 Replies
View Related
May 3, 2010
is there any nice web development application?
View 6 Replies
View Related
Feb 26, 2011
All my applications seem to be running at nice of 19 except bash and daemons which are running at 0. My understanding is that the default nice value is either 0 or 10 (forget which) but not 19.Ran search in /etc/sysconfig/ editor and no results for "nice" and looked at the bashrc files and again no lines contain "nice".
View 9 Replies
View Related
Aug 13, 2010
What is the command to display the nice value of a process?
View 4 Replies
View Related
Nov 17, 2010
What is the default nice value for processes?The setpriority() function sets the nice value of a process, all processes in a process group, or all processes for a specified user to the specified value. If the process is multi-threaded, the nice value affects all threads in the process. The default nice value is 0; lower nice values cause more favorable scheduling.
View 2 Replies
View Related
Jul 20, 2010
I use Vector Linux 6 (based on Slackware 12.1) and I set the encoding to UTF-8 because I use Spanish characters. The problem is that when I try to open files with accent marks, for instance, with xpdf they all look garbled. How can I get xpdf to display the names correctly?
View 9 Replies
View Related