You are not logged in.

#76 2009-11-20 16:50:20

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

Looks good! I'll finish setting up a user-contributed themes page when I get off work.


.:[My Blog] || [My GitHub]:.

Offline

#77 2009-11-20 18:26:50

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: The Console Display Manager

I've finished an other theme but I don't have an idea how to name it.

tMnRjeA

here the rc:

# Set aspect-ration.
aspect = 0

# Shadow dialog boxes? This also turns on color.
use_shadow = OFF

# Turn color support ON or OFF
use_colors = ON

# Screen color
screen_color = (YELLOW,BLACK,ON)

# Dialog box color
dialog_color = (YELLOW,BLACK,ON)

# Dialog box border color
border_color = (YELLOW,BLACK,ON)

# Active button color
button_active_color = (BLACK,BLACK,OFF)

# Inactive button color
button_inactive_color = (BLACK,BLACK,OFF)

# Active button key color
button_key_active_color = (YELLOW,BLACK,ON)

# Inactive button key color
button_key_inactive_color = (MAGENTA,BLACK,OFF)

# Active button label color
button_label_active_color = (MAGENTA,BLACK,ON)

# Inactive button label color
button_label_inactive_color = (YELLOW,BLACK,OFF)

# File position indicator color
position_indicator_color = (YELLOW,BLACK,ON)

# Menu box color
menubox_color = (YELLOW,MAGENTA,ON)

# Menu box border color
menubox_border_color = (YELLOW,MAGENTA,ON)

# Item color
item_color = (YELLOW,MAGENTA,OFF)

# Selected item color
item_selected_color = (YELLOW,BLACK,OFF)

# Tag key color
tag_key_color = (YELLOW,MAGENTA,OFF)

# Selected tag key color
tag_key_selected_color = (YELLOW,BLACK,OFF)

# Up arrow color
uarrow_color = (YELLOW,MAGENTA,ON)

# Down arrow color
darrow_color = (YELLOW,MAGENTA,ON)

Offline

#78 2009-11-20 18:36:18

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

I've got a temporary page set up here.

Also named that second theme for you...


.:[My Blog] || [My GitHub]:.

Offline

#79 2009-11-20 18:46:55

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: The Console Display Manager

Thanks.

Why Haze?

Last edited by Andrwe (2009-11-20 18:47:21)

Offline

#80 2009-11-20 20:04:17

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

Because when i looked at the bright purple dialog on a black background the first thing i thought was "Purple Haze", but since it's not all purple I just left it as Haze tongue


.:[My Blog] || [My GitHub]:.

Offline

#81 2009-11-20 20:24:45

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: The Console Display Manager

Ah, that's nice. I like it. smile

Offline

#82 2009-11-21 11:02:53

gajo
Member
Registered: 2008-04-01
Posts: 93
Website

Re: The Console Display Manager

Andrwe wrote:

^^
I know it is odd but hey there are users in front of a computer who doesn't know how to turn it on/off.
So there can also be users who use this scenario.

