LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2003, 03:37 PM   #1
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Rep: Reputation: 30
FluxBox question...


I searched for 30 minutes for something to help me out, and i didn't find anything, so I thought i would ask. I just installed FluxBox because I wanted to try it out. It seems to have installed fine, because i can get to it through Failsafe. My question is, how can i get it into the session list in gdm?
 
Old 09-07-2003, 03:54 PM   #2
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
doesn't gdm has a config file somewhere in /etc/X11 dir?

I don't use gdm. Just fluxbox. I have put it in the ~/.xsession file and my X startx right into fluxbox.
 
Old 09-07-2003, 04:24 PM   #3
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Original Poster
Rep: Reputation: 30
well, it does have the gdm.conf file, but i don't see where to add anything to the sessions.
 
Old 09-07-2003, 04:50 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Keep searching, young Jedi :)

/usr/etc/gdm/Sessions

At least that's where they live in Slack 8.x
(not that I use gnome, or gdm, for that matter ;})


Cheers,
Tink
 
Old 09-07-2003, 04:54 PM   #5
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Original Poster
Rep: Reputation: 30
in Slack 9 it's in /etc/X11/gdm/Sessions.. but i go in there and i don't exactly know which one to edit. i think i'm figuring it out. but if you know exactly what to edit, it could sure make my editing a lil less painful and faster.
 
Old 09-07-2003, 05:07 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Copy one and then edit, rather than editing
an existing one.

In Slack 8.1 the directory described by you
is just a symlink ... :)

Cheers,
Tink
 
Old 09-07-2003, 05:44 PM   #7
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Original Poster
Rep: Reputation: 30
i tried the copy and edit thing, and didn't get it to work, i'm on FluxBox right now, but i did the .xsession thing in your home directory, so when you startx it goes right to FluxBox,.. i'll try again with the editing though. thank you for your help.
 
Old 09-07-2003, 07:18 PM   #8
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
Each file in the gdm/Sessions directory is added to the session list by default if it is an executable login script (Remember that it has to be flagged as executable). By default in Slackware 9, these scripts call the xdm/Xsession script. It doesn't have to work this way, but if you set it to work this way, you must also add the session to the xdm/Xsession script. The alternative is to have the line that calls the Xsession script simply call the window manager instead, but you may also need to add some other lines to handle things that you want done that the Xsession script would otherwise take care of. If you have a .xsession script in your home directory that does what you want, you could probably just add the contents of it where the default scripts just call the xdm/Xsession script.
 
Old 09-07-2003, 11:24 PM   #9
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Original Poster
Rep: Reputation: 30
ok, how do you flag it as executable? i made the file and got it in Xsession, but i don't know how to flag it as an executable file so it shows up.
 
Old 09-07-2003, 11:57 PM   #10
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 32
chmod a+x filename

that will give allusers execute privelidges on filename. for more information look into the man page for chmod
 
  


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
Fluxbox 0.9.13 Question 64bitPlaya Linux - Software 1 11-15-2005 09:15 AM
fluxbox question sigeberht Linux - Software 2 06-27-2004 11:51 AM
Fluxbox question MasterKin8T Linux - Software 4 07-24-2003 05:43 PM
Fluxbox question Dalmuti Linux - Software 1 03-29-2003 03:28 PM
fluxbox question php Linux - General 1 07-17-2002 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration