LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-07-2003, 01:08 AM   #1
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Rep: Reputation: 30
running gedit on fluxbox?


is it possible to run gedit on fluxbox with just base system fluxbox?
 
Old 12-07-2003, 01:22 AM   #2
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Rep: Reputation: 30
Yeah should be, I mean I do.
Just open up a console and type gedit <path-of-filename> - It will open up gedit and your file (You already knew that?)
Have you started editting your Flux menu yet? It's really easy. In your /home/<user>/.fluxbox/ directory there's a file called menu - FInd where it says editors and add gedit
 
Old 12-07-2003, 01:30 AM   #3
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
w00t! it's the BEST editor. and yes, I have fiddled with the flux menu.. I'm MIA at the moment though, net connection probs

ps: I didn't know about that gedit thing... that's so cool!

would you have to do this too?

gedit filename.txt &

(note the &)

Last edited by mymojo; 12-07-2003 at 01:31 AM.
 
Old 12-07-2003, 02:14 AM   #4
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
does anyone have any good fluxbox init scripts?
 
Old 12-07-2003, 02:18 AM   #5
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Quote:
Originally posted by mymojo
w00t! it's the BEST editor. and yes, I have fiddled with the flux menu.. I'm MIA at the moment though, net connection probs

ps: I didn't know about that gedit thing... that's so cool!

would you have to do this too?

gedit filename.txt &

(note the &)
You don't have to use the &. The & is handy though, because it allows you to run that process (gedit or whatever) in the background of that terminal, leaving it free for other commands. But, if you close that term out, whatever apps you started with it will close as well. You can drop the extention (.txt) and just include the filename when starting it.

Last edited by Scruff; 12-07-2003 at 02:25 AM.
 
Old 12-07-2003, 02:22 AM   #6
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Quote:
Originally posted by stuNNed
does anyone have any good fluxbox init scripts?
I'm not quite sure what you mean, but here is my .xinitrc which starts fluxbox for me:

scruff@dabasement:~$ cat .xinitrc
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# Start the window manager:
exec /usr/X11R6/bin/fluxbox &

wmsetbg custom_shit/wallpaper/flux.jpg
gkrellm

The & after the 'start the window manager' allows the script to continue on to set my background, start gkrellm, or whatever else I want to start automatically.
 
Old 12-07-2003, 08:08 AM   #7
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Scruff
You don't have to use the &. The & is handy though, because it allows you to run that process (gedit or whatever) in the background of that terminal, leaving it free for other commands. But, if you close that term out, whatever apps you started with it will close as well. You can drop the extention (.txt) and just include the filename when starting it.
Ah, didn't think of that. What's a good way of starting apps then? Like, how do the desktop icons work? And the panel ones - and fluxbox menu? Is there a way to call them from the terminal, but not "run" the program through the terminal depending on them?
 
Old 12-07-2003, 08:34 AM   #8
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
I guess the best way to start apps is however you feel most comfortable. I have many of my favorite apps in my Flux menu, and some I start from a terminal. Sometimes I start an app in a term even when it's listed in my Fluxbox menu. Just depends on what I have going on. Personally I don't use icons. I always felt they cluttered up my desktop (even when I was using Windows) and preferred an organized menu instead. But to each his own.

Panel/icons/menus work pretty much the same way. If you right click one, you can usually see the command it runs to start whatever app their related to. Starting one this way keeps it independant of any virtual terminal you might be using. Any application started from a terminal will depend on that terminal, except for a "daemon". Daemon's are processes that become independant regardless of how they start, and continue to run in the background until stopped by whatever method: i.e. reboot, kill, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Fluxbox Brother Michael Debian 7 06-22-2004 02:10 AM
Running fluxbox on mandrake 10.0 forrest44 Linux - Software 1 05-25-2004 10:10 PM
Running Grip on Fluxbox? the_rydster Slackware 6 02-20-2004 09:52 AM
running fluxbox chrisknight Linux - Software 7 06-19-2003 03:35 PM
Running Fluxbox on RH 7.2? Scratchmaster Linux - Distributions 10 02-12-2002 01:00 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration