Programming :: Use Firefox As User-interface For Shell Script?
Mar 29, 2010
In Windows, I was able to use IE as a user interface because I could code a WSF (Windows equivalent to shell script) to respond to events in IE.Now that I've moved to Linux/Firefox, I'd like to use Firefox in a similar way. Specifically, I would like to write a bash script to run lsdvd with XML output, use XSL to transform the XML for Firefox, then take an action (encode a selected track on the DVD) based on the user's selection. I would be happy if I could make Firefox write something somewhere that the script could read, but I suspect that security measures would prevent that.
View 3 Replies
ADVERTISEMENT
Jan 21, 2011
I recently started shell programming and my task now is to do a menu display.Currently i am stuck whereby user will input both title and author and it will delete it.
Do i have to use sed command?
View 4 Replies
View Related
Jan 30, 2011
I am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.
View 4 Replies
View Related
Sep 5, 2010
How do I create a user account in a shell script? I know this may sound n00bish to you, but I know it's more than just mkdir-ing the home directory and subdirectories.
View 7 Replies
View Related
Jan 14, 2010
the script should take as input in the begginig the username of the user and then deletes all the files and folders from the user in every place he has them. script must also check if the parameters have been given correctly (only one and that one must be a username) Doesnt all the files of a user exist on a folder with his name? what if i delete this folder? Will something like this work?
Quote:
E_NOARGS=65
if [ -z "$1" ] # Exit if no argument given.
then
echo "Usage: `basename $0` directory-to-copy-to"
[code].....
View 7 Replies
View Related
Mar 10, 2011
How do i take a single line of input from the user in a shell script?
View 3 Replies
View Related
Aug 29, 2010
Trying to create a small script that will read user's input, test if user entered some input and if not display some message or display a text using user's input.
The script is the following but i get an error saying "[: 6: =: argument expected"
View 12 Replies
View Related
Jun 15, 2011
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies
View Related
Mar 26, 2010
I am currently working to develop a perl script for irssi that will capture data from irc channel hold it in memory as variable and send it to a shell. Does anyone know a good irssi irc scripting guide? something that will include $botname, $msg, $nick, $channel etc scripting explanation. Is it possible to send a run program command to shell thats located in my /home/user/myapp using ./myapp from irssi? i am using bash. I've only just started, so i dont have any code written yet,
View 2 Replies
View Related
Feb 25, 2010
I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?
View 1 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related
Oct 22, 2010
I want to create for my private use, a simple web interface to manage some easy task (useradd, userdel, passwd, etc...).I have some basic knowledge of PHP; how can I realize this? PHP as module or CGI? Which is better in this case?
View 12 Replies
View Related
Jun 5, 2011
I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.
Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....
View 10 Replies
View Related
Jun 25, 2010
Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?
Example:
Code:
>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...
I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.
View 4 Replies
View Related
May 28, 2010
downloaded the latest firefox and put it in /opt, it runs ok but the interface is missing icons, like the back and forward buttons, refresh, the x on the tabs, the + for a new tab, and others. iceweasel is fine. anyone seen this or know where or how to fix it?
View 4 Replies
View Related
Mar 7, 2011
Yesterday I try to download the latest version of Firefox from the Web Browser Cliente. But something happen...
I receive a message saying there I don't have persmission for this.
Can anyone explain what type os permission I need to grant to my user?
OBS: I know there I can download the installer from the site, but i want to understand this!!
View 11 Replies
View Related
Feb 11, 2010
My desktop won't come up automatically now on a hard disk of mine (see below for the Ubuntu version history). It does boot up with Grub etc; then the Ubuntu load up bar thing with the timer spinning around [I hope you can understand this technical language!] goes through ok but then instead of getting the user interface with the little boxes to enter my login and password, the whole screen is in black (as if it's in Terminal mode). This black screen then asks me for my login and password: when I entered them, it said:
Starting up......loading, please wait
19 + 0 records in
19 + 0 records out
kinit: [followed by a load of technical stuff and a series of numbers]
kinit: trying to resume from /dev/disk/ by-uuid/9b [then a whole series of numbers]
kinit: no resume image, doing normal boot.
[Code]...
View 2 Replies
View Related
Jul 5, 2010
when I log in, I can move the mouse, but nothing else. The whole user interface is unresponsive and absolutely no keystroke works. It is probably not because of my hardware (hp 2710p) because logging in as root (with only slightly different Gnome configuration) does work well. I assume it is because of some error inside the Gconf. There is always an error when starting Gnome that an entry could not be read, including some bunches of ~30 question marks. If it is useful, I can give you the whole message literally.
I haven't changed data inside Gconf, but I did have it open when I was installing a program, and then the console did show the message with the question marks for the first time (while processing some "trigger" post-install). I think the program I was installing was drapes (for changing desktop wallpapers in Gnome). Strangely Gnome did startup correctly afterwards for a couple of times (always showing the above-mentioned error). I have no idea what change made it suddenly stop working yesterday.
The differences in Gnome configuration between the working root and the unresponsive user account are, as far as I can tell from memory: changed theme (elegant-brit), wallpaper, fonts, globalmenu in the panel, installed - added to panel - uninstalled drapes.The rest is the same for the root account. I can still log in to the shell as the normal user, but "startx" leads to the disabled graphical interface. As I said, the graphical interface works well when I use the root shell. I can't access the internet from the user shell unfortunately (if I need to, I will figure out how to set up wlan in the shell).
View 1 Replies
View Related
Apr 13, 2011
i usually use the connect to server GUI under places in previous versions of ubuntu. I am not able to see the application in ubuntu 11.04
View 6 Replies
View Related
Sep 18, 2010
I'm working with Ubuntu for several months now, mainly for programming (so I'm pretty newbie), and I really liked it, so I deiced to install it on my old parents PC, so everytime I come home to visit them I won't have to install the entire OS all over again (somehow they manage to kill windows in few month ).so for my problem I download the last Hebrew Firefox from Mozilla Israel site firefox-3.6.10.tar.bz2.how do I install it ?
View 5 Replies
View Related
Jan 15, 2010
I have currently had the need to go back to basic socket programming, and implemented a simple udp packet sender. But I realized I needed to be able to select which network interface to send the packets from.
The reason is so that one of the interfaces has vlan tagging, and I need my UDP packets to be accordingly vlan tagged. For example, one of the interfaces is eth1.200.
View 2 Replies
View Related
Dec 15, 2009
I've created a simple script based menu. This menu will be accessed by only a certain users via ssh.When user logs in, the menu will automatically run. (configured at user's .bash_profile).How do I force the session to close when user hits Ctrl-C or Ctrl-Break ?In a nutshell, I don't want user to have access to shell.
View 11 Replies
View Related
Jan 6, 2011
The following are the output of command "ifconfig -a":
[Code]....
The interface "eth0", which is down, was not displayed, but loopback interface has been displayed. So, how can I make my application display all interfaces, including the interfaces which are down, but excluding the loopback interface?
View 4 Replies
View Related
Mar 11, 2010
Mac and Windows Vista have such pretty user interfaces with all the transparencies and stuff. Is there anything for Ubuntu Linux to improve the way it looks?
View 5 Replies
View Related
Jan 5, 2011
I have installed ubuntu server 10.04 sucessfully. But I'm new to ubuntu so I need graphical user interface(GUI). How can I install gui in ubuntu server 10.04.
View 5 Replies
View Related
Mar 20, 2011
Where is the connect to server interface in Xubuntu that is present under places menu in ubuntu?
View 1 Replies
View Related
Jul 4, 2010
My default install language is chinese, now I want to change it to english ,how can I do it ?
View 1 Replies
View Related
Jun 20, 2011
I have a Linux mail server (Fedora). This server was set up long before i joined this organization. Now I have these issues I would request assistance:
1. I am not able to access the Graphical User Interface(gui) on this machine. Startx does not work. I have also tried using combination keys alt+ctrl+f...keys but no progress. As a result am not bale to do some tasks.
2. The clamav that is on the machine has since become outdated. Efforts to update it to latest versions have failed. How do i get to update clamav and protect my system?
3. Because of not being able to access the gui as well as the inability to update clamav have led to my server apparently sending spam mail which in turn have led to my public ip being black listed in a number of sites. Now how can i secure this server so that it stops sending the spam mail and hence avoid future blacklisting?(NB am using postfix and the server sits behind a router which connects to the Internet)
4. I have observed that the server has some iptables rules set but everytime the server restarts the rules stop. I have to manually restart them again to run. How do I sort this?
View 8 Replies
View Related
Feb 1, 2011
Any program that has a web interface and has a features such as adding, deleting users as well as changing password. If none, does anyone knows a program that can interact with a script. A java page or apache+php perhaps? I can create script for those features but my problem is how can I integrate it to a GUI.
View 4 Replies
View Related
Jul 16, 2010
Ii successfully installed RHEL 5 on my HP pavilion tx200 (tablet) I reboot the system and the booting was successful but failed to display the interface that will allow me to supply my user account, I installed it using custom layout and default layout but the result was the same.
View 2 Replies
View Related