Programming :: Found 1 Or 2 On Environment But The Screen/pictures Are Not Clear
Jun 20, 2010
I have been googling around for Java VIDEO tutorial on Linux environment running command lines (on Editor NOT IDE). However most of them found are on Windows environment running IDE. I only found 1 or 2 on Linux environment but the screen/pictures are not clear.
Running Ubuntu 10.10 along side Windows7 on a 64-bit HP Pavilion dv7 Laptop. Everything works in Windows. Everything works in Ubuntu, except for 2 things.1) I can live with not being able to enable/disable wifi.) I cannot read photos from an SD card plugged into the laptops SD card reader. When I open the SD card in Ubuntu, I can see the file name, but the thumbnails show messed up pictures. Usually, the bottom half of the photo is solid green, and there are usually lines running through the photo, or it is divided into quadrants with one quadrant being ok, but the rest having the green and/or lines.I assume the driver for the card reader is not correct. Card reader works fine in Windows. So I have to reboot into windows, copy pictures from reader to a folder, then reboot into Ubuntu and I can see and open the photos just fine. Just cannot read and copy them from the card while in Ubuntu.
If I logout on terminal, old contents are still possible to be read. I was trying to get it to work using pam_exec, by adding
Code:
Code:
This however didn't do antyhing. How to make it work using pam? I know that i can simply add some control codes to /etc/issue to get basically the same effect, but i wanted to do it using pam.
On openSUSE 11.4 KDE, is it possible to show user pictures in the Login screen? I added a picture to my user account in the "Password & User Account -- KDE Control Module" but when I logout the picture does not show in the Login screen.
The mingetty --noclear parameter is failing with my current Fedora 13 installation. In the past this parameter would inhibit the clearing of the screen before prompting for the login name on the console. At present even with the parameter it clears the screen.
My /etc/inittab (which always worked past versions) contains:
Code:
Can someone tell me if I might be doing something wrong, or was this parameter dropped in the current version? Does anyone know of a workaround?
I understand the security purpose of the clear screen. But the particular computer is in a secured location. I prefer to look at the content of the previous screen for debugging and other chores.
I am unable to use clear or cls command on bash shell. I have recently installed Cygwin and am using that for practicing unix commands.
I see that I can use Ctrl + L to clear the screen. I created an alias in my .bashrc to do the same as alias cls='^L'
This is how i defined other aliases e.g.
And they work. Hence I assume cls will work too but this is what I get when I try to give cls on command prompt. Am i missing something? Is there a way to do this?
Then someone suggested, You cannot alias keystrokes to commands or vice versa. You could just alias cls to an echo command: echo -en "x0c"
And I added the following to .bashrc,
Sourced the .bashrc file. No errors but cls still does not clear the screen. Infact when I typed the echo -en "x0c on command prompt as well, nothing happened. What does this command do?
I am currently running 11.04 on my laptop. Firefox is struggling to cope with images for some reason. Whenever there are pictures on screen in firefox the computer slows down to a glacial pace.
I tried clearing out the history and cookie files, and i have tried uninstalling and reinstalling FF but the problem still persists. I have tried other browsers that worked fine with images, but didn't find any that i really liked.
No more than 15 hours after a breezy installation and setup I somehow managed to stop the desktop manager from displaying. Once you boot into Suse, the loading bar goes across, a white flash, then a blank screen forever. I figured it was KDM once I booted into x11safemode and tried to boot the desktop manager, it recreated the situation.
I've tried un-installing and installing KDM again, however it seems to reuse the same config file. I'm thinking about deleting the config file mentioned, but I'm not sure what will happen when I install the desktop manager, if there's any setting up to get it to work with my setup, or even if that will fix the situation.
I am not clear with use of + sign before function names. If any one here is aware of this syntax let me know. They have used + and - signs before some lines I am not sure of what they are?
I know that these forums aren't M$ support forums, but any mention of Linux and open source there just ends up in "don't use Linux"-type replies, so i figured i should ask it here. I have a quad-boot setup (Win7x64-Win7x64-K9.10x64-K9.10x64). I am in the process of migrating this setup to another (bigger) HDD. The Win7 system partitions were cloned using 3rd paty imaging software, Linux system partitions were cloned directly (cat /dev/sda5 > /dev/sdb5), data partitions were freshly created and populated with files copied from old partitions.
As the hard drive is bigger than previous one, i decided to add a little more space to Win7 system partitions. So when creating new partitions, i left 5GB unallocated space between them in order to grow the partitions later. I cloned the new partitions, ran the chkdsk with all options on to make sure the resulting partition survived the migration, then checked if it is readable under Linux (it was), used KPartitioner to grow the partition to the new size, again booted into Win7 Recovery, ran chkdsk with all options on, removed bootloader and made a new one using bcdboot.
Now, my Linuxes boot OK (there was some wankery involved but nothing too serious), but neither of my two Win7 can. I checked the bootloader, fiddled with different settings (e.g. removed setting the root by UUID), even tried to manually boot it from commandline - to no avail. After "chainloader +1" and "boot" it just does nothing. No error messages, nothing at all - the console screen doesn't even clear.
I find that when I am using bash, I like to type clear <enter> ls.. or clear; ls.
I wanted to these two commands into a script called cls so I can call the script to clear the screen and list files at the same time. My script looks like this:
I did chmod a+x and put it into /usr/bin
The script works fine, except that when I execute it, the folders/files are not color coded. If I type clear; ls on the command line, they are color coded.
You don't run x windows in the cession. Let say you run init 3 at the prompt and login your acount. Is it possible to run a command that let you open a little screen with graphic interface and that accept the mouse. Exactly the inverse of the console in an X environment.
I have written a tiny script for kernel compilation, which call menuconfig and then compile the kernel. It is working fine. Now I like to test my environment and if it is shell menuconfig will be called and if X then xconfig will be called. How can I check the environment then?
(Using Ver. 10.04-lucid lynx) This is because, at random, Gnome environment will have some kind of problem, leaving me with a black screen, like the terminal but not it, where I can enter my password and that's just about all. There seems to be no way to enter the graphical linux environment. I was forced to wipe the hard drive clean twice because of this and both times I reinstalled lucid lynx.
In C, there's a global variable 'environ'. With the help of linux manual, I know it's defined in <unistd.h>. But the fowllowing program is also right without <unistd.h>:
my instructor gave me a project in c programming language, the probelem i don't have a c program combiler and i don't have a unix os on my computer, and my knowledge in c program is soo weak i took it years ago, i have this code but it does't compile on Dev-C++ on Windows OS, so if you just help me out with this program:
When I put a "test" target in my Makefile containing Code: @echo "CXX= $(CXX)" it tells me "CXX= g++". But I have nothing in the Makefile assigning any value to CXX, and as far as I can tell I have no CXX environment variable (no "CXX" appears when I run the shell command "env", and "echo $CXX" returns a blank line. So where's the g++ value coming from. Is this just built into Gnu Make, or is there a configuration file for make somewhere?
I have a Gateway NV59C09u laptop, I tried running both maverick and the latest beta of natty as live usb's to no avail. It boots fine, but at the first screen the light is so dark that I can't really read anything nor see the mouse pointer, I can just barely make out a window-looking thing. Trying to increase the brightness using my F-keys doesn't do anything.
It's gotta be some kind of graphics related issue, because booting the alternate iso works fine. If I could figure out a way to boot the ubuntu-desktop live image via a different video driver that would probably work, but I'm not sure how to do that (ctrl+alt+f1 does nothing).
I am trying to to execute multiple programs on multiple remote machines. Each program needs to be run in a custom Environment that is not known at login time. Currently I am using ssh to connect and run the program. My issue is that I'm not sure how setup all the Environment Variables that I need on the remote machine. I was able to write all the environment variables/values (NAME=VALUE) that I needed to a file and place on a shared file server (prog.environment). I thought the best way to approach this would be to write my own utility (custom.shell) that would interpret the environment file and then execute the desired command.
I have just installed Fedora (13) for the first time. It's great ! So thanks to all its developers !
I managed to do many tweaks I wanted to, in no small part thanks to this forum, but here's one that eludes me and my google-fu.
I'd like to customize the login screen (if I grokked correctly, that's gdm). I already saw how to change the background or how to enable automatic login, but what I'd like to do is this :
1. Disable that rather annoying "pong" sound when I select a user,
2. Set a default desktop environment. Gnome seems to be the default environment selected in the drop-down menu, but me, I'd like for it to be XFCE.
I am would like to learn how to keep my system clean of unneeded and unwanted file clutter as I am trying to get the most out of my older home built pc. I am running fatdog64 puppy linux off of a usb stick right now, but I would like to have a small standards based setup on my hard drive to use as a base to build a custom kernel for my pc. I sure miss my old GEM desktop