Ya just having the button always visible would make me 90% satisfied. Its just trying to make things "smart" but not being able to plan for all contingencies which makes it annoying. Would be better to have the option to hide it sometimes like how the Downloads toolbar icon can be either way.
I found an add-on a while ago that put a permenent button, but only for certain languages which the add-on also supported. It had some weird behavior but surely improvement. Its on a different computer I don't have access to right now to tell you which one. It was from a related/forked project to the Translations.
No Chinese works as well as any other language for the actual translation. Here is the example link:
I have found the same issue for various European languages. It's just today I was trying to read some Chinese stuff so that's the example I picked.
I can't manage to find a list of currently supported languages from Mozilla though certainly there must be one. It seems like some Asian languages were added to the non-mainline releases earlier this year. I am using Developer on linux and it has way more languages than the original 10 or so Translations rolled out with. I also see Japanese, Greek, Arabic, Korean and a few Cyrillics in there using non-latin alphabets. So they seem to have overcome whatever the barrier was. :)
I don't know why Mozilla is shy of promoting this feature; it's so killer.
I find Firefox Translator doesn't pick up a lot of pages. The location bar button doesn't appear.
It works if I access via the hamburger menu. It is very slow to have to go via the menu for each individual page. I find no shortcut key or anything.
Sometimes this will correctly guess the original language but often not. It is saying pages are English even when they have little to no english, even using different alphabets.
Is there something the website admins can do to tell firefox what language it is? Encoding? Meta tag?
Can I force the location-bar translate button to persist on all pages regardless of what language it thinks the page is in? Then I could save going through the menu.
I have a lowend netbook with debian-type linux only (no dualboot). Power management should be via XFCE4's xfce4-power-manager-settings.
I'm having weird behavior with suspend and trying to identify/troubleshoot it. It seems to be usually draining power and never charging when the lid is closed for many hours.
I tried explicitly entering power off, hibernate and suspend followed by unplugging then leaving it a few hours but couldn't replicate. It seems to be doing something on its own after being unplugged a long time.
What logs can I look at to see when my device changes its power modes, what were the triggers, what settings are governing it etc?
I can't tell if it's a software issue or there is some sort of power saving thing going on in the hardware or what.
Just hoping for some investigation tips here, I know its not enough info to solve.
Since I started learning enough about computers that I have a reason to be hanging out in forums and issue trackers I've really changed the way I think about tech problems.
From feedback given to me, and to others, and from general posting guidelines, I learned to be more systematic about looking for answer. Going through the process of writing out in full what happened can clarify things. I often start writing a question, never to post it because it gets solved half way through. Assemble the logs. Check the environment isn't wonky somehow. Upgrade everything. Check the docs. Check the latest release notes. Verify the details.
I've always been comfortable with the software side of computers but I have a lot more confidence lately because of all this. But I never would have been able to learn it on my own. Equally important as the thinking is that I know I can lean on community members to help me get through those cognitive bottlenecks. By reading the vast archives of prior discussions and problem solving, and occasionally asking my own, or even answering if possible, I'm getting smarter at my areas of interest every year.
But I wasn't born knowing that, nor was it kept from me. I got socialized into a certain way of doing and thinking things that is appropriate to these situations. There is no reason why any newcomer would arrive so socialized. So you need to bring them through the process.
Must point out that this essay was published in 2006. World of Warcraft was big 2002-2006 yes? So @jnod4 is mistaken about having grown up on the good old days.
Also mistaken, as you point out, that any such experience can be generalized to the rest of a generation.
I'm not much of a gamer at any stage of life but I feel like there is a ton of modding going on and there are certain games that are very well known for it. I'm sure there are opportunities to get into stuff for younger people.
Tho I do agree with the general sentiment that slick interfaces and anti-hacking legislation really does us all a disservice.
Technology has really slowed down a lot since that time. There is less public investment and corporations sure as shit aren't going to finance all their own R&D. So why bother?
There's no virtue in needlessly cycling through new devices all the time just to satisfy one's own emotions.
lib atomic is something I've heard of vaguely but certainly not anything I use. I couldn't identify any way this file was doing anything outside the ~/.konan dir.
the CSS files there were a few different ones in a couple different Firefox profiles. it's the user customization. But I don't think it should have anything to do with the directory I was asking for.
If I give it a bit more of a hint, telling to look in ~/.config specifically, now I get some (but not all) the links I expect.
I want to move a directory with a bunch of subdirectories and files. But I have the feeling there might be some symlinks to a few of them elsewhere on the file system. (As in the directory contains the targets of symlinks.)
How do I search all files for symlinks pointing to them?
Some combination of find, stat, ls, realpath, readlink and maybe xargs? I can't quite figure it out.
Idk which has worked best. Currently it is running on a debian derivative called "sparky" for no particular reason. As I said, bluethooth magically started working so I'm not changing anything.
I reallystrongly recommend you prioritize a popular distro as a novice user. When you have problems, it will be a lot harder to get help if you are using something obscure. People who are using more common distros won't be able to know if your problem could be due to some oddity of your distro. So they will be more reluctant to offer solutions.
Mint is a really good first choice. And you should just try the thing I suggested about booting from USBs and seeing if networking and other basics work properly.
Only proceed to something like sparky if nothing else works.
The good news about having a device from 2018, is there should be no (few) surprises. Other people will have tried things already. It's a similar benefit as choosing a popular distro.
You are thinking too hard I think in the wrong direction. Use Mint unless you have a strong feeling/need for something else. In which case, use that. Choice of first distro is not really that important. Pick a popular one and if it's wrong for you, you'll figure it out.
What you haven't mentioned is any research you have done regarding hardware support/compatibility for your specific device. I searched the specs you listed and it came up with some netbooks like CB012DX. I actually have an older, shittier version of this device running a debian derivative. (Mint is also in the debian family FYI.) And I've had fun installing various linuxes on even older, shittier chromenetbooks over the years.
Assuming yours is in this ballpark, I have one really important piece of advice for you. Before you think anymore about it, download ISOs of your top 1 or 3 distro choices, flash them to USB and attempt to boot. These super cheap devices cut corners on components. It is not unlikely that you will have some hardware that either doesn't have open source drivers, or has some sort of theoretical support that will be too esoteric for you to implement at your current skill level.
It is quite common on these devices that everything works fine except networking or something like that. So you might be able to exclude some of your choices based on that. Try to find a distro that works reasonably well out of the box.
You should find the various names your device goes by
As you have probably read, booting from a flashed USB is non-destructive of you normal system (unless you choose to format your disk or something of course). Assuming you have no issues booting, try out all the hardware features you have like: trackpad (different kinds of click, drag, zoom etc), ethernet, wireless (2.4 + 5ghz network), bluetooth, speakers, headphones, external input device, external displays, fingerprint scanner, touch screen, all keys and buttons, cameras, mics, sensors, keyboard lights. Any external devices you like to use: mice, keyboards, dongles, should also be included. I suggest making a list and systematically checking each item.
You can use this amazing tool called ventoy to flash one USB boot drive to have multiple distros available. You can even keep a windows ISO on there. It will even let you reserve a portion of the disk for persistent storage. Ventoy substantially improves this whole process so you don't have to have 10 different USB disks floating around. It is well designed and straight forward to use.
So on my current netbook, I was lucky that networking has been no problem. people with a slightly different model have to use an external wifi dongle (and not all wifi dongles are compatible with linux). I have never gotten anything form the speakers, but they might have arrived broken, apparently it's pretty easy to blow out the speakers and I didn't test while ChromeOS was still installed. Using an arch-based distro, the touch screen worked but now in Debian it doesn't. I don't really care about that. I really wanted Bluetooth to work and I couldn't for the longest time til one day it just magically solved itself and I haven't reinstalled since then because I am not sure I'd be able to re-solve it.
The other piece of advice has to do with storage. Depending what software you run, it can require a bit of space. 64gb could be gone quickly. This will be somewhat controversial (for good reason) but I always end up devoting the full eMMC to the system partition and having a permanently mounted SD card for /home, user storage and maybe even some of the system temp directories. This goes against common advice because SD cards are more prone to failure. So you need to have a good backup plan or just accept the risk. But if you run out of storage space on your system drive you can get yourself into the kind of mess that requires reinstalling.
In terms of both storage and RAM/CPU use, you will want to be extremely judicious of you application use. Firefox is a beast on any operating system.If you like to have a bunch of hungry tabs going on, you can't really optimize the OS.
We're trying to have an intelligent discussion here.
You think every Lemmy admin should be forced to fed with CSAM instances, and therefor host on their own servers CSAM? Wow great plan you have for expanding the fediverse.
I have 2 directories which both have stuff in them:
/home/user/folderApple
/mnt/drive/folderBanana
I want to mount folderBanana onto folderApple like this:
undefined
sudo mount --bind "/mnt/drive/folderBanana" "/home/user/folderApple"
But I still want to be able to access the contents of folderApple while this is activated. From what I am reading, binding the original directory to a new location should make it available, like this:
undefined
mkdir "/home/user/folderApple-original"
sudo mount --bind "/home/user/folderApple" "/home/user/folderApple-original"
But this just binds /mnt/drive/folderBanana to /home/user/folderApple-original as well. I tried reversing the order and result is the same.
How do I tell mount to look for the underlying directory?
I am happy to use symlinks or something else if it'll reliably get the job done, I am not wedded to this mechanism.
(The purpose of all this is that when an external drive is connected, I can have the stor
Is there anyway to pass terminal colors through a pipe?
As a simple example, ls -l --color=always | grep ii.
When you just run the ls -l --color=always part alone, you get the filenames color coded. But adding grep ii removes the color coding and just has the grep match highlighting.
Screenshot of both examples:
In the above example I would want ii.mp3 and ii.png filenames to retain the cyan and magenta highlighting, respectively. With or without the grep match highlighting.
Question is not specific to ls or grep.
If this is possible, is there a correct term/name for it? I am unable to locate anything.
Once again I try to get a handle of my various dotfiles and configs. This time I take another stab at gnu stow as it is often recommended. I do not understand it.
Here's how I understand it: I'm supposed to manually move all my files into a new directory where the original are. So for ~ I make like this:
Some packages install in under a minute, while alternatives which seem functionally similar, take hours.
Sometimes there are several available options to fit a use case and I would like to use it now. Is it possible to anticipate which one will likely be the fastest to get rolling?
Generally I like to install via yay.
Searching around here is what I learned. Agree?:
AUR will be slower
Certain categories of package, like web browser, are inherently slow
Selecting -bin will be faster if available
Is there some way to guess beyond that? Certain programing languages take longer than others? Is it in relationship to existing packages on the system? Other characteristic? Some kind of dry-run feature to estimate?
Obviously I don't have the fastest computer. I have added MAKEFLAGS="-j4" to /etc/makepkg.conf so at least all 4 cores can get used.
Once I realize a package is going to take ages to get ready, is it possible to safely intervene to stop the process?
Title is TLDR. More info about what I'm trying to do below.
My daily driver computer is Laptop with an SSD. No possibility to expand.
So for storage of lots n lots of files, I have an old, low resource Desktop with a bunch of HDDs plugged in (mostly via USB).
I can access Desktop files via SSH/SFTP on the LAN. But it can be quite slow.
And sometimes (not too often; this isn't a main requirement) I take Laptop to use elsewhere. I do not plan to make Desktop available outside the network so I need to have a copy of required files on Laptop.
Therefor, sometimes I like to move the remote files from Desktop to Laptop to work on them. To make a sort of local cache. This could be individual files or directory trees.
But then I have a mess of duplication. Sometimes I forget to put the files back.
Seems like Laptop could be a lot more clever than I am and help with this. Like could it always fetch a remote file which is being edited and save it l
For a given device, sometimes one linux distro perfectly supports a hardware component. Then if I switch distros, the same component no longer functions at all, or is very buggy.
Does anyone else find javascript/electron-based code editors confusing? I can never understand the organization/hierarchies of menus, buttons, windows, tabs. All my time is spent hunting through the interface. My kingdom for a normal dialogue box!
I've tried and failed to use VSCodium on a bunch of occasions for this reason. And a couple other ones. It's like the UI got left in the InstaPot waaaay too long and now it's just a soggy stewy mess.
Today I finally thought I'd take the first step toward android development. Completing a very simple hello world tutorial is proving to be challenging just because the window I see doesn't precisely correspond to the screenshots. Trying to find the buttons/menus/tools is very slow as I am constantly getting lost. I only ever have this in applications with javascript-based UIs
I just noticed that eza can now display total disk space used by directories!
I think this is pretty cool. I wanted it for a long time.
There are other ways to get the information of course. But having it integrated with all the other options for listing directories is fab. eza has features like --git-awareness, --tree display, clickable --hyperlink, filetype --icons and other display, permissions, dates, ownerships, and other stuff. being able to mash everything together in any arbitrary way which is useful is handy. And of course you can --sort=size
I just noticed that eza can now display total disk space used by directories!
I think this is pretty cool. I wanted it for a long time.
There are other ways to get the information of course. But having it integrated with all the other options for listing directories is fab. eza has features like --git-awareness, --tree display, clickable --hyperlink, filetype --icons and other display, permissions, dates, ownerships, and other stuff. being able to mash everything together in any arbitrary way which is useful is handy. And of course you can --sort=size
Question: Is there any auto-correct that works globally in all (or at least, many) applications? Particularly non-terminal. So for example firefox (like this text box I'm typing into), chat, text editors, word processors etc?
Example: I often type "teh" when I meant "the". I would like to have that change automagically.
I'm sure somewhere in my life (not in linux --- maybe on mac?) I had the ability to right click on a red-underlined misspelled word in any application and select "always change this fix this to.." and then it would.
Autokey is the only close suggestion I can find. But I guess you have to tell it about every single replacement through the configuration? Are there any pre-made configurations of common misspellings?
How is the performance if you end up with dozens, hundreds, of phrases for it to look out for?
Not looking for: a code linter, command line corrections or grammerly which are the suggestions I have found when searching.
I have a multiple user linux system. Well actually a couple of them. They are running different distros which are arch-based, debian-based and fedora-based.
I want to globally use non-executable components not available via my system's package manager. Such as themes, icons, cursors, wallpapers and sounds.
Some of them are my own original work that I manage in git repos. Others are downloaded as packages/collections. If there is a git repo available I prefer to clone because it can theoretically be updated by pulling. And sometimes I make my own forks or branches of other people's work. So it's really a mix.
I want to keep these in a totally separate area where no package manager will go. So that it is portable and can be backed up / copied between systems without confusion. Which is why I don't want to use /usr/local.
I also want to be able to add/edit in this area without su to root. So that I can easily modify or add items which then can be accessed by all users. Also
I am forced to use some proprietary software at work. The software lets users export custom functionalities. You can then share these to other users. I have made some that are pretty simple, but greatly enhance the use of the application using its native tooling.
I'd like to share mine under some sort of open source licence rather than being ambiguous. Mostly to spread awareness of the concept of open source which is at approximately 0% right now.
What are the considerations here? Can I use the GPL or is it inherently out of compliance since you need a proprietary software to run it?
The employer doesn't claim any intellectual property rights over my work product. I'm not able to find anywhere that the proprietary vendor does either. But I haven't gone through everything with a fine tooth comb. What language would I be looking for?
Advice appreciated. Obviously it can only be general as many details are missing. I just don't understand the details of licences very well.
I accidentally removed a xubuntu live usb from the computer while it was running but it seems to be working just fine. I can even launch applications that werent already open.
Is that expected? I have always thought you need to be careful to avoid bumping the usb drive or otherwise disturbing it.
Where is everything being stored? In RAM? Is the whole contents of the usb copied into RAM or just some parts?
Edit: tried it with manjaro and it fell apart. All kinds of never before seen errors. Replacing the usb didnt fix it. Couldnt even shut down the machine, had to hard power off.
I've been using manjaro for a couple of years and I really like it. especially the wide variety of packages available. Recently been using yay to find/install.
I prefer to run FLOSS packages when they are available. But I do not find a convenient way to preferentially seek these out. Even to know what licenses apply without individually researching each specific package.
It does not seem to be possible to search, filter or sort based on license in the web interface for packagegs or AUR. I do not find anything about it in man pacman(8) or man yay(8).
The only way I have found to find license info from the terminal is using expac. You can use %L to display the license. I guess you could combine this in a search to filter, similar to
I really like advance find and replace in kate editor. You can optionally use regex and operate on multiple files.
Very importantly it has a robust preview changes ability. it is comfortable to use even with lots of hits, lots of files. So you do not need to apply a bunch of changes and hope you considered every permutation as with a cli tool like sed.
One thing that would really improve my life would be a tool like this which allows you to save search queries and options.
Don't work for me:
Kate has a popup for history in the fields which is somewhat helpful but limited. When trying out different queries you don't have a way to remember which one actually worked so going by the history just ends in repeating the same errors over and over. Also it doesn't match the "find" and "replace" fields nor does it associate them with the other options like directory, etc.
Anytime I search for an addon via the search box in settings > add-ons manager I get all these theme results. Here is a search for "syntax" (via the add-ons manager) I had to make it very zoomed-out to fit long page into screen cap:
I use themes personally to visually differentiate between profiles. And I have nothing against fun and frivolous user customizations. Am not hating on the concept.
I am curious about why they are so aggressively pushed so that they show up be default when trying to search for add ons you need to toggle off every time. Searching for an add-on to do something and searching for a theme that has some keyword included seem to me like totally different tasks and mixing them up is a strange choice.
Is this like a major things firefox thinks people like about it? Do people like it?
I am interested to learn about getting input for my scripts via a GUI interface. It seems that yad (forked from zenity) is the most robust tool for this. (But if there is a better choice I would like to hear about it too.)
Is it possible to obtain 2 or more named variables using yad? Not just getting the values based on their positions ($1, $2, etc), with awk. See "What doesn't work" spoiler for those.
::: spoiler What doesn't work
I find how to obtain one named variable, for example: