They say there are no secrets in Linux. I am finding that learning about Linux is becoming a life long experience. I have just started using a Debian distribution that is behind the Raspberry pi. My first problem was that the display would go to sleep after about 15 mins when not used. I wanted to turn this feature off. That is I wanted the display to be on all the time.
After some web searching I came across a way to do this. It involved a file in the root area called "lightdm" which stands for light display manager (I think).
Then under this as a file called the lightdm.conf file. Just one line in the config file gets modified. Now doing this via the monkey see monkey do method works. But trying to find out how this works and exactly what the cryptic commands do, ends up being a frustrating endless search. I tried to find the source code for lightdm buts its documentation is certainly not for beginners.
I tried finding out what a "greeter" was once again huge amounts of time spent trying to make sense of endless terminology.
It seems that nowadays trying to learn about the details of any software system is just so hard. Like try and find good documentation on drivers.
Don't get me wrong I love the fact that at least Linux is open source but I wish there was an easy way to learn about it.
Hello,
I am working on a board (sbc6000x with at91sam9261 micro, linux 2.6.24 to be precise) and having some fun making script i wanted to make real application.
The board is coming with a cross compilation toolchain. When trying to make a simple "hello world" executable to print on the terminal there is no problem.
I open my terminal, give the path of the compiler, cd into the folder where my .c file is and then i type :
Code:
arm-linux-gcc -o hello hello.c
Which create my executable "hello" and this one is working. But like i said, this program only played with the terminal.
The board is starting with a script calling another executable which use the lcd display, i have the source of this executable. My idea was to look at what was in the source of this application (lots of folders and files) in order to understand how it was working. I wanted to test the toolchain on the source (with the makefile) to see if i was able to generate an executable from a application with folderS/fileS but when i try to "make" it i have this error.
In my understanding this is an object file but aside from that i don't see why it would not works.
Thank you for your future answers !
Hello,
I've been reading through Christian Benvenuti's book "Understanding Linux Network Internals" and have been finding it extremely informative. However, my ultimate interest is to better understand the internals of the linux ipsec solution and how it uses tun/tap interfaces to achieve the goal. So, I'm looking for something on the level of technical detail provided by Christian Benvenuti. I've spent time googling as well as searching the source code. But, haven't been able to find what I'm looking for. I'll be much appreciative if someone could point me to any documentation that would help me. Thanks very much.
Hi guys I just started learning Linux, Need some help writing the script for the following
1. An argument of the form-6 sets the script to display the first 6 lines of the succeeding file(s). the default should be 5.
2. Anything else of the form "-x" should produce an error message
3. For a file name, display the first _lines of the file
I'm new to Linux, I want to master all of the lovely little details about what makes Linux tick, and how it ticks. I would love to know any suggestions of where I should start. I want to know how anything, the hardware, software, and firmware works. I am wanting to get into computer science, I'm very motivated and am willing to put in the time to learn and master Linux. I figure that Linux is a good of a place to start as any, seeing how there is a lot of source code to study and open source software to play around with.
I'm not actually that newbie,I already experienced Kali linux, Ubuntu and Slackware, but the last one was to much hands on to me. I don't want something simple like Ubunt, but nothing that slack, like slackware. My interests are programing, using matlab, learn the basic of script and general linux programing, run windows aplications, develop for linux windows and android. I really get into something challenger, but also smart, Wich could recognize my cards and install drivers. Something advanced wich i would personalize, and something wich would make me learn, but please, no slackware! Maybe someday, but not this time.
Another thing. KDE or GNOME environment
Please, be reliable and honest as such is possible and I'll have no words to thanks. I really want to get into linux in first category. If I would to use a slogan to my life I'd say:
Quote:
"Not the hard or easy way, not the curved path or the straight line, the smarter choice!
Why to go in the full way when I can get a shortcut? The answer: Will I learn with it, learn enogh to take a shortcut in the future? What is gain and when the questions will stop? Will they stop if i choose the shortcut?
If a have to make something, let's do it in the easy way, no need to reinvent anytihng.
The only thing that I don't want is to be alone. This doesn't mean to be without anyone to talk or help, however it also makes part, besides what really minds is to have someone else with information; the only thing that can go faster than light, the only thing that can make the world make sense; to share with you and to share for us. Just like univeverse couldn't make sense with only two electrons, it also could'nt make sense without people and coletive learning, for us, by us, through us... "
That was to much, but now you must now what I want.
Hi,
I installed ghostscript via yum package manager. Later I wanted a newer version of ghostscript and compiled it from source. "make install" placed the gs executable file under /usr/local/bin/gs. This works if I run the command with absolute path, but if try to run gs, the shell will output
"-bash: /usr/bin/gs: No such file or directory"
if I echo the path variable it will display
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
If i run whereis it will give me the correct path
gs: /usr/local/bin/gs
How do I make it work so that typing "gs" will run the executable file from the /usr/local/bin/gs?
(I am using Centos 6)
Thanks.
Hello all.
I have been using Linux OS's of and on since 1996. I completely gave up on MS in 2006. I change out a hard drive in my PC and MS thought I should purchase a new site license, I did not agree with that train of thought.
I found that popping in a disk and getting Linux up and running was easy to the belief that "Nothing could be this easy". It really was. The learning curve was encountered when trying to make Linux Fly. I recommend that everyone new to Linux or anyone with a desire to do a bit more than e-mail, catalog some photos or music get your hands on a Linux command reference guide and learn the terminal. There is so much to understand and do With Free Open Source Software and there are so many ways to access, install and configure the available software. There are so many resources for help and trouble shooting all things Linux however, here's the caveat; I really had to learn how to ask the question to get an answer that worked for me. General question will get you general answers and rarely ever was the answer I sought found the hodgepodge of generalities found in forums or Google searches and the like. I learn to be very specific in my question and the answers were discerned with less difficulty. There are really answers or fixes for the questions I have had concerning Linux.
I am an older, competent, windows user who would love to migrate to Linux. Unfortunately there is no easy path. Linux seems to be a program written by geeks who want it to be different, forcing a windows user wanting to move over to completely learn a new way to use the internet. Even moving to Apple is easier. To learn Linux is like forcing us to learn Chinese from scratch. That will not happen.
Unless a pathway, or a bridge, which is "somewhat" like windows is provided so we can assimilate into this new OS called Linux, I, we, will never really accept Linux to replace Windows. Even though we want to get away from Windows, there is no way to do it, because Linux is just too different to easily learn. I can play with Linux, but that is all I can do - play with it, not use it on a daily basis.
SAD.
And here we are, going to be forced to accept Windows 10 as the next OS, and I have nothing to say about it, for MS will soon kill Win7 like they killed XP, and force me to go to Win10, when I don't want to. I would love to use Linux, but the learning curve is just toooooo steep.
SAD
It would be nice to have a version which would make moving from Windows to Linux easy. The reality is, though, Linux is an OS for the younger geeks, or experienced programmer, not an OS for the avg user. Why can't that change? I realize this is an age old question, which has been around for years, but I'm realizing it is now becoming a reality I need to face.
Hi,
Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:
1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)
Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:
"File with harddrive/disc snapshot is corrupted."
But this is most likely because they are supposted to be used in linux environment, hence such question.
*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.
The following solution for current situation (quoted error above) works only partially:
http://www.sysprobs.com/simple-tip-h...thout-software
I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:
"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."
Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.
Kindest regards and thank you a million in advance.
Hey guys. So I just went out and bought a Sager 8268-s (clevo p150sm-a) With an i7 4910mq and a Nvidia 980m gt. As I am a computer tech by trade, every time i see Windows i get horrible PTSD so i decided to try Linux instead. After many hours of trying to get a dual boot working finally got Linux Mint 17 Cinnamon installed on my computer, but when I went to install the Nvidia driver it landed me in fallback mode which I could not escape. So then I tried Ubuntu 14.04 LTS thinking maybe Mint was incompatible with the driver and the same thing happened.
So here is my method:
(sorry i don't know how to make a code box :/ )
First I log in to get root access:
$ su
Then I Update the xorg:
$ sudo apt-add-repository ppa:xorg-edgers/ppa
Then update my system:
$ sudo apt-get update && sudo apt-get dist-upgrade
Then i go into Virtual terminal (Ctrl+Alt+F1) and disable the display manager:
$ sudo service mdm (or lightdm for Ubuntu) stop
Then i install the drivers which i have done multiple ways:
$ sudo apt-get install nvidia-current nvidia-settings
or
$ sudo apt-get install nvidia-343 nvidia-settings
or by downloading the driver from Nvidia (first designating the file as executable)
$ sudo sh nvidia.run && sudo apt-get install nvidia-settings
Then after install, I create the config file:
$ sudo nvidia-xconfig
Then I reboot. After I get the low res mode in Ubuntu or fallback mode in Mint and Driver manager doesn't detect any proprietary drivers and I have to reinstall to get the OS working again. Any suggestions would be greatly appreciated.