General :: Anyway To Change That To Float
Nov 16, 2010Its a huge waste of space. Is there anyway I can change that to float i.e output = .500000
View 6 RepliesIts a huge waste of space. Is there anyway I can change that to float i.e output = .500000
View 6 RepliesI'm learning shell scripting using bash and I want to generate 4 floating point number with 5 decimal places and write them to a file and a variable. I've done all this except the $RAMDOM enviroment variable does not generate a float number but a integrer.
[code]...
When ever I try to run system-config-samba after the recent update I get the error:
connection.py:630:call_blocking:TypeError: a float is required
Yesterday I turn off my computer without problems, and today my KDE 4.5 desktop just don't wanna load. It show this error:Floating point exception
Full error:
[Code]...
How can i print the biggest float and biggest double exponential notation in Java ?
View 1 Replies View RelatedWhat config file do you change to change default run level???
View 3 Replies View RelatedI installed the webilder application to automatically change the wallpaper, preferences you've specified the directory where the images but I can not change the background. Does anyone know why not change?
View 5 Replies View RelatedI recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.
So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]
I currently have a Windows XP OS which i want to dual-boot with Ubuntu Linux 10.10 . I put the disk in the drive and chose the option to install Linux through Windows. But it hangs in the middle. I am also unable to change my BIOS settings due to which i can"t change my boot preference. My first Boot is the HDD. I want to change it to CD-ROM. Any suggestion? I also have another PC where i can boot through the CD...I tried installing there by booting from the CD but i get this error message after seeing the purple Linux screen with the loading dots. "(Process:286):Glib warning**:getpwuid:failed due to unknown user id (0)
P.S.- I am not able to see any options while the boot is going on
I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.
No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.
No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?
No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?
Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.
I changed it and got it working a long time ago but i installed 10.10 (great work BTW ) and have forgotten completely.
View 6 Replies View RelatedHow do I set all *.java files in the current directory and all its sub directories to have read permission to all users?
I also want to set all files of at least 1 kilobyte in size in the current directory and all sub directories to have a group of admin.
I want to change number of open files. I can not change it neither in user nor sudo modes.
View 9 Replies View RelatedI've had my prompt change whenever I :sh (:shell) out of VIM, but can't for the life of me remember how?. The idea is to change the prompt to something like [SH] <your usual prompt here>, so that I know that VIM is running in the background.. I often logout of the shell, because I think VIM is open.
View 3 Replies View RelatedI have a uid that I need to change however I need to know the process of doing so as this user is a vital user that has ownership of several running pids on this server. (webserver)
This user (admin) has a uid of 1003 on this server (server-A). However, on all our other servers (server-B-G)the uid is 1001. The reason for changing the uid is that the nfs mount that is mounted on server-A and on all the servers does not work right due to the uid difference. We have diagnosed to this point.
My question ... admin is the owner of several running pids.
So in order to change the uid, do I need to:
- stop ALL pids owned by admin
- >usermod -u 1001 admin
- then start back up the jobs that admin runs
I have verified that there are no files/dirs owned by uid 1003 but the ownership is admin.
I can run a find >find / -uid 1003 - to locate any orphaned files/dirs before I start back up any jobs that require admin ownership.
Then >chown the file/dir.
Does this appear to be a viable plan to get this uid corrected?
When I use the cp or mv command to copy/move files is there a way for me to have the destination file assume the same name of the source file, however add an additional suffix.
For example
Code:
Now what if I wanted this...
Code:
Do I have to type the destination file out manually everytime? or is there a quick way for the cp or mv command to assume the source file name and add the .bak
I have CENTOS server with suPHP installed. The user (UID) and group (GID) are different for PHP files. But when I upload any file using FTP, it makes user:user and suphp fails to parse it. I then change the ownership (using ssh) as user:group for the php file and it works.
View 1 Replies View RelatedI'm having two problems with 'Open With':
1st:
I want to open jrxml's with iReport, but when I do;
'Open With' > 'Other Application'
[code]....
I don't know what is up with our servers, but each time I upgrade Linux or switch back to Windows it seems that the default providers have changed,and as such I'm having trouble finding out how to change the default run level from 5 to 3 in Ubuntu 10.4. I had tried the /fstab file, and although the last time I made this configuration was under Suse, I'm not even sure that's how I did it for OpenSuse. I did find how to pass the text argument to the kernel but I don't want to disable GDM so that I have to renable it everytime I login. I'm unsure of how this will affect the startx command, at which point I'll be stuck sifting through books for random commands that might perform the task I would like.To elaborate, the reason I'd like to switch my default run-time level is so that I can configure an nvidia proprietary driver, which requires that the x server not be running and I could switch tty's but that doesn't shutdown the x server and although someone had given me a key combination to the effect of ctrl-alt-backspace,backspace I was advised against using it as it might cause damage to the integrity of the data used to load gdm.
View 1 Replies View RelatedI have Redhat 7.0 and kde 2.1.1 I've been looking for a way to change the resolution. I've found many ways to do it, but nothing can fix my problem. 1.If you configure your monitor in the KDE Control center under peripherals you may be able to fix this problem. There are two items in peripherals, mouse and keyboard. I don't see anything about resolution.
I can simply do it like this in KDE 3.4: right click the desktop, choose "configure desktop", then "display", then choose one of the resolutions in the dropdown menu. I see configure desktop, but there is no "display" item**you could change settings in your /etc/X11/xorg.conf file. There is no xorg.conf file in that folder.
I have installed tftpd on Ubuntu, but I think it not secure very much. So I read its manual, and it says: The server should have the user ID with the lowest possible privilege. I find the server has the root UID:
[code]...
I have problem when I add another case in linear increase cogestion avoidance algorithm in tcp.cc why can't it work out when I run it?In the tcl code I have set windowOption_ to '9' (where I put my additional change).It seems that any change I've made doesn't take effect at all.What am I suppose to do to make it work? I make change like this :
void TcpAgent:pencwnd()
{
double increment;
if (cwnd_ < ssthresh_) {
/* slow-start (exponential) */
cwnd_ += 1;
code....
I am trying to alter the value of one configuration file from XML to LDAP.(Oracle Application Server)
sed -e 's/XML/LDAP/g' $ORACLE_HOME/j2ee/${OC4J_INSTANCE}/application-deployments/SPLWebApp/orion-application.xml
Oracle Home and OC4J Instance Values would be passed to script. The actual node in file(orion-application.xml) look's like this,
<jazn provider="XML" /> so this is to be change to <jazn provider="LDAP" />
I needed to change the openSUSE's 11.2 static IP and now I am having trouble ssh'ing to it. Is there something I have to do to regenerate or update the ssh keys?
View 2 Replies View RelatedI have logged in with root user
My systems Umask value was 0022.
Code:
So i decided to change it to 0077 and observe the system for some time. so i edited /etc/profile and added
Code:
at the end of file
rebooted the machine.
But the umask is still showing as 0022
After the first attempt is failed I tried changing it using below command.
Code:
Validated it.
Code:
rebooted the machine but the umask is still showing 0022
So at last i have to modify /etc/bashrc file and add umask 077 at the end of the file.
How would i make it in general for all(Even for non-root user) and not just for bash prompt.
Now I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?
View 3 Replies View RelatedI had issues with changing the pointer when compiz was active in ubuntu 10.10. it would not change when on the desktop, only when hovering over a window.I solved this issue by doing the following:
Hit alt f2 and enter-> gconf-editor
Then goto-> /->apps->compiz->general->allscreens->options
Then in "cursor_themes" type in the name of the pointer theme(Eg. DMZ-White)
This should resolve the issue with compiz.I am not going to go over that here.Oh yea don't forget to logout/login or press ALT F2 and enter compiz - -replace to refresh the pointer...
If this information excists here so sorry I was not able to find it. How to change permissions in Unbuntu for those people who are trying to change persmissions in a subdirectory.
Open the terminal and then type: Quote: sudo chmod yourpermission number /thenameofyourdirectory
Example:
Quote: sudo chmod 755 /directory
I know that you can modify the nice value of a particular process as follows:renice 19 -p 4567However, now I would be interested to set the renice value of ALL active processes.I am coming from the Win world so what I tried warenice 19 -p *Of course it is not working... Anyone a quick solution how to do that in Linux?
View 1 Replies View RelatedWhen I edit /etc/resolv.conf, it is overwritten right away with the old configuration. How do I really change the nameserver on Ubuntu Server 9.10?
View 1 Replies View Related