Linux Adventures

A general chat area, here you can post anything that doesn't belong in another forum.
User avatar
Nospike
Keen Minecrafter
Posts: 1402
Joined: Tue Mar 30, 2010 13:56
Location: Czech Republic

Re: Linux Adventures

Post by Nospike »

Nisaba wrote:nevertheless I have some issues configuring dmenu to fire up wine programs like photoshop or even abiathar. ($PATH) any suggestions on that?
Well, the easiest solution is probably to make a bash script that simply execs your Windows program through wine and then pop that script into your bin directory instead.
User avatar
candyjack
Vortininja
Posts: 149
Joined: Wed Nov 30, 2011 21:20
Location: Fribbulus Xax
Contact:

Re: Linux Adventures

Post by candyjack »

Nospike wrote: Tue Jan 31, 2017 17:46
Nisaba wrote:nevertheless I have some issues configuring dmenu to fire up wine programs like photoshop or even abiathar. ($PATH) any suggestions on that?
Well, the easiest solution is probably to make a bash script that simply execs your Windows program through wine and then pop that script into your bin directory instead.
Another option is to make a separate script that scans the Program Files directories for executables, pipes them to grep, and executes the chosen file with wine. Like so:

Code: Select all

#!/bin/bash
wine "$(find $HOME/.wine/drive_c/Program\ Files* | grep exe$ | dmenu -i -l 30)"
There's a lot of clutter, like uninstallation programs, so you have to dig through it each time you launch it, but it requires no maintenance at all. You can either make the above code a script (I call it winemenu) and put that in your $PATH (so that you can access it from dmenu), or you can create a separate key binding for it.

If you never install any new Windows programs, then I admit that Nospike's alternative is more elegant, though.
Math problems? Call 1-800-[(10x)(13i)2]-[sin(xy)/2.362x].
User avatar
Nisaba
Janitress
Posts: 1597
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Linux Adventures

Post by Nisaba »

thanx for your suggestions. there is also an "official" workaround. the i3 config file states:

Code: Select all

# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.

bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# or install j4-dmenu-desktop which is even more than 10x faster:
# bindsym $mod+d exec --no-startup-id j4-dmenu-desktop

this might just be another stupid question, but I was wondering how to implement this feature within the dmenu replacment called rofi. (rice up the look and feel...) Unfortunately my man search attempts weren't very successfully on that topic. most of the time - when coming across issues like this - I'm not asking the right questions, or better: I'm not asking precisely enough. Maybe one of you guys can help me melting down the problem to it's core...


EDIT: typos! it's always typos...
so here's the answer to my question (again open up the i3 config file and add):

Code: Select all

bindsym $mod+d exec rofi -modi drun -show drun
out now (link) : Image
User avatar
Nisaba
Janitress
Posts: 1597
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Linux Adventures

Post by Nisaba »

just came across this superb new way of cleaning the web from nerve wrecking adds.
they call it pi hole. all you need is a Raspberry Pi (your main hardware will work as well), a Debian-based distro, an Ethernet connection, the pi hole script and you are ready go!

Image A BLACK HOLE FOR INTERNET ADVERTISEMENTS
https://pi-hole.net/

make sure to also check this setup tutorial by adafruit.
I haven't had time to test it properly but intend to do so by end of the month. will let you know my experiences soon...
Last edited by Nisaba on Mon Oct 22, 2018 23:03, edited 1 time in total.
out now (link) : Image
Keening_Product
Kuliwho?
Posts: 2167
Joined: Fri Jan 20, 2012 7:02
Location: Tied up in the Oracle Chamber's basement
Contact:

Re: Linux Adventures

Post by Keening_Product »

Please reconsider your usage of that tool. My industry relies on online advertisements, and ad blocking really hurts. If you don't like the ads on a site, don't use the site - it costs money to host and create free web content and that's what the ads pay for. And I haven't even gone into the disrespect you show to content creators by blocking ads.

I will not be debating this. If you want to work for free, go for it, but don't feel you have the right to decide others should have no reward for their work.

Edit: and if anyone actually is going to debate the ethics of theft and disrespecting labour, they should do so in the off topic thread. My response here is only barely relevant.
Keening_Product was defeated before the game.

"Wise words. One day I may even understand what they mean." - Levellass
User avatar
Nisaba
Janitress
Posts: 1597
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Linux Adventures

Post by Nisaba »

don't going to debate on this... just two minor mentions:
  • a) pi hole does provide a white list. so at the end it's up to the users ethics. (user! not consumer)
    b) I myself am a so called content creator as well. the "company" I'm working for is relining on advertisements, too.
some further mentions (hopefully respectful and not too much off topic)
I get what you are saying about disrespect and stuff. and I do respect your opinion on getting valued for the sweat and tears.
on the other hand - as a user - I just want to be treated with respect as well. generally speaking: making money with my personal data I wasn't asked for in the first place, and getting spied on my everyday behavior is a thing I'd like to deny.

