I want icewm to boot when start antix M11
Now I have to press f1 and select icewm
How to have rox pinboard to turn on at start up
Now I have use menu>desktop>icewm and select pinboard every time I boot
topic title: Antix M11 set start up session
11 posts
• Page 1 of 1
-
Posts: 14
- Joined: 21 Mar 2012
-
Posts: 4,164
- Joined: 20 Feb 2009
#2
It's set in the hidden file ~/.xinitrc in your /home/username section.
I only use fluxbox on this IBM T23 Laptop.
I don't have a icewm roxpinboard entry to post for you. Maybe some one else can show you what line to insert or
cannot-autologin-in-rox-fluxbox-t3145.html
I am guessing the above entry would be the right entry to change to.
I only use fluxbox on this IBM T23 Laptop.
Code: Select all
# The following line gets changed by mepis-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="startfluxbox"
cannot-autologin-in-rox-fluxbox-t3145.html
Code: Select all
# The following line gets changed by mepis-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="startRox-icewm"
-
Posts: 14
- Joined: 21 Mar 2012
#3
Thanks for the reply
I have been working in .xinitrc and changing the lines as you suggested.
What ever changes I make only bring me back to logon screen
I have to f1 and select icewm-session to login to my desktop
As far as roxpinboard start up I have the following script in start up
#!bin/bash
roxpinboard on &
This also is not starting up roxpinboard
I have been working in .xinitrc and changing the lines as you suggested.
What ever changes I make only bring me back to logon screen
I have to f1 and select icewm-session to login to my desktop
As far as roxpinboard start up I have the following script in start up
#!bin/bash
roxpinboard on &
This also is not starting up roxpinboard
-
anticapitalista
Posts: 5,956
- Site Admin
- Joined: 11 Sep 2007
#4
Check these files.
~/.icewm/startup. You need this line.
rox --pinboard=antiX-ice &
~/.xinitrc should look like this:
# The following line gets changed by mepis-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="icewm-session"
Post your .xinitrc for us to see.
~/.icewm/startup. You need this line.
rox --pinboard=antiX-ice &
~/.xinitrc should look like this:
# The following line gets changed by mepis-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="icewm-session"
Post your .xinitrc for us to see.
-
Posts: 765
- Joined: 27 Dec 2011
#5
This is mine, using icewm. I am not sure about the pinboard, but try it anyway...
#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'
# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="icewm-session"
case $1 in
icewm)
sed -i -e 's/fehbgrox-ice/fehbgice/g' ~/.icewm/startup
sed -i -e"s/rox --pinboard=antiX-ice &/#rox --pinboard=antiX-ice &/" ~/.icewm/startup
sh ~/.fehbgice &
exec icewm-session
;;
lxde)
exec startlxde
;;
xfce)
exec startxfce4
;;
dwm)
exec dwm
;;
wmii)
exec wmii
;;
fvwm-crystal)
exec fvwm-crystal
;;
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
openbox)
exec openbox-session
;;
fluxbox)
sed -i -e 's/fehbgrox-fb/fehbgfb/g' ~/.fluxbox/startup
sed -i -e"s/rox --pinboard=antiX-fb &/#rox --pinboard=antiX-fb &/" ~/.fluxbox/startup
sh ~/.fehbgfb &
exec startfluxbox
;;
Rox-fluxbox)
sed -i -e 's/fehbgfb/fehbgrox-fb/g' ~/.fluxbox/startup
sh ~/.fehbgrox-fb &
rox --pinboard=antiX-fb
exec startfluxbox
;;
Rox-icewm)
sed -i -e 's/fehbgice/fehbgrox-ice/g' ~/.icewm/startup
sh ~/.fehbgrox-ice &
rox --pinboard=antiX-ice
exec icewm
;;
*)
exec $XINITRC_DEFAULT
;;
esac
#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'
# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="icewm-session"
case $1 in
icewm)
sed -i -e 's/fehbgrox-ice/fehbgice/g' ~/.icewm/startup
sed -i -e"s/rox --pinboard=antiX-ice &/#rox --pinboard=antiX-ice &/" ~/.icewm/startup
sh ~/.fehbgice &
exec icewm-session
;;
lxde)
exec startlxde
;;
xfce)
exec startxfce4
;;
dwm)
exec dwm
;;
wmii)
exec wmii
;;
fvwm-crystal)
exec fvwm-crystal
;;
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
openbox)
exec openbox-session
;;
fluxbox)
sed -i -e 's/fehbgrox-fb/fehbgfb/g' ~/.fluxbox/startup
sed -i -e"s/rox --pinboard=antiX-fb &/#rox --pinboard=antiX-fb &/" ~/.fluxbox/startup
sh ~/.fehbgfb &
exec startfluxbox
;;
Rox-fluxbox)
sed -i -e 's/fehbgfb/fehbgrox-fb/g' ~/.fluxbox/startup
sh ~/.fehbgrox-fb &
rox --pinboard=antiX-fb
exec startfluxbox
;;
Rox-icewm)
sed -i -e 's/fehbgice/fehbgrox-ice/g' ~/.icewm/startup
sh ~/.fehbgrox-ice &
rox --pinboard=antiX-ice
exec icewm
;;
*)
exec $XINITRC_DEFAULT
;;
esac
-
Posts: 14
- Joined: 21 Mar 2012
#6
Here is the .xinitrc file
The icewm-session was already set
No changes on how I have to login still requires selecting f1 icewm-session
The changes to the start up file using
#!/bin/bash
rox --pinboard=antix-ice &
When executed causes the wallpaper to go solid grey with a home icon in the upper left corner
Using menu>desktop>roxpinboard on/off
Returns desktop to normal setup
Here is the .xinitrc file
The icewm-session was already set
No changes on how I have to login still requires selecting f1 icewm-session
The changes to the start up file using
#!/bin/bash
rox --pinboard=antix-ice &
When executed causes the wallpaper to go solid grey with a home icon in the upper left corner
Using menu>desktop>roxpinboard on/off
Returns desktop to normal setup
-
anticapitalista
Posts: 5,956
- Site Admin
- Joined: 11 Sep 2007
#7
Do you have pb_antiX-ice in ~/.config/rox.sourceforge.net/Rox-Filer ?
-
Posts: 14
- Joined: 21 Mar 2012
#8
These are the entries in pb_antix.ice
Wallpaper and icons are correct
<?xml version="1.0"?>
<pinboard>
<backdrop style="Stretched">/usr/share/wallpaper/Sunset1.jpg</backdrop>
<icon x="52" y="658" label="icedove.desktop">/usr/share/applications/icedove.desktop</icon>
<icon x="54" y="562" label="Thunar.desktop">/usr/share/applications/Thunar.desktop</icon>
<icon x="52" y="404" label="iceweasel.desktop">/usr/share/applications/iceweasel.desktop</icon>
<icon x="58" y="484" label="xchat.desktop">/usr/share/applications/xchat.desktop</icon>
<icon x="52" y="324" label="synaptic.desktop">/usr/share/applications/synaptic.desktop</icon>
<icon x="52" y="244" label="geany.desktop">/usr/share/applications/geany.desktop</icon>
<icon x="44" y="188" label="Terminal.desktop">/usr/share/applications/Terminal.desktop</icon>
<icon x="50" y="112" label="Files">~/</icon>
<icon x="40" y="34" label="Control Centre">/usr/local/bin/antixcc.sh</icon>
</pinboard>
Wallpaper and icons are correct
<?xml version="1.0"?>
<pinboard>
<backdrop style="Stretched">/usr/share/wallpaper/Sunset1.jpg</backdrop>
<icon x="52" y="658" label="icedove.desktop">/usr/share/applications/icedove.desktop</icon>
<icon x="54" y="562" label="Thunar.desktop">/usr/share/applications/Thunar.desktop</icon>
<icon x="52" y="404" label="iceweasel.desktop">/usr/share/applications/iceweasel.desktop</icon>
<icon x="58" y="484" label="xchat.desktop">/usr/share/applications/xchat.desktop</icon>
<icon x="52" y="324" label="synaptic.desktop">/usr/share/applications/synaptic.desktop</icon>
<icon x="52" y="244" label="geany.desktop">/usr/share/applications/geany.desktop</icon>
<icon x="44" y="188" label="Terminal.desktop">/usr/share/applications/Terminal.desktop</icon>
<icon x="50" y="112" label="Files">~/</icon>
<icon x="40" y="34" label="Control Centre">/usr/local/bin/antixcc.sh</icon>
</pinboard>
-
anticapitalista
Posts: 5,956
- Site Admin
- Joined: 11 Sep 2007
#9
Hmm, seems ok. What does /etc/slim.conf show?
You should login with Rox-icewm option for icewm plus icons.
You should login with Rox-icewm option for icewm plus icons.
-
Posts: 14
- Joined: 21 Mar 2012
#10
Rox-icewm from f1 does login and opens pinboard on the desktop
When using Rox-icewm in .xinitrc and not selecting f1 it returns to login
I only included part of slim.conf if you need the whole file please let me know
Does this mean rox-icewm should be first after sessions ??
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions fluxbox,Rox-fluxbox,Rox-icewm,icewm,dwm,wmii,lxde,xfce,fvwm-crystal,kde,gnome,openbox
Thanks for the continued help !!
When using Rox-icewm in .xinitrc and not selecting f1 it returns to login
I only included part of slim.conf if you need the whole file please let me know
Does this mean rox-icewm should be first after sessions ??
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions fluxbox,Rox-fluxbox,Rox-icewm,icewm,dwm,wmii,lxde,xfce,fvwm-crystal,kde,gnome,openbox
Thanks for the continued help !!
-
Posts: 14
- Joined: 21 Mar 2012
#11
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_xserver /usr/bin/X
xserver_arguments -dpi 96 -nolisten tcp
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/urxvt -C -fg white -bg black +sb -T"Console login" -e /bin/sh -c"/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
hidecursor true
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/bash -login /etc/X11/Xsession %session
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option"-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions Rox-icewm,fluxbox,Rox-fluxbox,icewm,dwm,wmii,lxde,xfce,fvwm-crystal,kde,gnome,openbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd scrot /tmp/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg (Press F1 to toggle sessions)
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...
# Focus the password field on start when default_user is set
# Set to"yes" to enable this feature
#focus_password no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX
# Lock file
#lockfile /var/run/slim.lock
# Log file
#logfile /var/log/slim.log
# Automatically login the default user (without entering
# the password. Set to"yes" to enable this feature
#auto_login yes
# default user, leave blank or remove this line
# to avoid pre-loading the username.
default_user
auto_login yes
lockfile /var/run/slim.lock
logfile /var/log/slim.log
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_xserver /usr/bin/X
xserver_arguments -dpi 96 -nolisten tcp
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/urxvt -C -fg white -bg black +sb -T"Console login" -e /bin/sh -c"/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
hidecursor true
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/bash -login /etc/X11/Xsession %session
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option"-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions Rox-icewm,fluxbox,Rox-fluxbox,icewm,dwm,wmii,lxde,xfce,fvwm-crystal,kde,gnome,openbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd scrot /tmp/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg (Press F1 to toggle sessions)
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...
# Focus the password field on start when default_user is set
# Set to"yes" to enable this feature
#focus_password no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX
# Lock file
#lockfile /var/run/slim.lock
# Log file
#logfile /var/log/slim.log
# Automatically login the default user (without entering
# the password. Set to"yes" to enable this feature
#auto_login yes
# default user, leave blank or remove this line
# to avoid pre-loading the username.
default_user
auto_login yes
lockfile /var/run/slim.lock
logfile /var/log/slim.log