Lean and mean XFCE 15

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rmcellig
Level 4
Level 4
Posts: 235
Joined: Sat May 28, 2011 11:47 am

Lean and mean XFCE 15

Post by rmcellig »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
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

Re: Lean and mean XFCE 15

Post by Spec-chum »

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: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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

Re: Lean and mean XFCE 15

Post by Spec-chum »

What DM are you using? Exactly how are you starting openbox?
rmcellig
Level 4
Level 4
Posts: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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

Re: Lean and mean XFCE 15

Post by Spec-chum »

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

Did you try adding the autostart file as above?
rmcellig
Level 4
Level 4
Posts: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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
CapitalG

Re: Lean and mean XFCE 15

Post by CapitalG »

a mint openbox would be epic! :mrgreen:
Spec-chum

Re: Lean and mean XFCE 15

Post by Spec-chum »

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

Re: Lean and mean XFCE 15

Post by Spec-chum »

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: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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: 235
Joined: Sat May 28, 2011 11:47 am

Re: Lean and mean XFCE 15

Post by rmcellig »

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
CapitalG

Re: Lean and mean XFCE 15

Post by CapitalG »

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

Re: Lean and mean XFCE 15

Post by Spec-chum »

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.
Locked

Return to “Xfce”