Lean and mean XFCE 15

Forum rules
Before you post please read how to get help
Post Reply
rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Lean and mean XFCE 15

Post by rmcellig » Mon Jul 29, 2013 5:21 pm

I have this version installed on my iMac in a seperate partition and it works great! Now I want to make it even leaner. I installed Openbox, Nitrogen and Tint2. So far the only way I can launch them is from the command line. How do I have tint2 and nitrogen start up automatically when I log back in in the Openbox DE?

I have Crunchbang 11 installed in a seperate partition as well. There is one thing it doesn't do that Mint 15 does and that is record properly from the Audio Line-In port. Therefore, I want to make my Mint 15 as close as possible in terms of functionality as Crunchbang. Lean and fast.
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Tue Jul 30, 2013 8:01 am

If you use

Code: Select all

exec openbox-session
in .xinitrc you can just add anything you want to autostart in openbox to

Code: Select all

~/.config/openbox/autostart
Just remember to put '&' after them:

Code: Select all

tint2 &
nitrogen --restore &
Last edited by Spec-chum on Tue Jul 30, 2013 11:05 am, edited 1 time in total.

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 9:03 am

Thanks! I was looking for the autostart file but I don't have one. Do I just create new one? Or maybe I can copy the one from my Crunchbang partition over and modify that. Same goes for the initrc file. Isn't that in my home directory? I can view all my hidden files.
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Tue Jul 30, 2013 10:58 am

What DM are you using? Exactly how are you starting openbox?

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 11:15 am

When I log into Mint 15 xfce, I select Openbox from the drop down menu. Once booted in, I fire up a couple of terminals. One for tint2 an the other for nitrogen.
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Tue Jul 30, 2013 11:46 am

OK, so I'm guessing you're using MDM?

Did you try adding the autostart file as above?

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 12:24 pm

I couldn't find the .xinitrc file so I could edit it.
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

User avatar
CapitalG
Level 3
Level 3
Posts: 101
Joined: Wed Sep 21, 2011 4:02 am

Re: Lean and mean XFCE 15

Post by CapitalG » Tue Jul 30, 2013 12:39 pm

a mint openbox would be epic! :mrgreen:

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Tue Jul 30, 2013 12:48 pm

rmcellig wrote:I couldn't find the .xinitrc file so I could edit it.
You don't need one if you're using MDM, that's not the file you need to edit.

Create/edit this one:

Code: Select all

~/.config/openbox/autostart

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Tue Jul 30, 2013 12:53 pm

CapitalG wrote:a mint openbox would be epic! :mrgreen:
What's stopping you? :)

rmcellig is halfway there already!

Go for it, everything you need is in the repos...

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 12:56 pm

Sorry but what does MDM mean again?

Here is my autostart file that I took from Crunchbang and I know I will have to edit it.

Code: Select all



## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour
hsetroot -solid "#2E3436" &

## Group start:
## 1. nitrogen - restores wallpaper
## 2. tint2 panel
(\
nitrogen --restore && \
sleep 2s && \
tint2 \
) &

## Volume control for systray
(sleep 2s && pnmixer) &

## Volume keys daemon
xfce4-volumed &

## Enable power management
xfce4-power-manager &

## Start Thunar Daemon
thunar --daemon &

## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
fi

## Start xscreensaver
xscreensaver -no-splash &

## Start Clipboard manager
(sleep 3s && clipit) &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &

## Turn on/off system beep
xset b off &

Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 2:01 pm

Yes I am using MDM. You mean the login window that comes up on system startup?

I see a list of options and one of them is Openbox. That's the one I select.
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

rmcellig
Level 4
Level 4
Posts: 226
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig » Tue Jul 30, 2013 2:18 pm

I just restarted into my Openbox session and it works great! Now what I want to do is increase the mouse size.

In Crunchbang, I put this in the .xresources file:

Xcursor.size: 60

Would I do the same in Mint to get the same effect?
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM

User avatar
CapitalG
Level 3
Level 3
Posts: 101
Joined: Wed Sep 21, 2011 4:02 am

Re: Lean and mean XFCE 15

Post by CapitalG » Wed Jul 31, 2013 10:12 pm

Spec-chum wrote:
CapitalG wrote:a mint openbox would be epic! :mrgreen:
What's stopping you? :)

rmcellig is halfway there already!

Go for it, everything you need is in the repos...
openbox takes a lot of configuring. something like crunchbang or manjaro openbox get you off to a nice start. i would like a openbox mint but ive tried it before and never get it to work like crunchbang.

Spec-chum
Level 1
Level 1
Posts: 48
Joined: Tue May 31, 2011 3:22 pm

Re: Lean and mean XFCE 15

Post by Spec-chum » Thu Aug 01, 2013 5:01 am

CapitalG wrote:
Spec-chum wrote:
CapitalG wrote:a mint openbox would be epic! :mrgreen:
What's stopping you? :)

rmcellig is halfway there already!

Go for it, everything you need is in the repos...
openbox takes a lot of configuring. something like crunchbang or manjaro openbox get you off to a nice start. i would like a openbox mint but ive tried it before and never get it to work like crunchbang.
I've never used {crucnch|arch}bang but I'd be happy to post my rc.xml if anyone's interested. It's got a few tweaks including full window snapping/unsnapping with both keyboard and mouse (unsnapping is my edits in the rc but mouse snapping is via https://github.com/lawl/opensnap on git).

At least then you wouldn't have to start from scratch. Plus I'm more than happy to help anyone set up openbox.

Post Reply

Return to “Xfce”