Software :: One Command Line To Rule Them All (living Without X Via The Framebuffer)
Feb 26, 2010
I am a card-carrying member of the Church of the Command Line. I would love to do away with X altogether, and just use the virtual consoles. What's stopping me is, of course, media. Images, movies and web browsing. I know about the framebuffer, and it seems promising but still kind of complicated. From what I've read it looks like I'd have to recompile my kernel everytime I wanted to change the background image. Not a showstopper, but more work than I would like.
Anyway, this post is about the possibilities, and hopefully some hints on how to get started. I know images are possible, and that there are codecs for mplayer to output to the framebuffer. What about web browsing? I've gotten into my gmail via elinks before.. although I can't remember if I was using the standard view or basic HTML.. probably basic HTML. Are things like inline images, javascript, embedded video and flash even theoretically possible in a console browser at this point? Or am I just talking fantasy here?
And, any guidance on getting started would be most appreciated, especially with background images. It looks like mplayer just needs the right codec and it'll work (correct me if I'm wrong please).. so that doesn't seem too bad. But the background images seem kind of involved. The only eye candy I even remotely want on my screen is a nice background image with the text floating on top. How can I accomplish this via the framebuffer?
[Edit: also, I should have made the title more descriptive, but apparently I can't edit that ]
After making and update my Karmic Koala and trying to set up lamp through tasksell, i have rebooted my notebook. Then the ubuntu logo was displayied and i get an"Ubuntu is eunnung in low graphics mode"(EE) open /dev/fe0: No such file or dierctory.i have done some googling and figured that it has most likely to do with ubuntu tryin to using frame buffer wrongly.
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
The symlink part is fine but it does not appear to run the command when I plug the device in. I can run the command "/usr/local/bin/my_command" from the shell fine.
Code:
mount /dev/myusbstick_1 /media/TMPUSB && cryptsetup luksOpen /dev/md5 md5_crypt --key-file=/media/TMPUSB/key && vgscan && vgchange -ay && mount -a && umount /media/TMPUSB
What am I missing. I have tried +x in owner,group and other.By the way what does UDEV run as, I assumned +x on ROOT as that is the owner should be enough.
Question (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?
2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?
3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?
4. Any gotchas or issues that I should be aware of?
tell me the command for iptable rule to add in Chain RH-Firewall-1 to block ftp port & the ftp server was configured in public ip address,i searched in google but i did'nt get the exact command for iptables rule in Chain RH-Firewall-1.
I've noticed that I no longer get security releases via Yast for my Opensuse 11.1. So I'm now running on out of date Firefox and Flash etc. However, my system is very stable, and I'm not really looking forward to wiping the disk and installing the latest version. How safe am I to continue using my 11.1 system?
I am aware of the fact that Ubuntu can be installed and booted form a USB stick. No problem. What I wanted to know is if this year's Ubuntu is smart enough to not trash the USB stick with excessive writes to a specific sector.
While USB sticks are not expensive, if the OS is going to thrash them, it limits its usefulness.
Im kind a new to open suse, though I think its a very nice alternative to the ordinary Linux distroes.Recently I tried to make a distro for my laptop in the living room, -the only thing its supposed to do is play music, and be able to connect to the internet from time to time. However, I must have forgotten some packages or something, cause when I booted the engine after installing,-(wich btw went smooth:-)) -I cannot play any music, -getting some fail message. -Now iVE installed all the g-streamer packages and the totem player, what else do I need ???. -Have been looking through the packages, but I dont seem to find any other packages related that i think i shound use...
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash # #TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code: #! /bin/bash # #TODO write this for gnome and xterm USAGE=" ${0##*/} [-x] [-g] code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code: gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample
Code:
yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.
My monitor recent died and I'm using an old CRT as a replacement for now. I get an error when Ubuntu starts saying it could not find a framebuffer compatible device. It then gives me the option to boot into low res mode which I accept. Once I login, the display actually looks fine, but I would like to get rid of the error message.Anyone know how to remove framebuffer usage from the bootup process? A text display is fine. I looked in my xorg.conf, but I didn't find anything that I could tinker with.
I installed Centos5.2 and have created 1 instance so far. It all works great, but when I created the new instance (using command line from ssh and "virt-install") it gave a message saying probing for video, not found, assuming headless and on I went with the install.
But now I have need for a framebuffer because I have a JBOSS/Java Captcha routine which throws an error if it can't use the X11 libraries or some such (I've resolved this before on a headless Amazon instance once by just running "Xorg"). But I can't run Xorg on my DomU because it can't find the fb device!
So, I searched around and did a makedev -d /dev/fb to create it, but it still doesn't work, because, I assume, the hardware isn't found anywhere. So... how do I get Xorg to work in this case? Or do I need to re-do the virt install and somehow force it to find video hardware (but how?)
Here is some salient output:
root@virty{/etc/X11}: uname -a Linux virty 2.6.18-92.1.22.el5xen #1 SMP Tue Dec 16 12:26:32 EST 2008 x86_64 x86_64 x86_64 GNU/Linux root@domU{/etc/X11}: uname -a
I have ad724 chip from analog devices that converts VGA signal to composite video, but it requires input in PAL standart. Is it possible to change framebuffer resolution and synchronisation to achive PAL on RGB output? I have try to change this using fbset but there is no change of resolution. Grub runs kernel with framebuffer of 640x480 resolution and i'm able to watch videos using mplayer on cli ubuntu version, but i have problems with setting it up to PAL.Why fbset does not affect to current display?
PS. I have Intel Atom CPU with intel integrated graphics (maybe problem is here?)
I've just installed Slackware 13.37 x64.Right now, everything is fine! All hardware OK, sound OK, Network/WiFi OK, nVIDIA Proprietary drivers OK, KDE Composite OK, Desktop effects OK.But when initializing, the messages pass very slow!My lilo framebuffer settings are 1024x768x64 (Code 791, 317 in Hex), my Graphics card is an nVIDIA GeForce 9100 M G (256Mb), but yet, I can see it refreshing like an image loading in 56Kbps connection. I really would like to use framebuffer during boot (Oh, come on... The little penguin is kinda neat :-), so I'll ask... Is there a way to use my graphic driver in framebuffer, or make it faster?
I have made lvms with gentoo but my technique seems not to be working. I have a disk /dev/sdb1 which I made after the system install on disk /dev/sda1. I am trying this:vgscan vgchnage -a ypvcreate /dev/sdb1lvm bitches out with:[yo@with]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ignored by filtering).X is not installed and system-config-lvm is not working with the command line.
I use the CLI a lot (the C+S+F1-F6 terminals), but i have a really tiny resolution on the framebuffer. How do i increase the framebuffer/CLI resolution in suse (that is opensuse 11.4)??
I am trying to install Ubuntu 10.04 in text mode on a VIA EPIA-M motherboard with VT8623 VGA that gives a distorted screen when using the framebuffer. I used to be able to disable the framebuffer during installation by passing debian-installer/framebuffer=false to the kernel, and the screen would be fine. However, with Ubuntu 10.04, I still get a distorted screen even with debian-installer/framebuffer=false.
I've searched and searched and I cannot find the answer. I had links2 -g working in framebuffer in the last release, but in Ubuntu 10.10, I cannot get it to work.
Problem: I do NOT have any framebuffers. /dev/fb0 etc.
I have changed my console font size in grub2 to 640x480 and it works perfectly.
I believe I have all the required framebuffer files and libraries (libs) installed, yet I do NOT have any /dev/fb0 etc.
I set my in-laws laptop up with Ubuntu 9.10 about a month ago as they were growing weary of XP. Everything has gone fine until the other night when my father in law was messing about in software store. He added a few packages, and deleted one by accident. He cant remeber what he deleted, or even which category it was from, but now the laptop crashes when try to start X.
Now when the laptop boots it shows xsplash then goes to a dialog screen which says :-(EE) open /dev/fb0:no such file or directory.Reconfigure does no good, but I can get logged in to text install.The laptop is an Acer Aspire 3630 and uses SiS graphics.I have tried googling to find an answer, but I am at a loss, is there any way to fix this? how would I go about re-installing the full xserver? can I re-install 9.10, but keep the user accounts?