hey! i have every right to be retarded
anyhow, after removing it from /etc/init.d/ (which is like arch's /etc/rc.d iirc tongue) it just works normally when i login to tty1, it doesn't seem to work for other ttys, ill try to figure that out later;
and i need to fix shutdown and other stuffs,  considering i don't use sudo or have shutdown privileges
edit: or i could just read the 2nd line in /etc/profile.d/cdm-profile.sh tongue
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    cdm
    exit
fi
any particular reason you're restricting it to just tty1? i assume it would make sense to restrict it just to ttys so you don't get it when you do an ssh login or something, but i think ill add more tty devices

Last edited by gajo (2009-11-21 11:17:20)

Offline

#83 2009-11-21 17:52:10

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

I'm still debating how to handle other tty's, a cleaner solution should be in the next release. In the meantime, there's an option in the rc file to disable shutdown (or change the command) you know...


.:[My Blog] || [My GitHub]:.

Offline

#84 2009-11-21 19:39:42

gajo
Member
Registered: 2008-04-01
Posts: 93
Website

Re: The Console Display Manager

yeah, i noticed the option, i just ended up installing and configuring sudo

Offline

#85 2009-11-21 20:05:37

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: The Console Display Manager

i wanted to add suspend, and found no clean way to do this in the shutdown menu, so i just replaced reboot with suspend in /usr/bin/cdm wink migh be nice to add a suspendcommand too.

Offline

#86 2009-11-21 20:31:35

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: The Console Display Manager

You could add suspend in the normal menu.

Offline

#87 2009-11-21 20:50:17

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: The Console Display Manager

Andrwe wrote:

You could add suspend in the normal menu.

yes, but it belongs in the shutdown menu wink

Offline

#88 2009-11-21 20:57:12

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

i don't use suspend, what's the necessary command and/or dependencies?


.:[My Blog] || [My GitHub]:.

Offline

#89 2009-11-21 21:06:39

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: The Console Display Manager

Ghost1227 wrote:

i don't use suspend, what's the necessary command and/or dependencies?

default is just 'sudo pm-suspend'
you could add hibernate too (sudo pm-hibernate), but i cannot test it since i never set it up in my notebook.

provided by pm-utils

Offline

#90 2009-11-22 02:53:48

heimdal
Member
Registered: 2009-06-25
Posts: 27

Re: The Console Display Manager

I like where CDM is going, I use it, now if only I did enough bash scripting to help... Keep up the good work. Might play my hand at themes... if thats all right.

Offline

#91 2009-11-22 03:00:08

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

@heimdal: Thanks! And by all means, I actually sent out a call for themes a few days ago.

Everyone else... Both a failsafe in the startup script and the much-sought suspend option (configurable as always) are in the -git version of CDM and will be in the stable version I intend to release within the next day or so.


.:[My Blog] || [My GitHub]:.

Offline

#92 2009-11-22 05:04:28

brandon88tube
Member
Registered: 2009-11-06
Posts: 84

Re: The Console Display Manager

I'm curious, since this seems to be console based is there no hopes of there being actual images for the login screen?

Offline

#93 2009-11-22 05:08:19

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

Sure there is. Framebuffer graphics could be implemented for such graphics (using fbterm or similar). However, as of now I have no intention of adding this officially.


.:[My Blog] || [My GitHub]:.

Offline

#94 2009-11-22 10:14:12

FSX
Member
Registered: 2009-08-06
Posts: 57

Re: The Console Display Manager

Can't install CDM from the AUR. Your site seems to be down, Ghost1227.

Offline

#95 2009-11-22 14:10:21

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

I'm aware of that, server maintenance. Install the -git version.


.:[My Blog] || [My GitHub]:.

Offline

#96 2009-11-22 15:53:13

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: The Console Display Manager

So what you do to run this is run it from getty?

Offline

#97 2009-11-23 02:53:48

opothehippo
Member
From: hella norcal bro
Registered: 2009-08-06
Posts: 89

Re: The Console Display Manager

This looks really cool and is exactly what I need.

Previously I have been logging in on the console and typing startx, although now should I type cdm instead? Or is there some way it is supposed to run automatically once I log in?

Also, my .xinitrc contains

xsetroot -cursor_name left_ptr
nitrogen --restore
exec ck-launch-session xmonad

How would I reflect these options if I wanted to start X from cdm?

Last edited by opothehippo (2009-11-23 02:54:13)


Arch x86_64 | XMonad

Offline

#98 2009-11-23 03:07:39

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: The Console Display Manager

opothehippo wrote:

This looks really cool and is exactly what I need.

Thanks! Glad you like it!

opothehippo wrote:

Previously I have been logging in on the console and typing startx, although now should I type cdm instead? Or is there some way it is supposed to run automatically once I log in?

It runs automatically (or should) through a script that's run when you log in through the console.


opothehippo wrote:

Also, my .xinitrc contains

xsetroot -cursor_name left_ptr
nitrogen --restore
exec ck-launch-session xmonad

How would I reflect these options if I wanted to start X from cdm?

Right now, you'd have to add them in by hand. There will be an option in the next stable release of CDM to include running extra applications at startup.


.:[My Blog] || [My GitHub]:.

Offline

#99 2009-11-23 05:06:30

opothehippo
Member
From: hella norcal bro
Registered: 2009-08-06
Posts: 89

Re: The Console Display Manager

Ah, I see how it runs automatically now. I didn't bother to log out or reboot before posting.

Thanks.


Arch x86_64 | XMonad

Offline

#100 2009-11-23 12:36:02

choubi
Member
Registered: 2009-10-08
Posts: 15

Re: The Console Display Manager

I'm still having problems getting two X-sessions (with different users) running - xdpyinfo is complaining about a MIT magic cookie or something - I believe this is because it is not allowed to open the display of another user - worked around this by changing the if test at line 74 to

if `ls /tmp/.X11-unix/ | grep -q ${display}`; then

if Xorg decides to change where and how they define lock files this will break however so there's probably a better solution around.

Offline

Board footer

Powered by FluxBB