Fedora :: Write A Program Which Would Get Information From A Webpage And Display The Information On Desktop Sort Of Like A Widget?
Sep 3, 2009
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
I want to write a script that will extract information from a db table and store that information to a csv file. Basically, I have imported data into a table, I want to save this data to a csv file for later processing. How do I connect to the db and extraxt information from the table?
Is there a Linux application which can display motherboard and CPU sensor information and which also satisfies one other, absolutely key, requirement: It should be directly usable, after installation, by a reasonably intelligent computer application user. That is, it does NOT require deep internal knowledge of specific hardware or obscure system software customisation. It does not require hours, days or weeks of reading of documentation which is so crafted as to be the antithesis of end-user guides. It must be capable of being invoked easily.
This eliminates all software that the Ubuntu Software Centre lists when performing a search with the term 'sensors', with the exception of xsensors. All other software listed with this search installs without error but is then totally invisible to me - not even listed under 'installed software'. I am aware a key requirement to be a Linux developer is an advanced commitment to play games of 'I bet I can make my software harder to use than yours', but I'm too old for that now. I don't have a need to prove how technically capable I am.
Xsensors installs and tells me where it can be found, but is inadequate as it lists only 2 CPU core temperature readings. It does not give me any indication of motherboard temperature or fan speeds. That's all I want to do - get a simple snapshot of sensor values without having to resort to entering BIOS setup. It's the sort of information that is so easily available using the ASUS-supplied 'asus-probe' software under Windows. Is it possible, given the key requirement previously mentioned?
I have been playing with Linux consistently for a couple of months now. I've been a Windows sys. admin for most of my career, so Linux is pretty strange for me. I started off with computers way back with the TRS-80 and then eventually moved to DOS systems. So the command line interface (CLI) of Linux was not completely alien to me, yet my lack of knowledge on the syntax and commands is holding me back. I have come a long way.
Recently I needed to play around with some DNS settings and one of the commands I used frequently in Windows, IPCONFIG /ALL, doesn't have a direct relative that displayed the same information. If you run ifconfig, it doesn't return the DNS servers you are currently using. You have to run a separate command to retrieve that information.
What I have done is created a super simple script that displays the network information for my primary LAN adapter, which is ETH0 in my case. After that, it shows the domain and name server information. Then it pauses for 20 seconds before closing the terminal window.
Here are the contents of the script file:
ifconfig -a eth0 cat /etc/resolv.conf sleep 20
I simply right-clicked the Linux desktop, choose Create Document, Empty File. I named it something like Network Info. Then I opened it and put this information in it, saved it, and closed it. I renamed the file and added a .sh extension to the end which makes it into a script file. Next, right-click the script and go to properties. In the Permissions tab, check the box next to Execute: Allow executing file as a program. Then click close.
To run the script, just double-click the icon and then click Run In Terminal at the prompt. The terminal window opens, displays the information, and exits after 20 seconds. If you need it longer than that or need a different interface (such as wlan0 for your wireless), you can change or even add that in.
This was all done in Ubuntu 10.10. I know it is very simple and very straight forward and welcome thoughts and feedback about simpler ways to do this. For me, the old-school Windows admin, it's a baby step in the right direction. I am really enjoying learning the Linux OS.
Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Server Guide > Security > User Management states that there is a default minimum password length for Ubuntu:
Say the password is to be modified by the user using passwd. Is there a command for displaying the current password policies for a user (such as the chage command displays the password expiration information for a specific user)?
This is rather than examining various places that control the policy and interpreting them since the process could contain errors. A command that reports the composed policy would be used to check the policy setting steps.
I used to have a program that displayed system information (cpu/ram usage, stuff like that) but the name escapes me at the moment. The key feature of this program is that it was intergrated into the desktop.
Can anyone tell me of a simple chat program that I can install on both Windows and Linux? I need it more for the local intranet than the internet. I wish to chat with window users in my network? Also please forgive me if this is the wrong forum for this question.
A few years back when I was running Linux most of the time I used a program that gave me information on my machine.
It had different themes and such, and it would usually rest vertically along the side of the desktop. It would tell one information on drives, space, memory, I think you could even have it tell you the weather if you entered geographical information.
I know I'm being a bit vague but that's all I can remember, does anyone recall this program? It was pretty popular back then...so I wonder if it's still under development.
I need to write a script to report useful information on disk utilization for each user's home directory.For each directory I need to show: 1. the long listing of that directory entry (but not the files in the directory), so that I can see the rights and owners of the directory.2. The amount of disk used by that directory, in human-readable format, including subdirectories. I need to have two lines for each user one after the other. For example:
/home/user1 directory info /home/user1 disk usage /home/user2 directory info /home/user2 disk usage
The script will assume that all users, except user root, have their home directories in the /home directory (no need to do anything with the /etc/passwd file). And if the administrator adds or removes users, the script should still work correctly (so the script shows the information for all current users).
Here's what I do know. The command "ls -ld /home/user's_name" will give me the info I need for #1. And the command "du -hs" will give me the info I need for #2. What I don't know is how to grab each individual directory in order to apply the above commands to each of them in order. ???
I am a long time Windows user. This is my first venture into the Linux world. I am only using a 15" moniter, but that does not seem to be the problem. It seems to be working OK on gmail. But with Hotmail orYahoo it doesn't seem to work at all. What can I do?
I have a question regarding the configuration of Network Connection. My wired connection is fine right now and when I check the network connection applet, it display active information of eth0. However, when I click the Configure button, the Network Connection window appears but there's nothing in the Wired panel. Should there be a eth0 in that panel? I remember I had one before, but after I messed with some configuration of VPN, my network became unstable and I remove the Network Manager to try to solve the problem. Since then, there's nothing in my Network Connection window, though I can still connect to my router with eth0. Now even after I reinstalled the Network Manager, I still don't get anything.
These days fedora panel has an applet named account information, where you can edit your name, email , picture etc.But which file contains these information? I would like to edit professional info, add more data, which cannot be done via the gui.can anyone tell me the filename?
I have a VM setup with Fedora r14 installed. I've installed openssh-5.5p1-23.fc14.2 with hopes of setting up an SFTP connection so that I can access my files off site. Actually I want to share some of my files with my mother but using a secure way of doing it.
I've got everything setup and it's working. I've even chrooted / jailed the user accounts so they can only see what they need to. I have an external HDD I've connected formated as FAT32, or so I believe since i can't check it now that it's format is listed as RAW due to me messing with the drive whilst connected to fedora and it fubar'd my format, and now that's another problem that I'm just now finding out as I'm writing this.
So if I manage to get my files back up on the drive, which I should be able to with a util I've used for this problem before, is it possible to access the drive information if I 'mount --bind' the drive, which I did before? Just so you know I can see the folder listing through WinSCP, but when I try to access it, it tells me denied. I've read that linux cant work with FAT drives and isn't able to set perms so I believe the reason why I can't access the contents is because it's set for 700 and besides the owner, which I'm not when I'm accessing them, I can't access the content.
I'm having trouble using ninjavideo.net with fedora firefox. I installed JAVA and Flash, but everytime i try to load a video it says "There was an error getting the video information." Does anyone have any idea what's causing this, and more importantly how to fix it?
When I do System > Applications > Update System, it brings up a list of updates, and can tell me what each update is meant to fix (i.e. "fixes a bug in the flux capacitor so time travel works again (CVE-01234)"). How do I get similar info from the command line- I can't get it through yum, can I?
I'm sure this answer is out there but I cannot find it. I thought there was a command you could put in the terminal to find out what version of Fedora you are running and also tell which architecture (either 32 bit or 64 bit) it is. Does anyone know what that command is?
I've been looking for a tweak that would allow me to store temp and log files in ram. I've found a few that involved editing the fstab file, but they were either Ubuntu articles or they were over a year old and perhaps didn't apply to Fedora 14.I hear there is also a 'noatime' command that can help speed up processes by telling the kernel not to saved when files are accessed.And what are the advantages and disadvantages of noatime, and writing log/tmp files to ram?