and that is the basic is the conflict between both of our positions. what might be proper a way out? only consuming without appreciating someones work? na...

I for myself pay for services I use... real money I must add. for eg.: I pay a monthly fee to my email provider. in return they promise me to respect my privacy. Or let's take Linux, Wikipedia or any other free and open-source software. adequate to my options I donation money or time, which means that I do participate doing some admin stuff in my free time.

with all this being soid, I just wanted to add some colour to our conversation. the future isn't only about theft vs labour. and as you said it before, at the end of the day it's up to everybody's own ethics and personal insights. I see and understand your point and I do hope I could help you understanding mine a little bit better. If you or anybody else want to add something to the discussion, let's take Keening_Products advice and join the off topic thread. but let's keep it Canadian.
out now (link) : Image
User avatar
Nospike
Keen Minecrafter
Posts: 1402
Joined: Tue Mar 30, 2010 13:56
Location: Czech Republic

Re: Linux Adventures

Post by Nospike »

So originally I was planning to install Gentoo on this old a$$ laptop, but it just didn't want to work. Can't blame it, really, in the end I decided that the compile times were just too long. (1.86 GHz Celeron and 512 MB RAM master race, yo)

I ended up downloading Arch in a hurry and it's actually really good. Fast, light, lightning fast install, functional out of the box, all you have to do is install your software. I'm running my usual tiling setup except with bspwm, and it's so good that I'm tempted to switch from i3 on my desktop as well.

Let's hope my enthusiasm stays the same once I unplug this thing and witness the battery life... :crazy
User avatar
Nisaba
Janitress
Posts: 1597
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Linux Adventures

Post by Nisaba »

@Nospike: what's the advantage over i3 in your opinion?
another thing... my windows-key is gone... just gone... my system doesn't recognize it any more. not sure if this is a bad thing or not.
out now (link) : Image
User avatar
Nospike
Keen Minecrafter
Posts: 1402
Joined: Tue Mar 30, 2010 13:56
Location: Czech Republic

Re: Linux Adventures

Post by Nospike »

First of all, bspwm is very much clutter-free. It has a short, simple, concise separate config file for the actual WM itself and another one for the keyboard daemon which facilitates the controls. Right out of the box it has a couple great features that I consider very basic that i3 doesn't even have, including gaps, hotkeys for both SIGTERM and SIGKILL, eyecandy, tons of ways to focus/swap windows based on its tree structure, very good support for floating windows and more. Not to mention how fast it is, for a WM to run so smoothly on the craptop, I'm honestly impressed.
i3 isn't exactly bloated either, but its config is. I'm also put off by the devs' approach where they refuse to implement features and merge pull requests for seemingly primitive stuff like gaps or transparency for i3bar with arguments along the lines of "too hard, no way we're doing this". This is why almost nobody uses the original i3 in favor of airblader's great i3-gaps, which offers way more extra features than just gaps.

Edit: Here's an early sneak peek of this little laptop that could. Obligatory neofetch and bitmap font included. http://imgur.com/INRHe31
Keening_Product
Kuliwho?
Posts: 2167
Joined: Fri Jan 20, 2012 7:02
Location: Tied up in the Oracle Chamber's basement
Contact:

Re: Linux Adventures

Post by Keening_Product »

I've been meaning to make a smol partition on my craptop (admittedly newer than yours) for Arch, and I might just give that window manager a go too. I did somewhat enjoy i3 when I had it a while back and Arch looks like it could be incredibly lightweight.

I'm glad to see there is some provision for floating windows too. (Yes, I know i3 has that too.)
Keening_Product was defeated before the game.

"Wise words. One day I may even understand what they mean." - Levellass
Monstertomete
Grunt
Posts: 6
Joined: Sat Mar 18, 2017 8:24

Re: Linux Adventures

Post by Monstertomete »

I know, it's an old thread, but I may suggest to use Linux Mint. I use it as my Main OS and it''s useable for almost everything, except playing several games...
Keening_Product
Kuliwho?
Posts: 2167
Joined: Fri Jan 20, 2012 7:02
Location: Tied up in the Oracle Chamber's basement
Contact:

Re: Linux Adventures

Post by Keening_Product »

Welcome to the forum, Monstertomete!

The guy who runs the computer repair shop I do some work for puts Mint or OpenSUSE on customer laptops. Mint has some really great reviews, I've just never used it myself. Maybe I should. What were your reasons for picking Mint in the first place?
Keening_Product was defeated before the game.

"Wise words. One day I may even understand what they mean." - Levellass
Monstertomete
Grunt
Posts: 6
Joined: Sat Mar 18, 2017 8:24

Re: Linux Adventures

Post by Monstertomete »

Sorry for late reply, but I often don't have time to awnser allforums.
The main reason for using Mint is that it is quite easy to installl compared to other Linux distributions. All drivers and most needed softwares are included. Another reason is that you have a classic Desktop envrioment compared to other operating systems these days.You have a great easy-to-use package manager and most packages can be installed via deb insteat of using the complicated "make"-packages.
Post Reply